Boost logo

Boost Users :

Subject: Re: [Boost-users] [asio] schedule work on all threads of a single io_service::run() pool?
From: Igor R (boost.lists_at_[hidden])
Date: 2013-05-18 17:07:08


> I want to set up an io_service-per-thread, with each io_service having
> a deadline_timer to handle the heartbeat. The only other complicated
> bit is selecting an io_service to handle an incoming request.

Can't you just "round-robin" them?

> It's a bit irksome to have to trade off the scalability to get this
> extra feature.

Why io_service-per-core would give worse scalability than thread-per-core?


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