Memcache module implementation with multi-get support?

Hi,

Is there a memcache module implementation with multi-get support?

Thanks,
Ashish

On Apr 6, 2012, at 4:27 PM, Ashish S Dev wrote:

Is there a memcache module implementation with multi-get support?

Probably be pretty simple to add it to

On Fri, Apr 6, 2012 at 2:40 PM, Brian A. [email protected] wrote:

On Apr 6, 2012, at 4:27 PM, Ashish S Dev wrote:

Is there a memcache module implementation with multi-get support?

Probably be pretty simple to add it to
GitHub - openresty/lua-resty-memcached: Lua memcached client driver for the ngx_lua based on the cosocket API

I think it already supports it if you pass an array of keys to the
memc:get() function

Matt

On Sat, Apr 7, 2012 at 6:00 AM, Matthieu T.
[email protected] wrote:

memc:get() function

Yes, it does.

Below is a test case for this feature:

https://github.com/agentzh/lua-resty-memcached/blob/master/t/sanity.t#L1413

The lua-resty-memcached library is not an nginx module itself, but
rather a (nonblocking) Lua library that is intended to be used with
the ngx_lua module :slight_smile:

Best regards,
-agentzh

Thanks, everyone. This works.

–Ashish