We run multiple daemons on the same machine using a similar setup. Occasionally we have to flush a cache and having multiple daemons lets us flush one daemon, then the next a short bit later. Flushing our entire cache at once would cause a fairly significant DB load spike on our DB servers.
Paul Cowan wrote: > Hi, > > > I have installed memcached and would appreciate somebody explaining > the following configuration I have found: > > > > <memcache> > > <memcached host="127.0.0.1" port="11211" weight="2" /> > > <memcached host="127.0.0.1" port="11212" weight="5" /> > > </memcache> > > > > Could somebody explain why there are 2 <memcached> elements both > pointing to the same I.P. address but with different ports. > > > > Also what would influence my choice of ports and finally what is the > weight attribute used for? > > > > Thanks > > > Paul > > > >
