Proxy Manager ?

2010-10-13 Thread Dominic Webb
As I am readin and using memcached more (by the way amazing software) I am looking at sharding, scaling and the whole consistent hashing stuff. Our environment is PHP 5.3+ by the way. Im wondering if anything exists that can act as a manager for what is stored and on which server. Specifically is

Re: Proxy Manager ?

2010-10-13 Thread Brian Moon
Im wondering if anything exists that can act as a manager for what is stored and on which server. Specifically is there not some sort of proxy server that handles the request and decides which server to goto? The client already handles this. http://code.google.com/p/memcached/wiki/FAQ#How_does_

Monitoring Memcached w/ Evident ClearStone

2010-10-13 Thread Tim Sneed
To Fellow Memcached Users, Evident Software would like to invite you to the following webinar. Date/Time: October 21, 2010 (Thursday) – 2pm EST Duration: 45 minutes Webinar Topic Attendees will learn how Evident ClearStone can be used to monitor and manage your Cassandra, Memcached, or Oracle Co

Is memcache add() atomic on a multithreaded memcached?

2010-10-13 Thread elSchrom
Hi everyone, we have the following situation: due to massive simultaneous inserts in mysql on possibly identical primary keys, we use the atomic memcache add() as a semaphore. In a few cases we observed the behaviour, that two simultaneous add() using the same key from different clients both retur

Re: Is memcache add() atomic on a multithreaded memcached?

2010-10-13 Thread dormando
> Hi everyone, > > we have the following situation: due to massive simultaneous inserts > in mysql on possibly identical primary keys, we use the atomic > memcache add() as a semaphore. In a few cases we observed the > behaviour, that two simultaneous add() using the same key from > different clien

Re: Is memcache add() atomic on a multithreaded memcached?

2010-10-13 Thread Adam Lee
Yeah, we also have used this as a sort of crude locking mechanism on a site under fairly heavy load and have never seen any sort of inconsistency-- as dormando said, I'd make sure your configuration is correct. Debug and make sure that they're both indeed setting it on the same server. Or, if tha

Flush a particular Cache Client

2010-10-13 Thread circuitsdorf
I know that the flush_all command will invalidate the contents of the entire memcached instance. I am using a Java-based Spy Memcached client, which has CacheClient names configured. Suppose I wanted to flush a specific CacheClient? How would I do that?

Re: Is memcache add() atomic on a multithreaded memcached?

2010-10-13 Thread moses wejuli
... or you couldd use a concatenation of ur server ID/timestamp/query/unique client variable(s)/session etc.. (all hashed) as part of your (hashed) key... there's countless ways to make ur key unique... even in ur situation!!! On 13 October 2010 19:11, Adam Lee wrote: > Yeah, we also have us