5 ms·
Can you point me in the right direction for this type of implementation?
by ethanpil 6y ago
Can you point me in the right direction for this type of implementation?
- leetrout 6y agoThis came up from a quick google search https://blog.cloud66.com/supercharging-nginx-with-lua-part-3/ https://blog.cloud66.com/supercharging-nginx-with-lua-part-3...
- anonymoushn 6y agoAt one company that served a lot of requests from an Openresty cache, we used nginx's cache for caching full HTTP responses and lua-resty-mlcache for caching other things. lua-resty-mlcache requires one to provide a callback to get the data as a string, then a way to deserialize the string, because the l2 cache in nginx's shared memory zone will store the item as a string. We used msgpack for this part.