[tahoe-dev] 'Client' caching?
nathan at atlasnetworks.us
Thu Nov 26 19:05:57 UTC 2009
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
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:
Allow from all
ProxyPass / http://127.0.0.1:3456/file/
CacheEnable disk /
More information about the tahoe-dev