memcached configuration

Paul Cowan paul.cowan at twentysixlondon.com
Mon May 14 16:19:25 UTC 2007


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

 

 

Twentysix
LONDON
Eldon House
1 Dorset Street, London W1B 4EG
T. +44 (0)20 7535 9800
F. +44 (0)20 7535 9801
www.twentysixlondon.com

 


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.danga.com/pipermail/memcached/attachments/20070514/ac95eb78/attachment-0001.html


More information about the memcached mailing list