Welcome! Log In Create A New Profile

Advanced

Re: In-process key/value (session) store option. . .?

Piotr Sikora
January 06, 2010 12:36AM
Hi,

> * Search an in-process hashtable using a value from a request parameter
> or
> header. (think session cache with expiry)

I don't think that such module exists. And to be honest, I doubt that such
approach would perform a lot better than memcached accessed locally over
unix socket (so with no TCP/IP overhead).

> * If the key is not found, then call out to some distributed cache
> backend
> (e.g. Memcached, Redis, Tokyo) to get the value.
> * Add a new request header with the fetched value.
> * Proxy forward the request upstream.

I think this should be all possible with existing modules, but what are you
trying to achieve here? It seems like a lot of trouble to just add one
header to request. If there is one application running behind such
configuration, wouldn't it be simplier to just make this call on the
application side? Or even store header's value in user's cookie (or
encrypted cookie)?

Best regards,
Piotr Sikora < piotr.sikora@frickle.com >


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

RE: In-process key/value (session) store option. . .?

David Dabbs January 05, 2010 11:50PM

Re: In-process key/value (session) store option. . .?

Piotr Sikora January 06, 2010 12:36AM

Re: In-process key/value (session) store option. . .?

agentzh January 06, 2010 01:00AM

Re: In-process key/value (session) store option. . .?

Ryan Malayter January 06, 2010 08:52AM

Re: In-process key/value (session) store option. . .?

agentzh January 06, 2010 09:22PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 122
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