views:

12

answers:

0

we are having an old application written in C++ which is receiving requests from different clients over socket(there is a thread for each connected client). There x number of worker threads, incoming requests are being distributed among worker threads.Worker threads are processing the requests and again distributing the processed data among 30 other network entities.

Code is using pthread library and all threads are running under default scheduling policy. What kind of scheduling policy/priority shall I use for these threads(receiving threads, worker threads, sending threads) in order to increase throughput?

Regards Sunil