openresty / memc-nginx-module

An extended version of the standard memcached module that supports set, add, delete, and many more memcached commands.
http://wiki.nginx.org/NginxHttpMemcModule
213 stars 56 forks source link

Support for ElastiCache Autodiscovery #22

Open nikolay opened 8 years ago

nikolay commented 8 years ago

http://docs.aws.amazon.com/AmazonElastiCache/latest/UserGuide/AutoDiscovery.html

agentzh commented 8 years ago

@nikolay I think it's much easier to do on the Lua land via the ngx_lua module atop the lua-resty-memcached library. It would be too hard to build this into this ngx_memc module I'm afraid.

nikolay commented 8 years ago

@agentzh Is there a way to implement the inventory autodiscovery in Lua, but keep the rest in this module?

agentzh commented 8 years ago

@nikolay That's possible with rewrite_by_lua* or alike but less efficient and less flexible.