Multi-daemon setup

JM jerome at gmanmi.tv
Fri Oct 6 13:36:57 UTC 2006


Hi,
	Im just wondering if you have multiple daemon setup lets say 5 boxes and app1 
chooses box1.. does it stuff and caches the data... how would app2 know that 
box1 has the cache data that it needed..

tia,

On Friday 06 October 2006 04:23, Jeremy Blain wrote:
> That is correct.  I'm not familiar with PECL but it is up to the client
> to decide which of the available
> servers to store data in with some form of hashing algorithm.
>
> Darryl Kuhn wrote:
> > Sorry for the noob question, but I've been kicking around the on-line
> > docs and blogs and I just want to clarify... memcached does not itself
> > support any multi-daemon configuration - correct? In other words when
> > I start up 15 memcache daemons they're not on their own going to know
> > that each other exist. Rather I need to specify in the API (in this
> > case I'm using the PECL extension in PHP) that I want to add
> > 15 connections to the pool (using /*$memcacheInstance->addServer(
> > serverData )*/ ) and it handles it from there. Is that right?
> >
> > Thanks in advance for your help,
> >
> > Darryl Kuhn
>
Mailing-List


More information about the memcached mailing list