Latest libevent+libev package

Marc Lehmann schmorp at
Sat Apr 12 20:32:51 CEST 2008

On Sat, Apr 12, 2008 at 11:59:41PM +0800, JH <jh at> wrote:
> Sorry to disturb you. We're using memcached + libevent and today a friend told
> me there's libev. I saw the performance charts and am very interested in
> test driving libev. I only found
> but the latest libevent is 1.4.3 and latest libev is 3.2 (also the CVS
> bug fixes). Could you please update the libevent+libev package?

I tried, but the changes are nontrivial and would boil down to a lot of
work - however, does memcached really need the full libevent? wouldn't the
libevent emulation inside libev work for it as well?

Note that the libevent emulation isn't 100% - only the typical behaviour
is implemented (for example, in libevent, the last event base created gets
the signals, while in libev, it is always the default event loop, which is
the first event base created by the emulation), so some work is expected
for a program relying on libevent's idiosyncrasies, but that's true for
libevent+libev as well.

So in short, if memcached doesn't rely on libevent specifics such as
the http and dns code, the libevent core emulation inside libev should

                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_    
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      pcg at
      -=====/_/_//_/\_,_/ /_/\_\

More information about the libev mailing list