[ANN] XProbes - static user space probes with natural data access

2010-02-15 Thread Tomash Brechko
ts low overhead (few instructions for detached probe site, simple shared library call for enabled probe site) and native access to application data make it a tool of choice not only for debugging and tracing the application during development, but also for monitoring (and even extending!) live production systems. More details on http://wiki.github.com/kroki/XProbes/ Play with it in your project, it's a lot of fun! -- Tomash Brechko

Re: binary "noreply" commands

2009-02-01 Thread Tomash Brechko
yone, if you can't sleep knowing that there's something that it not properly logged in your system yet, then you better not using it. But logging aside, what your app does when it receives "NOT STORED" from set? I'm not saying that you never need a result from set, but I really wonder what real-world cases might be, couldn't think of any myself. -- Tomash Brechko

Re: compression of keys

2009-01-15 Thread Tomash Brechko
. But straightforward compression will likely introduce spaces and newlines as part of binary data. -- Tomash Brechko

Re: CLIENT_ERROR bad data chunk

2008-12-11 Thread Tomash Brechko
.lock > 0 60 255 > >8 CLIENT_ERROR bad data chunk > <8 > - > >8 ERROR There seem to be a space in your key between "W=Add/Remove" and "World::..." Spaces are not allowed there. -- Tomash Brechko

Re: Consistent hashing (was: Killed by SIGPIPE using Memcached::libmemcached)

2008-11-27 Thread Tomash Brechko
ementation, but I think other clients do the same thing). -- Tomash Brechko

Re: Consistent hashing (was: Killed by SIGPIPE using Memcached::libmemcached)

2008-11-27 Thread Tomash Brechko
etama uses server address to compute server to keyspace mapping. -- Tomash Brechko

Re: Killed by SIGPIPE using Memcached::libmemcached

2008-11-27 Thread Tomash Brechko
it temporary sets SIGPIPE action to SIG_IGN. The latter is not 100% correct, as it affects all threads in the application, but will do for most users. -- Tomash Brechko

Re: perl + memcached stability under extreme load

2008-11-12 Thread Tomash Brechko
dd($key, $value, 1)) { >if ($attempt_add++ == $op_attempts) { You set expiration time to one second. Since memcached has the timer of 1 second granularity, it happens so that you add an item at the edge of a second, and it expires immediately. The solution is to not set the expiration time ;). -- Tomash Brechko

Re: compilation under OpenBSD 4.3 problem (1.2.6)

2008-10-28 Thread Tomash Brechko
lared (first use in this > function) > memcached.c:2477: error: (Each undeclared identifier is reported only > once > memcached.c:2477: error: for each function it appears in.) > *** Error code 1 Run ./configure CPPFLAGS=-DAI_ADDRCONFIG=0 AI_ADDRCONFIG is indeed undefined on some BSDs, but it's not a vital flag, zero is a safe value then. -- Tomash Brechko

Re: Zeroconf memcached

2008-10-04 Thread Tomash Brechko
then how to deal with the above? -- Tomash Brechko

Re: Cache::Memcached::Fast glitch

2008-09-29 Thread Tomash Brechko
tches are always welcome, even partial UDP support may suit some. Until then, cache your C::M::F objects! ;) P.S.: above is just my speculation, if someone send me a script to reproduce the problem, I'll try to look into it this weekend. -- Tomash Brechko