|
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 matheus.pit_at_[hidden]
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net