Boost logo

Boost Users :

Subject: [Boost-users] io_service object pool X io_service::run thread pool
From: Matheus Araújo Aguiar (matheus.pit_at_[hidden])
Date: 2009-12-14 15:40:51

Hello dear list,

I am using boost for some months now and i have implemented a server which
creates several threads of io_service::run in order to respond to async
writes and reads. I am looking for some performance improvements and just
read the http server 2 example and saw that it uses a pool of io_service
objects. So my question is, what would be the pros and cons of using such a
pool instead of a thread pool of io_service::run ?

Thanks in avance and best regards,

Matheus Araújo Aguiar
Computer Scientist

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at