I’ve created two small performance improvements in PseudoTCP (see attached
patch). This patch does the following:
· Replaces clockThread in PseudoTcpSocketImpl with a thread-pool.
That way concurrent connections will use fewer threads.
· Checks logger.isLoggable(Level.FINER) when doing delayed ack to
avoid unnecessary string concatenation.
Feel free to use it however you like!
Thanks for the patch ! It is now commited and acknowledged on our team
and contributors page.
Eventually we might consider using larger thread pool than 1 or making
it's size configurable.
Also you might be interested in java wrapper for usrsctp stack.
I haven't measured it's performance yet, but I expect it might be
faster than PseudoTCP. It can also be run on ice4j sockets.
On Tue, Jun 24, 2014 at 3:29 PM, Carl Hasselskog <firstname.lastname@example.org> wrote: