Hello boost users,
I'm currently working on a MMO game server and have been using the boost::asio to deal with sockets. For now i'm concerned with responsiveness and scalability, and have been thinking of two ways to achieve that.
The first way would be multiple calls to io_service.run, each in a different thread, using the strand object to synchronize the callback handlers. The other way is to explicit use threads and locks with the boost::thread lib.
So could you point me what would be the main differences (maybe advantages and disadvantages) between both ways? What way do you think is it better? I want to hear some opinions.
Thanx in advance and best regards!
--
Matheus Araújo Aguiar
Computer Scientist
matheus.pit@gmail.com