Memcache module implementation with multi-get support?

Ashish S ashishs.dev at gmail.com
Tue Apr 10 01:44:24 UTC 2012


Thanks, everyone. This works.

--Ashish

On Fri, Apr 6, 2012 at 5:42 PM, agentzh <agentzh at gmail.com> wrote:
> On Sat, Apr 7, 2012 at 6:00 AM, Matthieu Tourne
> <matthieu.tourne at gmail.com> wrote:
>> On Fri, Apr 6, 2012 at 2:40 PM, Brian Akins <brian at akins.org> 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
>>> https://github.com/agentzh/lua-resty-memcached
>>>
>>
>> I think it already supports it if you pass an array of keys to the
>> 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 :)
>
> Best regards,
> -agentzh
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx



More information about the nginx mailing list