[Libevent-users] A server framework library based on libevent that implements the Half-Sync/Half-Async pattern

liusifan liusifan at 21cn.com
Wed Mar 14 21:34:31 EDT 2007


Hi, all

SPServer is a server framework library written on C++ that implements the Half-Sync/Half-Async pattern ( http://www.cs.wustl.edu/~schmidt/PDF/HS-HA.pdf ). It's based on libevent in order to utilize the best I/O loop on any platform.

SPServer can simplify TCP server construction. It is a hybrid system between threaded and event-driven, and exploits the advantages of both programming models. It exposes a threaded programming style to programmers, while simultaneously using event-driven style to process network connection.

You can get the code from the SPServer home page:
http://code.google.com/p/spserver/
http://spserver.googlecode.com/files/spserver-0.1.src.tar.gz


stephen
			





More information about the Libevent-users mailing list