Once upon a time, Matthew Miller <mat...@fedoraproject.org> said:
> On Wed, Jan 23, 2013 at 12:00:14PM -0300, Fernando Cassia wrote:
> > <mat...@fedoraproject.org> wrote:
> > > Not for no reason. Directories with a very large number of files place 
> > > undue
> > > strain on the mirrors.
> > can you elaborate on the nature of such ´strain´?. Sounds like an
> > excuse taken straight out of the BOFH excuses dice.
> 
> It's not rocket science. Large directory listings are large.

To expand: when clients browse to a directory, the webserver daemon has
to generate a directory listing (usually sorted, which means the daemon
has to retrieve the whole directory into memory, sort it, and then
generate the HTML to send to the client).  With large directories, that
blocks that webserver process/thread for a noticable time.  A relatively
small number of requests can slow down and/or block other access.

It would be possible to pre-generate the directory listings, maybe even
dynamically regenerating them whenever the directories change, but that
would add significant complication.  Since the largest user of such a
system is mirror servers (most "regular" webservers have directory
listings disabled), and mirror servers represent a very small percentage
of deployed webservers, nobody has done this.

-- 
Chris Adams <cmad...@hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to