You are not logged in Log in Join
You are here: Home » Members » adytumsolutions » PyCon2004 » InvasionOftheBlob

Log in
Name

Password

 
 

History for InvasionOftheBlob

??changed:
-
Chris checked in changes that allow app code (e.g. foo.index_html) to return a medusa
producer instead of a string. In some cases this is a lot faster. To get it, check out zope 2.7 normally, then in the lib/python/ZServer , ZPublisher, and OFS , do:                                  
cvs up -r chrism-publishfile-branch

Using a file_producer could be a big win for binary data that's already on the filesystem,
e.g. LocalFS, ExtFile, CMF's FSFile...

Paul checked in a FileCacheManager that uses Chris' stuff by caching to the fs, and returning a file_producer from ZCache_get.
see http://cvs.zope.org/Products/FileCacheManager/

Preliminary results: a 4 MB file is 2-3x faster when cached by the FileCacheManager.
(using ab -c 10 -n 20). We have not yet benchmarked very small or very large files.