[tahoe-dev] 'Client' caching?

Nathan Eisenberg nathan at atlasnetworks.us
Thu Nov 26 19:05:57 UTC 2009


All,

I was able to get mod_proxy/mod_disk_cache to do what I wanted with Apache.  The performance improvements are pretty nice.  I included a benchmark from regular apache/ext3 to provide a baseline.

Test file: 606KB JPG (Tulip.jpg, included with Windows 7)

Time to retrieve file 10 times
Tahoe standalone:	 2.194 seconds
Apache standalone:	0.600 seconds
Tahoe cached: 		0.060 seconds

Transfer Rate
Tahoe standalone:	21 Mbps
Apache standalone:	81 Mbps
Tahoe cached:		791 Mbps

There is nothing complex to the configuration, but I'll provide it anyways.

Vhost configuration file:
<Proxy *>
  Order allow,deny
  Allow from all
</Proxy>
<VirtualHost *:80>
ProxyRequests Off
ProxyPass / http://127.0.0.1:3456/file/
CacheEnable disk /
CacheRoot /var/www/proxy/
CacheDirLevels 2
CacheDirLength 1
CacheIgnoreNoLastMod On
CacheDefaultExpire 3600
</VirtualHost>

Best Regards,
Nathan Eisenberg




More information about the tahoe-dev mailing list