nginx-patched is a collection of extensions to nginx HTTP server. Currently available are:
- ngx_http_upstream_memcached_hash_module - load balancer to distribute the requests among memcached servers in a cluster specified with memcached_pass directive, in a way compatible with memcached Perl clients Cache::Memcached::Fast and Cache::Memcached.
- memcached_gzip - serving of compressed data directly from memcached, with automatic decompression for clients that can't handle compressed data.
- upstream_keepalive module written by Maxim Dounin. This module implements cache for backend connections. As of now, it may be used with memcached upstreams.
- upstream_count_limit directive - limit number of queried upstream servers in case of error.
Git repository ( browse): git clone git://openhack.ru/nginx-patched.git
Available branches are listed below. There are two ways to get the sources. You may clone git repository to get a local copy of it, and then periodically pull into it from the original repo.
Alternatively you may download a particular snapshot with the links below. See also a quick intro on how to install nginx from sources.
If in doubt, install from master-v0.6 snapshot below.
- master-v0.7 ( snapshot): nginx-v0.7 merged with the above feature branches.
- master-v0.6 ( snapshot): nginx-v0.6 merged with the above feature branches.
- memcached_hash ( snapshot): implementation of ngx_http_upstream_memcached_hash_module.
- memcached_gzip ( snapshot): serve compressed contents directly from memcached.
- gunzip ( snapshot): automatically decompress pre-compressed data for clients that can't accept it compressed.
- upstream_count_limit ( snapshot): limit maximum number of failed backends per request. Currently only works with memcached_gzip.
- next_upstream ( snapshot): support for 502, 503, 504 codes. Deprecated.
- nginx-v0.6 ( snapshot): nginx stable (0.6.x) releases.
- nginx-v0.7 ( snapshot): nginx development (0.7.x) releases.
Mailing list for users and developers:
- Archive: http://list.openhack.ru/Lists/talk/
- Subscribe: talk-on@…
- Unsubscribe: talk-off@…
News
2009-04-27
applied patch fixing bug which left temporary files in proxy_temp_path/fastcgi_temp_path if client closed connection prematurely when using proxy_store/fastcgi_store
2009-04-24
Updated to latest vendor revision 0.7.52 and merged into master-v0.7
2009-03-10
Updated to latest vendor revision 0.7.40 and merged into master-v0.7.
2009-03-03
Updated to latest vendor revision 0.7.39 and merged into master-v0.7.
2009-02-16
upstream_count_limit 0.1 has been released by Kirill A. Korinskiy.
2009-02-07
ngx_http_upstream_memcached_hash_module 0.04 has been released. Fixed a bug when not all servers were used in compatible mode. Improves distribution of servers in Ketama mode (the change requires Cache::Memcached::Fast version 0.14, and is not compatible with previous versions).
2009-02-03
Updated to latest vendor revision 0.7.33 and merged into master-v0.7. Updated to latest legacy vendor revision 0.6.35 and merged into master-v0.6. Fixed serious bug in memcached backend balancer.
2009-01-16
Updated to latest vendor revision 0.7.30 and merged into master-v0.7 . Same with 0.6.x . Added Maxim Dounin patches fixing 404-error bug. Added Maxim Dounin's upstream_keepalive module to repo. This module implements cache for backend connections. As of now, it may be used with memcached upstreams. Thanks George Potapov for the great work and Tomash Brechko for some patches.
2008-06-08
Naming scheme of repository branches has been changed. New stable branch is nginx-v0.6, new development branch is nginx-v0.7. Corresponding feature branches are master-v0.6 and master-v0.7. Branches are updated to nginx-0.6.31 and nginx-0.7.1 respectively.
2008-05-01
ngx_http_upstream_memcached_hash_module 0.03 has been released. It fixes a bug in key distribution in Cache::Memcached compatibility mode. devel and master-v0.6 branches are updated to nginx-0.6.30.
2008-04-05
Added branch master-v0.6 that contains all features merged with the devel (0.6.x) branch.
2008-02-19
ngx_http_upstream_memcached_hash_module 0.02 has been released. It introduces $memcached_namespace variable, to be used together with namespace parameter to Cache::Memcached::Fast.
2008-02-03
Fixed bug that could cause an infinite loop on decompression. Also fixed a bug that appended 8 random bytes to decompressed data. Pull from git repo is recommended if you are using gunzip on.
2008-02-01
memcached_gzip has been released.
2008-01-27
Git repository has been published. ngx_http_upstream_memcached_hash_module 0.01 has been released.
