Welcome! Log In Create A New Profile

Advanced

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

Ryan Malayter
January 06, 2010 08:52AM
On Tue, Jan 5, 2010 at 11:55 PM, agentzh <agentzh@gmail.com> wrote:
> On Wed, Jan 6, 2010 at 12:43 PM, David Dabbs <dmdabbs@gmail.com> wrote:
>>  * Search an in-process hashtable using a value from a request parameter or
>> header. (think session cache with expiry)
>>  * 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.

Why wouldn't you have the upstream application handle this? It
certainly seems to be an application-layer task to me.

Can you not modify the code for the upstream application? Forcing
session-state management (or whatever it is you're trying to do) into
the stateless HTTP layer (nginx) doesn't make a lot of sense, and is
likely to be complicated and cumbersome.
--
RPM

_______________________________________________
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: 151
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