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
matheus.pit@gmail.com