|
Prev: FAQ 2.7 Is there an ISO or ANSI certified version of Perl?
Next: use of DBI; I am getting multiple error messages mixed in with?the correct output.
From: Petyr David on 24 Apr 2008 16:07 anyone have an experience using this? The real question: does using this speed the creation of a directory index in Apache significantly? We have directories with thousands of small files. Thanks!
From: J. Gleixner on 24 Apr 2008 17:15 Petyr David wrote: > anyone have an experience using this? > > The real question: > > does using this speed the creation of a directory index in Apache > significantly? We have directories with thousands of small files. It's more likely that it'll be slower because mod_autoindex is written in C and compiled into the Apache daemon, you're not going to get much faster than that. Possibly you could list 500 at a time, or something, which would be faster, however having thousands of files in a directory isn't typically a good design.
From: Petyr David on 24 Apr 2008 20:48
On Apr 24, 5:15 pm, "J. Gleixner" <glex_no-s...(a)qwest-spam-no.invalid> wrote: > Petyr David wrote: > > anyone have an experience using this? > > > The real question: > > > does using this speed the creation of a directory index in Apache > > significantly? We have directories with thousands of small files. > > It's more likely that it'll be slower because mod_autoindex is > written in C and compiled into the Apache daemon, you're not > going to get much faster than that. > > Possibly you could list 500 at a time, or something, which > would be faster, however having thousands of files in a directory > isn't typically a good design. agreed, but the nature of the data forces us to store the files in this fashion so there's some sense of meaningfulness: every file is named and then has a sequential number appended to it - there 64K potential numbers. we might have to start something like breaking it into 1000 files/directory. either way - thanks for your opinion |