Jumbo patch for lighttpd 1.5

Per requests from several guys, I made one jumbo patch for lighttpd 1.5(revision 1524). The jumbo patch includes mod_cache v1.3, mod_mem_compress, mod_mem_cache and mod_deflate patch.

Get jumbo patch here

Usage:

wget http://blog.quehy.com/doc/lighttpd-1.5.r1524.jumbo.patch
svn co svn://svn.lighttpd.net/lighttpd/trunk/
cd trunk
sh autogen.sh; ./configure --quiet;make; make distclean
patch -p0 < ../lighttpd-1.5.r1524.jumbo.patch

Keywords: , ,

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.

Keywords: , , , ,

Does optimization matter?

一直对服务器、软件的性能优化很有兴趣:从用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来得更猛烈些吧!

Keywords: , , , ,

Mod Cache V1.2 released

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

Keywords: , , ,

Mod Cache v1.1 released

mod_cache v1.1 is released. Please visit homepage for details.
Changes are:

  • cache.denyurls removed in favor of refresh-pattern's nocache options
  • set proper RFC-compliant expire headers based on refresh-pattern rules and no-expire-header option added
  • PURGE method supported!
    Use 'PURGE /uri HTTP/1.1\r\nHost: www.examples.com\r\n\r\n' to delete cache file of http://www.examples.com/uri.
  • bugfix in update_response_header_by_asis function

Keywords: , , ,

Mod-Cache is around the corner

I plan to release mod-cache v1.0 in next few days. Because of hard-discovered bugs for dynamic content caching, mod-cache v1.0 is expected to be suitable for caching static web page. For better dynamic content caching please wait for ver 2.0 release.

Mod-cache v1.0 has been tested in heavy traffic servers(maxium 200Mbps or more) and I considers it is stable. Final work is document writing;)

Keywords: , , ,

mod_cache documentation

mod_cache's options:

:cache.enable:
"enable" or "disable" cache functions. default to enable

:cache.debug:
"enable" or "disable" to show mod_cache's debug messages. default to disable

:cache.bases:
sets of local directory where mod_cache to store cache file. If multi directories
used, mod_cache try to balance between them by hash. for example: cache.bases =
("/data/lighttpd_cache", "/data1/lighttpd_cache")

显示正文 »

Keywords: , , ,




About

You are currently browsing the 听松一隅 weblog archives.

天气信息


2 页面: [1] 2 下页