balancing tasks across thread pools

Please post support and help requests here.
Posts: 2
Joined: 05 Aug 2013, 20:07

balancing tasks across thread pools

Postby sorressean » 20 Aug 2013, 23:14

I had a quick question.
I was looking at the Poco reactor to help me accept connections, but I need a way to balance out the tasks across multiple threads.
The idea is that I may have 100 users. I plan to split them up in x threads so that I'll have 20 users per thread. I can accept connections, but given the existing setup I'm not sure how I can find the thread with the least connections and shove the connection onto that thread.
Any help/etc would be awesome.

Return to “Support”

Who is online

Users browsing this forum: No registered users and 7 guests