I'm using a TThreadPoolServer with a ThreadManager along with the PosixThreadFactory.
I set the number of workers to 100 which allows 100 simultaneous connections if my understanding is good.
I was wondering how far can I set the number of threads. So I tried to progressively increment the number and the max I could reach before my stress tests crash was 160.
My question is this: what are the parameters to take into account to correctly set the number of threads? Second question: is there a solution to handle more than this number (kind of clustering maybe?)