[Zope] Re: Slow File Access With LocalFS

Jonothan Farr jfarr@real.com
Tue, 27 Jun 2000 10:22:54 -0700


> I'm using LocalFS to reference a large collection of mp3 files. (I figured
> it was probably a good idea not to upload the whole shebang to the ZODB, so
> I just added a LocalFS object to reference the top directory of the
> collection.) When I try to download a file by calling the Zope object (for
> instance, http://zopeserver/LocalFSObject/mp3file.mp3) it takes 30 seconds
> for the average mp3 file to start streaming. Other files, i.e., way smaller
> ones, like 4K playlist files, download very quickly.
>
> Is Zope or LocalFS choking on the large files? Is there some work-around
> I'm missing?

No, it just takes a while to read a very large file and construct the ZObject
(performance patches accepted ;)). It can also take a while to download them but
that should be obvious. How is it that you're "streaming" the mp3 files?

--jfarr