0

I remember finding a C++ (or maybe plain C) library which does thread pooling, socket polling and other stuff, needed to write a high-performance server on Linux. (And this library was not Boost itself — but it could be that it used Boost.)

As usual, I can't remember the name of the library. Any guesses?

Update: that was not ACE.

Alexander Gladysh
  • 39,865
  • 32
  • 103
  • 160

3 Answers3

3

Spserver uses libevent and so should have good performance on all platforms.

You could use Boost.ASIO directly and thread pool:

Multiple threads may call io_service::run() to set up a pool of threads from which completion handlers may be invoked ... all threads that have joined an io_service's pool are considered equivalent, and the io_service may distribute work across them in an arbitrary fashion.

Jonathan Graehl
  • 9,182
  • 36
  • 40
1

Perhaps ACE?

ChrisW
  • 54,973
  • 13
  • 116
  • 224
1

POCO? libevent? Got any further clues?

Duck
  • 26,924
  • 5
  • 64
  • 92