users@grizzly.java.net

Re: incoming packets processing order

From: Amy Kang <Amy.Kang_at_Sun.COM>
Date: Wed, 18 Mar 2009 16:14:45 -0700

Hi Alexey,

Thanks for confirming that.

amy

On 03/18/09 10:45, Oleksiy Stashok wrote:
> Hi Amy,
>
>>
>> By 'packets' I mean either TCP packets or application messages,
>> its the processing order that matters to me. When the client sends
>> a sequence of messages on the same connection, I need the server
>> to process these messages on that connection in the same sequence
>> order.
>>
>> on the server side,
>> grizzly thread-1: call protocol parser filter
>> call protocol filter
>> --->my server-handler processing message#1
>>
>> while I'm using grizzly thread-1 processing message#1, is it
>> possible the next message - message#2 will be picked up by
>> grizzly thread-2 and start next protocol chain processing ?
> No, Grizzly processes incoming requests sequentially.
>
> WBR,
> Alexey.
>