io_service object pool X io_service::run thread pool

14 Dec
2009
14 Dec
'09
8:40 p.m.
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
5615
Age (days ago)
5615
Last active (days ago)
0 comments
1 participants
participants (1)
-
Matheus Araújo Aguiar