Re: Memcached Hackathon Report(s)

2008-10-16 Thread steve.yen
A fun hackathon, folks were there until 2am. Other conversations that I recall... - Paul Saab & Marc Kwiatkowski described a bunch of the Facebook changes that helped them get towards 300K reqs/sec on 8 core server. I think they worked a bit towards putting up an svn/git repo so their changes co

Re: Memcache monitor script

2008-10-21 Thread steve.yen
Thanks. I've added new links to the HowToMonitor page... http://code.google.com/p/memcached/wiki/HowToMonitor On Oct 20, 4:40 am, "Ludovic Levesque" <[EMAIL PROTECTED]> wrote: > On Mon, Oct 20, 2008 at 12:10 PM, Nixon Rodrigues > > <[EMAIL PROTECTED]> wrote: > > > I have installed Memcache on l

Re: How does memcached save network ports?

2008-10-21 Thread steve.yen
It's the latter on saving physical ports & servers. Best, Steve On Oct 20, 4:32 am, Karl Harbour <[EMAIL PROTECTED]> wrote: > I'm a little confused by the "What about shared memory?" section > here: > > http://www.danga.com/memcached/ > > In particular, it says: "it's recommended you run both web

blog post: a peek at memcached impl

2008-10-21 Thread steve.yen
http://amix.dk/blog/viewEntry/19356

Re: Python-memcache not setting key for large data

2008-11-23 Thread steve.yen
Yep, there's already a FAQ line on this limit... http://code.google.com/p/memcached/wiki/FAQ "What are some limits in memcached I might hit? The simple limits you will probably see with memcache are the key and item size limits. Keys are restricted to 250 characters. Stored data cannot exceed 1

Re: How to update exptime of stored data.

2008-11-25 Thread steve.yen
For upcoming versions, both the binary protocol and the proposed pluggable storage engine interface have an expiration field as part of incr/decr. http://code.google.com/p/memcached/wiki/MemcacheBinaryProtocol http://code.google.com/p/memcached/wiki/EngineInterface But, client language wrappers

Re: rewritten binary branch

2008-11-25 Thread steve.yen
Added a code.google.com page on this... http://code.google.com/p/memcached/wiki/DevelopmentRepos On Nov 24, 3:54 am, Trond Norbye <[EMAIL PROTECTED]> wrote: > On Nov 21, 2008, at 8:40 PM, Dustin wrote: > > > > >  I think this tree's in pretty good shape, but it's fairly isolated. > > Once enough

facebook memcached

2008-12-12 Thread steve.yen
fyi, Paul Saab's note on facebook's memcached improvements and git repo (originally pointed out to me by Dustin) http://www.facebook.com/note.php?note_id=39391378919

Re: order of results from get_multi

2008-12-14 Thread steve.yen
Thanks, added it to the code.google.com wiki/FAQ. http://code.google.com/p/memcached/wiki/FAQ On Dec 13, 12:47 pm, "Aaron Stone" wrote: > On Fri, Dec 5, 2008 at 10:10 PM, Dustin wrote: > > > On Dec 5, 8:21 pm, ionous wrote: > >> i poked around on the faq and mail lists, but haven't seen anyth

Re: Calculating Correct Max Connection Value

2008-12-21 Thread steve.yen
Here's an old thread that hinted at bugs in the PHP client library with persistent connections. Try turning off your client library's persistent connections. See: http://lists.danga.com/pipermail/memcached/2004-November/000818.html Also, if you wanted memcached server error messages, you could

slab allocator writeup

2009-01-25 Thread steve.yen
Hi all, I wrote up some notes on memcached's slab allocator. Thanks, too, to Trond for help proofreading, feedback & improvements. http://code.google.com/p/memcached/wiki/MemcachedSlabAllocator Cheers, Steve

Re: New PHP extension for Memcached

2009-01-30 Thread steve.yen
Added a link to the wiki -- http://code.google.com/p/memcached/wiki/Clients On Jan 29, 12:02 pm, Brian Aker wrote: > There are a couple of in-house ones I know of as well :) > > On Jan 29, 2009, at 11:57 AM, pcdinh wrote: > > > Andrei Zmievski, one of key men behind Unicode support in PHP6 has >

Re: stats subcommands in memcached...

2009-01-30 Thread steve.yen
I was just playing with an underdocumented script, called memcached- tool, which is in the memcached source tree in the scripts subdirectory. It has a 'dump' command implementation that uses stats cachedump in the way that Josh described. I'm glad Josh shared his usage example -- stats cachedump

Re: memcached_quit_server and its implications on keys belonging to that server

2009-04-24 Thread steve.yen
Hi, Assuming you're asking about libmemcached's API function called memcached_quit_server(), it closes the client-side connection. The memcached server remains running and retains whatever data it was holding. Steve On Apr 23, 11:52 pm, Nikhils wrote: > Hi, > > If I invoke  memcached_quit_serv

Re: memcached_quit_server and its implications on keys belonging to that server

2009-04-26 Thread steve.yen
I also invoke memcached_quit_server() in a similar fashion to how Nikhils describes when I notice there's a dead server. +1 if folks are thinking about a public API. Cheers, Steve On Apr 25, 11:24 pm, Nikhils wrote: > Hi, > > > > > On Apr 23, 2009, at 11:52 PM, Nikhils wrote: > > >  If I invok

ANNOUNCE: moxi, a memcached proxy

2009-06-26 Thread steve.yen
Hi! I saw some talk about memcached proxies on the list today, so figured it'd be good to let you all know about "moxi", a new open-source memcached proxy. Dustin Sallings, Matt Ingenthron and I have been working on it, where moxi fits together the latest memcached (1.4) and libmemcached project

Re: ANNOUNCE: moxi, a memcached proxy

2009-06-27 Thread steve.yen
Dustin's described some of the thinking and ideas better than I could have, but let me just add... Jon -- Yes, it's in production in one small site now, and a couple of folks have been running it in their staging environments, giving invaluable feedback and surfacing bugs. Didler -- The front

Re: Memory utilisation of memcached

2009-06-30 Thread steve.yen
Hi, I also wrote some notes about the slabber for those trying to get a sense of the code, and put them on the wiki... http://code.google.com/p/memcached/wiki/MemcachedInternals cheers, Steve On Jun 29, 1:09 am, Martin MC Brown wrote: > Hi, > > Try the description I put into the MySQL manual:

Re: For review: patch for issue 61

2009-07-02 Thread steve.yen
Hi Trond, Thanks -- it looks right to me and an improvement over my attempt, taking care of an important case. Cheers, Steve On Jun 30, 1:10 pm, Trond Norbye wrote: > Issue 61 : > reqs_per_event handling (-R) is incorrect leading to clien

scale beyond 8 cores

2009-07-07 Thread steve.yen
Hi folks, I saw Trond Norbye has a nice blog post describing some of the key locks in memcached... http://blogs.sun.com/trond/entry/scale_beyond_8_cores Cheers, Steve

Re: memcached-session-manager released, add to MemcachedOffspring

2009-10-26 Thread steve.yen
Cool. Added to the the MemcachedOffspring page... Steve On Oct 24, 5:38 pm, "martin.grotzke" wrote: > Hi, > > I just release memcached-session-manager > 1.0:http://code.google.com/p/memcached-session-manager/ > > It's a session failover solution for tomcat, sending sessions to > memcached aft