Skip to content

Tag: asynchronous

Make order of responses match order of requests in Netty

Context I am writing a Netty application (Netty 4) in which the processing of each message might take some time. As an example of what I mean I have created an EchoHandler that responds with the original message, though sometimes after a short delay: Problem Using this code, the order of the responses is not …