Hi, you should probably use an OrderedThreadPoolExecutor:
https://nightlies.apache.org/mina/mina/2.0.21/apidocs/org/apache/mina/filter/executor/OrderedThreadPoolExecutor.html On 18/01/2023 10:00, Sebastian Götz wrote:
From the documentation I interpret this, that the first executor is in charge accepting new connection on the ServerSocketChannel and the second is in charge of running the Processor of the queued IOSessions. Unfortunately this solution does not work. I have setup a stress test monitoring the network traffic with WireShark. From there I see, that packages arrive at the server in correct order. But nearly immediately after start of the test the packages get out of order. I must also mention, that the processing time of a single request is significant with around 500ms up to several seconds.
-- *Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE T. +33 (0)4 89 97 36 50 P. +33 (0)6 08 33 32 61 [email protected] https://www.busit.com/ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
