Latest libevent+libev package

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


On Sat, Apr 12, 2008 at 11:59:41PM +0800, JH <jh at 6rooms.com> 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
> 
> http://dist.schmorp.de/libev/Attic/libevent-1.4.1-beta+libev-3.0.tar.gz
> 
> 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
suffice.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      pcg at goof.com
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list