ngx_memc: an extended version of ngx_memcached that supports set, add, delete, and many more commands

agentzh agentzh at gmail.com
Sun Dec 6 13:26:53 MSK 2009


Hi, folks!

I'm happy to announce the first release of the ngx_memc module, an
extended version of the standard "memcached" module that supports
almost the whole memcached TCP protocol:

    http://wiki.nginx.org/NginxHttpMemcModule

I know the state of the art in the nginx community is to manipulate
contents in memcached from within a backend (fastcgi) application
while just use the nginx memcached module as a frontend that simply
"serves" the content to the outside world. But read on...

Our motivation here, however, is to build an efficient and flexible
memcached TCP client component for nginx itself  so that we can reuse
it in an non-blocking way by means of an nginx subrequest or a
"fakerequest" [1].

As always, special thanks go to Igor Sysoev for all his heavy lifting
work already done in ngx_http_upstream and ngx_http_memcached_module
in the nginx core.

At last but not least, thanks my current employer, Taobao.com, for
allowing me to opensource this work, as well as other nginx modules I
have already announced or am going to announce here ;)

Enjoy!
-agentzh

References
[1] See http://github.com/srlindsay/nginx-independent-subrequest



More information about the nginx mailing list