17 Mar
2009
17 Mar
'09
9:17 p.m.
Someone more familiar with the implementation could comment, but just poking around through the implementation it appears there is one queue of handlers that will get shared by all threads; right there I think there'll be a lot of lock contention between threads on the single queue.
What if you use io_service-per-cpu approach? How does it affect the performance?