Hi folks,
I believe the protocol codec filter is to encode and decode message under each session and I believe it uses IOService threads. My question is: what if I try to boardcast the message to all sessions connected. The encode part will be executed a lot of times. However, if I encode once and convert it to bytebuffer. and send in LOOP session.write(byte[]). Which mean i don't need protocol codec filter under this situation. Am I right?
