I'm comparing the two memcached client options:
- https://github.com/openresty/lua-resty-memcached
- https://github.com/openresty/memc-nginx-module
I'm leaning towards ngx_memc because I can easily provide backup servers via the upstream module and I can easily mock my tests that rely on caching functionality.
However, I'm curious if anyone has experience with either module or advice for / against using either module?
I'm primarily concerned with performance and stability.
I've noticed that there is definitely some overheard involved with the ngx_memc module due to URL encoding / decoding the already serialized objects (i.e. JSON string).
Any advice or insight would be greatly appreciated.
Thanks!