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. Chris Popp ________________________________ From: Ashish <[email protected]> To: [email protected] Sent: Thursday, August 27, 2009 9:12:24 AM Subject: Re: FtpServer on Cloud Foundary Niklas was correct. CF is basically Tomcat :-) Hmm, now I guess I have to create webapp using FtpServer, before I can try it further. Hey, does anyone has this already, which I can use? thanks ashish On Sat, Aug 22, 2009 at 3:08 PM, Niklas Gustavsson<[email protected]> wrote: > On Sat, Aug 22, 2009 at 11:03 AM, Ashish<[email protected]> wrote: >> Has anyone tried deploying FtpServer Spring app on Cloud Foundry >> (http://www.cloudfoundry.com/)? > > As far as I understand, CF is basically Tomcat. So, I think it should > work just fine. But, it will very interesting to see your results! > > Is load-balancing over multiple hosts supported for protocols like > FTP? Is there some cluster-wide file system available? > > /niklas > -- thanks ashish Blog: http://www.ashishpaliwal.com/blog My Photo Galleries: http://www.pbase.com/ashishpaliwal
