On 07/12/2012 02:18 PM, HaiTing Yao wrote: > With many tx/rx threads, performance will be improved much more. When > I deal with this problem, I have thought this idea, but I did not want > to use short threads. Short threds are too heavy for this. Perhaps we > can implement a thread pool fo tx/rx threads. What's your idea? Yes, I also think of dynamic grow/shrink threading implementation. It would be a worthy try. I think this thread pool will benefit tx/rx performance a lot, though not that much to gateway and io threads which does disk IO. Thanks, Yuan |