Re: memcached failover solution?

2009-10-22 Thread Adi
Hi Henrik, could you please tell me how can i remove the dead node from the pool, or can you provide me any documentation of BeIT memcached client so that i understand it easily. Actually, In BeIT client there is method to detech the status of the host, i want to remove it from the socket pool

Re: memcached failover solution?

2009-10-22 Thread Henrik Schröder
First, check SocketPool.cs, around line 160. That's the code that fires if it failed to open a socket. You want to check if deadEndPointSecondsUntilRetry is larger than some sort of threshhold (A minute or so, you don't want to remove servers the first time they fail, you can have short temporary

Re: Memcached Questions

2009-10-22 Thread Curtis Hawthorne
You can figure based on your sysctl settings, how much memory a tcp socket will use by default or with stuff being written to it. There're lots of sites that explain those in more depth. An idle connection can use around 4-12k per. Would using UDP connections instead of TCP be a good way to

Re: Memcached Questions

2009-10-22 Thread dormando
You can figure based on your sysctl settings, how much memory a tcp socket will use by default or with stuff being written to it. There're lots of sites that explain those in more depth. An idle connection can use around 4-12k per. Would using UDP connections instead of TCP be a good

Issue with binary protocol spec GET response and key field

2009-10-22 Thread Robert Buck
Hello, I am working through writing a simple Java UDP client; apparently none of the clients already written support UDP, sigh. The example response in the GET section of the binary protocol shows Key as None, meaning it is omitted in the response. Field(offset) (value) Magic

Re: Issue with binary protocol spec GET response and key field

2009-10-22 Thread Dustin
On Oct 22, 1:24 pm, Robert Buck buck.rober...@gmail.com wrote: However, in the prior section it states:    Response (if found):       MUST have extras.       MAY have key.       MAY have value. Under which conditions will the key be present? Under which conditions will it not. Can

Re: Issue with binary protocol spec GET response and key field

2009-10-22 Thread Robert Buck
Thank you Dustin. On Thu, Oct 22, 2009 at 4:36 PM, Dustin dsalli...@gmail.com wrote: On Oct 22, 1:24 pm, Robert Buck buck.rober...@gmail.com wrote: However, in the prior section it states: Response (if found): MUST have extras. MAY have key. MAY have value.

Re: noreply error

2009-10-22 Thread brianhks
Another piece to the puzzle. On fedora with version 1.2.4 the noreply does not work, but on Ubuntu with version 1.2.2 it does work. Brian On Oct 22, 11:09 am, brianhks brianh...@gmail.com wrote: I send a set command with a noreply on the end and on the server I see the following: 25 new

Re: noreply error

2009-10-22 Thread Dustin
On Oct 22, 3:20 pm, brianhks brianh...@gmail.com wrote: Another piece to the puzzle.  On fedora with version 1.2.4 the noreply does not work, but on Ubuntu with version 1.2.2 it does work. Have you tried any recent versions? (1.4.2 or at least 1.2.8?)