Multithreaded UDP server vs. OrderedThreadPoolExecutor

2013-09-24 Thread Christian Hammers
Hello I've written a server for a proprietary UDP protocol that needs to answer with exactly one packet for every incoming packet. All packets are independent from each other so that I like to have each one handled asynchronously by a different thread from a pool with a certain maximum size. So

Re: Multithreaded UDP server vs. OrderedThreadPoolExecutor

2013-09-24 Thread Jon V.
The first thing I would do would be to disable the executor and try again. You could be encountering some sort of deadlock. On Sep 24, 2013 12:47 PM, Christian Hammers chamm...@netcologne.de wrote: Hello I've written a server for a proprietary UDP protocol that needs to answer with exactly

Re: Multithreaded UDP server vs. OrderedThreadPoolExecutor

2013-09-24 Thread Emmanuel Lécharny
Le 9/24/13 9:47 AM, Christian Hammers a écrit : Hello I've written a server for a proprietary UDP protocol that needs to answer with exactly one packet for every incoming packet. All packets are independent from each other so that I like to have each one handled asynchronously by a different