How to build a custom static file serving HTTP server using Libevent in C

December 13, 2009   -   Scalability   -   14 comments

Libevent is an event notification library which lays the foundation for immensely successful open source projects like Memcached. As the web advances into a real time mode, more and more websites are using a mix of technologies like HTTP Pub-Sub, HTTP Long-polling and Comet with a custom light weight HTTP servers in the backend to [...]

Writing a custom unix style tail in PHP using Libevent API on Mac OS X 10.5.x and other platforms

November 2, 2009   -   PHP   -   16 comments

Libevent is a library which provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached. Many famous applications/frameworks/libraries like memcached are using libevent. In this blog post, I will demonstrate how to write a custom unix style tail script using Libevent [...]

Powered by Wordpress. © 2008-2010 All Rights Reserved.