Re: listen to multiple IPs(clients)

2010-09-17 Thread manoher tadakokkula
Does that mean memcahed can be set to listen on either Single IP or ALL IPs , but no to fixed pool of IPs ? memcahed newbie, Manoher T On Fri, Sep 17, 2010 at 10:27 AM, Trond Norbye wrote: > > On 17. sep. 2010, at 00.57, ligerdave wrote: > > > so is it possible to use -l ip1,ip2,. ? > > > >

Re: listen to multiple IPs(clients)

2010-09-17 Thread manoher tadakokkula
On Fri, Sep 17, 2010 at 12:14 AM, ligerdave wrote: > Folks, > > I would like to set my memcache instance to listen to only a list of > given IPs. > > I know you can specify an IP/interface by using -l 127.0.0.1. Is it > possible to do something like this: -l ip1,ip2,ip3 > > I was trying to find i

Re: listen to multiple IPs(clients)

2010-09-17 Thread Trond Norbye
On 17. sep. 2010, at 10.59, manoher tadakokkula wrote: > Does that mean memcahed can be set to listen on either Single IP or ALL IPs , > but no to fixed pool of IPs ? > Yes. If you look at one of the last link i added in my first response you would see how the -l argument is handled. It shoul

Need DB kind of LOCK on “Write” operation in Me mcache

2010-09-17 Thread subbu
Hi, In our application, we are multiple application servers to fetch cache data from memcached servers in cluster. Typical on first GET call the data is fetch from DB, converted to XML, and put into memcached with a key. Their after any addition or deletion are operated on XML by either removing

Re: listen to multiple IPs(clients)

2010-09-17 Thread ligerdave
is this planned to be included in any quick official fix or improvement? you know this could be a headache if i have to modify/ build the code every time when there is new release. @Manoher, yes, it's a typo. however, actually i meant to type getaddrinfo(). @Trond, i just realized that i typed st

Issue 155 in memcached: able to tokenize and process mulitple IP addresses when option -l is passed

2010-09-17 Thread memcached
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 155 by david.c.fu: able to tokenize and process mulitple IP addresses when option -l is passed http://code.google.com/p/memcached/issues/detail?id=155 What steps will reproduce the problem? 1. N/A What is the expected outp

Re: Need DB kind of LOCK on “Write” operation in Memcache

2010-09-17 Thread James Phillips - Personal
In general, you can get lock-like behavior using memcached atomic operations like incr, add and cas; for ideas, check out: http://abhinavsingh.com/blog/2009/12/how-to-use-locks-for-assuring-atomic-operation-in-memcached/ http://terrychay.com/article/keeping-memcache-consistent.shtml On 9/17/10,

Re: Issue 155 in memcached: able to tokenize and process mulitple IP addresses when option -l is passed

2010-09-17 Thread memcached
Comment #1 on issue 155 by david.c.fu: able to tokenize and process mulitple IP addresses when option -l is passed http://code.google.com/p/memcached/issues/detail?id=155 related discussion http://groups.google.com/group/memcached/browse_thread/thread/6ad60f2234835e2a