nginx only reads from memcached. Something else (your app server) has to do the writing.

Shameless plug: http://code.google.com/p/memproxy/ Does both. Instructions for nginx and Apache. Requires PHP and pecl/memcache.


Brian.
--------
http://brian.moonspot.net/

On 12/28/09 2:47 PM, Danny Trinh wrote:
I'm pretty newbies on memcached. I use memcached+nginx as reverse
proxy. I was able to install memcached and nginx. nginx and memcached
seems to be working (daemons started without errors). But I kind of
confusing, how do they work together, and how the data will get into
memcached memory? Also, when I do "memcached-tool 12.69.160.97:11211
stats", I always see cmd_set=0, get_hits=0, cmd_get=get_misses. I just
confused that am I missing some thing or not? I searched the list and
saw many posts that cmd_set="some number", but why mine always 0?
I try to search for document which includes cmd_set, cmd_get,
get_hits, etc., but didn't find it.

Thanks,
   I don't know what you're looking for.  Are you attempting to perform
sets?

Reply via email to