Welcome! Log In Create A New Profile

Advanced

how to config nginx-memcached?

yi.dong@yamutech.com
April 01, 2009 10:32PM
hi all:

I would like to serve a application , there comes a request with an
arguement ,then nginx use this argument as the memcache_key . if hit
,return the value to client directly, if not hit, rewrite the request to
my backend server(python + django) and with the arguement

it likes:

first: http://myserver:7214/cache/?XXX

hit: return memcached value with key XXX

not hit: rewrite the request like :
http://myserver:7214/gen/?XXX and use proxy_pass to
http://127.0.0.1:1234

I am working on it for serveral days and can't work it out ,
thanks a lot
Subject Author Posted

how to config nginx-memcached?

yi.dong@yamutech.com April 01, 2009 10:32PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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