> OK I guess the Write filter needs to be re-worked :-) Let me take a look
> today.
I reworked writer as follows:
UDPWriteFilter f4 = new UDPWriteFilter() {
@Override
public boolean postExecute(Context ctx) throws IOException {
ctx.setKeyRegistrationState(Context.KeyRegistrationState.REGISTER);
((WorkerThread)Thread.currentThread()).getByteBuffer().clear();
return true;
}
and my app starts working nicely without known race conditions.
Can grizzly framework increase number of buffered arriving UDP packets so
no packets gets lost on traffic spikes?
I suspect that Grizzly can serve more than 1 packet at once using different
threads, right? I have to check app and framework for more possible race
conditions.