epoll and performance

Brad Fitzpatrick brad@danga.com
Tue, 23 Mar 2004 08:42:06 -0800 (PST)


Joachim,

You understand correctly.  In the past, however, libevent's poll and
select backends were buggy, so we only recommended kqueue or epoll usage.
Anything should work fine nowadays.

- Brad

On Tue, 23 Mar 2004, Joachim Bauernberger wrote:

> Hi,
>
> in the past i have seen several posts here that recommend an upgrade to epoll
> as a cure all performace issues.
>
> Looking at the statistic on the dev epoll homepage after having a similar
> discussion with a friend I am now not so sure anymore whether epoll will be
> worth the hazzle for my setup.
>
> I have 2 clients which implement Cache::Memcached as a fastcgi in apache.
> Those can be queried to talk to the memcache-servers running on the same
> hosts.
>
> Since my (2) fastcgi clients use persistent tcp connections to talk to
> memchached I wonder whether the whole epoll stuff is really make a difference
> for me.
>
> The way I understood epoll, is  it only boosts your performance if you have
> lots of connections that are established (and broken down again).
>
> Maybe I understood epoll wrong?
> Please let me know if this is the case.
>
> Thx & best regards,
> ~/joachim
>
>