Re: How "low-level" management of threads is justified in Mirror Maker?

2015-07-10 Thread Jiangjie Qin
Hi Kostya, I actually did not think about this too much when write the code. My gut feeling is that the benefit of using a thread pool is that you have jobs come and go and want to safe your own resource management overhead. In Mirror maker, there are only fixed number of mirror maker thread and a

How "low-level" management of threads is justified in Mirror Maker?

2015-07-09 Thread Kostya Golikov
I've skimmed through a source code of Mirror Maker and I see that it relies on raw threads , as opposed to "Runnable + Thread pool" combination. While former ap