Mailing List Archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Website Question(s)



>>>>> "Lyle" == Lyle Saxon <Lyle> writes:

    Lyle> Is there some kind of limit on the number of .jpg files that
    Lyle> can be in one folder?

You could (theoretically) run out of inodes or space, but that error
would occur at write time, not read time.  Apache doesn't care, for
sure.

If you have a traditional Unix file system, the directory search is
basically linear which can be somewhat slow.  However, this shouldn't
kick in until you've got literally thousands of files, and probably
would not be noticable over the Internet (network latency should be
much higher than file access time).  Modern file systems (Reiser, even
recent versions of ext2) use hash tables which makes the lookup
essentially constant time.


-- 
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links