I backport modcache v1.4.2 to lighttpd 1.4.18 as modcache v1.4.3
Changelog:
- fix bug on handle of fetchall-for-range-request option
- new 'flv_streaming' option to work with mod_flv_streaming module
I update examples to demonstrate how mod_cache works with mod_flv_streaming.
Changelog:
- upgrade lighttpd 1.5 to r1922
- put splaytree.c into mod_cache.c
- fix memory leak on handler_ctx usage
- fix memory leak on splaytree_splay usage
Hope you guys like it.
changelog:
- updated to lighttpd 1.5.0 r1811
- status page for mod_status added
- cache.ignore-hostname added
- bugfix for checking cachehd file
mod_cache 1.3 is just released for lighttpd 1.5, no new feature is added. lighttpd 1.5(r1524) is little buggy and isn't as stable as 1.4.13, but it's sure that lighttpd 1.5's performance is beyond 1.4.13:) Please visit homepage for detail and read configuration example for lighttpd 1.5 carefully before use.
一直对服务器、软件的性能优化很有兴趣:从用squid做缓存到编写mod_cache做缓存;从用LVS到用haproxy做负载均衡,都是自发的。昨天在3台P4D 4G内存服务器上部署图片缓存,发现haproxy 经常check 后面的lighttpd失败;而相同配置在两台Xeon 4G内存服务器上没任何问题。折腾1个小时把haproxy的配置按不同域名分配3台服务器,调整不同的httpclose参数,调整lighttpd的配置,取得很好的效果,haproxy check 后面lighttpd都ok。
今天知晓某部门正在采购双CORE 2 DUO CPU,每CPU有4核,再配16G内存的服务器来支撑更大负载。呵呵,硬件的发展已经大大超越了软件的进步,与其耗费人力物力改进软件,还不如买更牛X服务器来的快、轻松。软件优化可以休矣,Xeon P4D靠边站,让C2D来得更猛烈些吧!
mod_cache v 1.2 is released with bug fix only, please visit homepage for details.
Changelog are:
- fix fetch-all-for-range-request handling with http servers except for Apache
- use splaytree instead hash table to avoid collision of Range-Request or Cache Save handling