Scalable server framework in C++

Philip Bennefall picture Philip Bennefall · Jul 15, 2011 · Viewed 10.3k times · Source

I am looking to write a server application in C++ that is meant to handle tens of thousands of clients simultaneously. It should run under Windows and Linux. I have been looking around for frameworks and libraries and have come across Boost Asio, which seems like a highly mature and widely used alternative. I just have trouble wrapping my head around strands/thread pools, mainly because of the millions of templates. My background is mainly in C, so am not really used to the template mess that Boost in general seems to be full of. I tried to find someone to develop a relatively thin wrapper around Boost Asio that would take care of the threading/synchronization aspect using strands, bind and the like, but have been unable to find someone yet who can do it within my budget (2 or 300 US dollars).

Can any of you recommend any other libraries that scale as well as Boost Asio (e.g. with IOCP on Windows and epoll on Linux etc), or a source where I might find skilled Boost developers looking for smaller freelance jobs?

Thanks very much in advance for any help.

Kind regards,

Philip Bennefall

Answer

Felipe Cruz picture Felipe Cruz · Jul 15, 2011

Best 4 choices i know

I really like zeromq.. but libuv seems interesting.. (libev and libevent are very nice too)