Not familiar with java TelNet client, but I query memcached for stats just using bash scripts and nc/telnet... Why do you need java for that?
On Tue, May 25, 2010 at 1:34 PM, Tim Sneed <[email protected]> wrote: > Hey all, > > > > I am attempting to use a standard Java telnet client > (commons.net.TelnetClient) but am having some trouble completing the > connection. Once I run my Java test I see on the memcached console “<30 new > auto-negotiating client connection” but then it just hangs there, eventually > timing out with no exception being thrown. > > > > When I use the spymemcached I can connect no problem but I want to reduce > the overhead since I am only interested in sending the STATS command at a > set interval. Has anyone done this where they use a simple Telnet socket > connection from Java to issue commands rather than using a Java memcached > client such as spymemcached? Any info would be greatly appreciated, thanks! > > > > -ts >
