Christopher Popp wrote:
Just thought I might share some of our experience with using MINA for
HA/scalability...
What we actually do is have multiple servers running MINA that are simply
responsible for maintaining client TCP connections and processing received
operations. We also have some servers that run front end applications that are
responsible for authentication and receiving operations. All of this is tied
together using JVM level clustering through Terracotta. Each connected client
in the system gets a queue, and the particular system that the client is
connected to registers a callback for new messages in that queue. The queues
are optionally persistent for us, so that even if a client disconnects, and
reconnects to a new MINA system, the operation will be processed once the new
system registers interest in the client's still existing queue.
We've run this in EC2 before and it seems to work rather well. It requires
some work on top of MINA to get the HA/Scalable aspect, but it wasn't too bad
to do.
Interesting.
Which version of MINA are you using ?
Also, I want to know if you had a chance to test the latest select-fix
branch ?
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org