Issue 93 in memcached: Verbosity is inconsistent between text and binary protocols

2009-10-07 Thread codesite-noreply
Updates: Status: Fixed Comment #2 on issue 93 by dsallings: Verbosity is inconsistent between text and binary protocols http://code.google.com/p/memcached/issues/detail?id=93 Dormando fixed in 783da601f99ba608273350d8566c43ab34a3af97 -- You received this message because you are list

Issue 94 in memcached: Crash with keys larger than 250 characters.

2009-10-07 Thread codesite-noreply
Updates: Status: Fixed Comment #2 on issue 94 by dsallings: Crash with keys larger than 250 characters. http://code.google.com/p/memcached/issues/detail?id=94 Dormando fixed this in fcdf315b89d6407f80725493081fe1f52d1ca392 -- You received this message because you are listed in the o

Re: Multiple commands in one TCP packet

2009-10-07 Thread Daniel Nichter
On Oct 7, 5:34 pm, Eric Day wrote: > Hi! > > It's actually not something that is entirely controlled in the server > or client (unless you use raw sockets), this can happen due to the > way I/O buffering happens in the operating system. A client/server > can buffer things up and issue a single wr

Re: Issue 95 in memcached: Memory allocation default change (-m < 40 doesn't work)

2009-10-07 Thread Adam Lee
On Wed, Oct 7, 2009 at 6:55 PM, wrote: > I've thought about this before, and Dustin just reiterated, that the > default should probably be to allocate all of the memory requested at start > time. It should attempt to do a mass allocation, and if that fails it > should spin on 1 meg allocations u

Re: Multiple commands in one TCP packet

2009-10-07 Thread Eric Day
Hi! It's actually not something that is entirely controlled in the server or client (unless you use raw sockets), this can happen due to the way I/O buffering happens in the operating system. A client/server can buffer things up and issue a single write() system call in hopes they stay together,

RE: Multiple commands in one TCP packet

2009-10-07 Thread Dean Harding
> Does the memcached protocol support multiple commands in a single TCP > packet? The protocol doc (http://code.sixapart.com/svn/memcached/ > trunk/server/doc/protocol.txt) says this is possible with UDP, but I > have a case where TCP packets contain multiple commands. For example > (some data c

Re: Multiple commands in one TCP packet

2009-10-07 Thread Dustin
On Oct 7, 4:23 pm, Daniel Nichter wrote: > Does the memcached protocol support multiple commands in a single TCP > packet?  The protocol doc (http://code.sixapart.com/svn/memcached/ > trunk/server/doc/protocol.txt) says this is possible with UDP, but I > have a case where TCP packets contain mu

Multiple commands in one TCP packet

2009-10-07 Thread Daniel Nichter
Hello, Does the memcached protocol support multiple commands in a single TCP packet? The protocol doc (http://code.sixapart.com/svn/memcached/ trunk/server/doc/protocol.txt) says this is possible with UDP, but I have a case where TCP packets contain multiple commands. For example (some data cha

Re: DNS vs IP

2009-10-07 Thread dormando
If code push is your issue, make code push easier... In that I mean you don't have to push full code for twiddling something like the list of memcached's. Split the list of servers off into a seperate source file that's included, then give ops the ability to push those subsets of files quickly an

Re: DNS vs IP

2009-10-07 Thread dormando
> DRBD really doesnt make sense for memcached, since memcached doesnt hit the > disk. > > What you really need is a way to keep the memcached memory arena (mostly) in > sync between the pair. > > There is an open source patch, but it's old and has problems. > > There is also a commercial solutio

Issue 95 in memcached: Memory allocation default change (-m < 40 doesn't work)

2009-10-07 Thread codesite-noreply
Status: Accepted Owner: dorma...@rydia.net Labels: Type-Defect Priority-Medium New issue 95 by dorma...@rydia.net: Memory allocation default change (-m < 40 doesn't work) http://code.google.com/p/memcached/issues/detail?id=95 Yo, The default way memcached allocates memory is a little broken

Issue 46 in memcached: memcached-tool to display evicted items

2009-10-07 Thread codesite-noreply
Updates: Status: Done Comment #2 on issue 46 by dorma...@rydia.net: memcached-tool to display evicted items http://code.google.com/p/memcached/issues/detail?id=46 Dustin checked in 7af0829ced0ff7220cd7e5fb274150087b2d6407 which covers the same issue. Closing this one. -- You rece

Re: best memcached java client

2009-10-07 Thread Adam Lee
Fact. On Wed, Oct 7, 2009 at 4:31 PM, John Reilly wrote: > +1 > > On Wed, Oct 7, 2009 at 1:23 PM, Nelz wrote: >> >> As a user of Dustin's client, I corroborate what he said. It really is >> the best Java client around. >> >> - Nelz >> >> On Wed, Oct 7, 2009 at 11:46, Dustin wrote: >> > >> > >>

Re: best memcached java client

2009-10-07 Thread John Reilly
+1 On Wed, Oct 7, 2009 at 1:23 PM, Nelz wrote: > > As a user of Dustin's client, I corroborate what he said. It really is > the best Java client around. > > - Nelz > > On Wed, Oct 7, 2009 at 11:46, Dustin wrote: > > > > > > On Oct 7, 11:36 am, sudo wrote: > >> Which java client is most stable

Re: best memcached java client

2009-10-07 Thread Nelz
As a user of Dustin's client, I corroborate what he said. It really is the best Java client around. - Nelz On Wed, Oct 7, 2009 at 11:46, Dustin wrote: > > > On Oct 7, 11:36 am, sudo wrote: >> Which java client is most stable for working with memcached? > >  Well, I'd have to suggest mine.  I m

Re: best memcached java client

2009-10-07 Thread Dustin
On Oct 7, 11:36 am, sudo wrote: > Which java client is most stable for working with memcached? Well, I'd have to suggest mine. I maintain really high test coverage, good performance, and keep up with server features (or stay a bit ahead of them). http://code.google.com/p/spymemcached/

best memcached java client

2009-10-07 Thread sudo
Which java client is most stable for working with memcached? thanks

Re: DNS vs IP

2009-10-07 Thread Edward M. Goldberg
Yes, I use DNS Made Easy for this use: 1) Create an A Record for each Memcached server with the SAME name memcached.domain.com 2) Create an A Record for each Memcached server with a UNIQUE name memcache.00.domain.com Then do: $ dig +short memcache.domain.com # This returns --> 10.0.0.1 10.0.0

Re: DNS vs IP

2009-10-07 Thread Anthony Vierra
We are doing the same thing as you on EC2, but we are using Dynamic DNS "DDNS" with a script that updates dns memcached.xxx.com with the new ip when the server boots. checkout http://www.dnsmadeeasy.com/ & look at their DDNS and scripts. everything you want is there, cheap, simple, & it works. O

Re: DNS vs IP

2009-10-07 Thread Mark Atwood
On Oct 7, 2009, at 10:21 AM, Nathan Nobbe wrote: On Wed, Oct 7, 2009 at 9:21 AM, Brian Moon wrote: This has very little to do with memcached and everything to do with your DNS infrastructure. The client that connects is what does the DNS resolution. memcached has nothing to do with DNS.

Re: DNS vs IP

2009-10-07 Thread Nathan Nobbe
On Wed, Oct 7, 2009 at 9:21 AM, Brian Moon wrote: > > This has very little to do with memcached and everything to do with your > DNS infrastructure. The client that connects is what does the DNS > resolution. memcached has nothing to do with DNS. > > FWIW, we avoid dns lookups at all costs for

Re: [Fwd: edging toward pandora-build]

2009-10-07 Thread Mark Atwood
On Oct 6, 2009, at 9:54 AM, Matt Ingenthron wrote: An example of what I found to be invasive before was a series of int and size_t values being interchanged. I would end up making some small changes, finding the header needed to change, that would then require a bunch of other small cha

Re: Stats curr_item is not updated dynamically even if object expires

2009-10-07 Thread jakub.lopuszan...@nasza-klasa.pl
Hi Pankraj, Here at nasza-klasa.pl we've developed a patch that I've described in http://groups.google.com/group/memcached/browse_thread/thread/31d34fbf4a3184ef# The idea is to eagerly perform garbage collection each second, so that the curr_item is always equal to the actuall number of not expir

Re: Stats curr_item is not updated dynamically even if object expires

2009-10-07 Thread jakub.lopuszan...@nasza-klasa.pl
Hi Pankaj, Here at nasza-klasa.pl we use a patch that I have described in this post: http://groups.google.com/group/memcached/browse_thread/thread/31d34fbf4a3184ef# This patch performs the garbage collection eagerly, wich as a by product gives you a curr_item which is always equal to nonexpired e

Re: DNS vs IP

2009-10-07 Thread Brian Moon
This has very little to do with memcached and everything to do with your DNS infrastructure. The client that connects is what does the DNS resolution. memcached has nothing to do with DNS. FWIW, we avoid dns lookups at all costs for memcached because it is just one more thing that has to h

Issue 47 in memcached: Compile error with -D ALLOW_SLABS_REASSIGN

2009-10-07 Thread codesite-noreply
Updates: Status: Done Comment #2 on issue 47 by dorma...@rydia.net: Compile error with -D ALLOW_SLABS_REASSIGN http://code.google.com/p/memcached/issues/detail?id=47 The existing slab reassignment code was unfinished and unsupported, so it will be removed in 1.4.2. There will be ne