Hi,
 
Architecure and threading questions.
 
When exploring java NIO I tried to build worker threads to which I would pass 
the request received and the SelectionKey so I would know whom to respond to 
when the task completed.
 
Unfortunately I noticed that SelectionKey was not thread safe and would 
sometimes become null under heavy load. :(
 
I was wondering if Mina IoSession is thread safe and how it solved the problem 
of keeping caller context without depending on the underlying SelectionKey.
 
Thanks
 
Stéphane

_________________________________________________________________
Twice the fun—Share photos while you chat with Windows Live Messenger.
http://www.microsoft.com/windows/windowslive/messenger.aspx

Reply via email to