Patch to use a ThreadPool in TCPSession
Andrew Keedle <[email protected]> Wed, 15 Jan 2003 16:22:21 -0000
| Newsgroups | gmane.network.beep.beepcore.java.general |
|---|---|
| Message-ID | <26A421F3F048114AB7EB808AEC0A53FD01ED41C7@smrtipsmsdev01.smart421.com> |
I've posted a patch to use a ThreadPool for processNextFrame() in TCPSession. It uses the concurrent.jar library. It seems to improve things on my Linux box, the CPU usage drops, new processes aren't created, and the I/O rate seems to improve. It's a bit of a noddy patch but any thoughts anybody. I couldn't see any problems it might create, but I don't know the core internals.