Welcome! Log In Create A New Profile


Some questions about the memcached module

June 17, 2009 06:21AM

I've been playing around with the memcached module and I was wondering if prior to sending a cache hit to the client it is possible to do something with the cache's contents. Let me give a little bit more detail: imagine that I would like to use memcached to maintain a kind of CDC, a mapping of key=>value, where the values are not pages nor images, but rather URLs to where the nginx server should proxy the original request. In short: client makes request, nginx tries to obtain from the memcached the mapped URL (value) for that request (key), if there is a cache hit it will get the content (an image, for instance) from the URL value stored in the memcached and proxy it for the original client.

If somehow there was a way to access the key's value in a variable of some kind, maybe it would be possible to do this.
Any ideas? Is it even possible?

Many thanks in advance.
Subject Author Posted

Some questions about the memcached module

matamouros June 17, 2009 06:21AM

Re: Some questions about the memcached module

matamouros June 17, 2009 11:36AM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 164
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready