Monday, January 12, 2009

A good tutorial on epoll

For the last few days, I have been toying around with the idea of using epoll to write "high-performance" TCP-based servers. While the man pages are helpful, they aren't exactly very useful to get you started. And "tutorials" have been hard to find. Not having any prior knowledge of select() or poll(), it has been tough to grok epoll.

Today, though, I stumbled upon a tutorial (or rather, a section from the book Linux System Programming by Robert Love) which I think is very useful for epoll newbies:
The Event Poll Interface
Here's an Amazon link to the book.

Labels: ,



Comments:
Also try libevent http://www.monkey.org/~provos/libevent/
 
Yup, that is what I would use if I want to build a "real world" C application involving I/O notifications.

You would probably also know that memcached uses libevent.
 
Thanks,
It is really a good explanation, You wont get better than this on epoll..
 
very good explanation. Thanks.
 
Post a Comment

Subscribe to Post Comments [Atom]



Links to this post:

Create a Link



<< Home

This page is powered by Blogger. Isn't yours?

Subscribe to Posts [Atom]