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:
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 InterfaceHere's an Amazon link to the book.
Comments:
<< Home
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.
Post a Comment
You would probably also know that memcached uses libevent.
Subscribe to Post Comments [Atom]
<< Home
Subscribe to Posts [Atom]