This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
The moose likes Ruby and the fly likes Clustering ruby applications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Languages » Ruby
Bookmark "Clustering ruby applications" Watch "Clustering ruby applications" New topic
Author

Clustering ruby applications

Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

Is it possible to cluster Ruby applications ? Who provides the clustering support ?


Groovy
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
What do you mean by "clustering a Ruby application"? And are you perhaps referring to Rails applications rather than Ruby applications?


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8898

Originally posted by Lasse Koskela:
What do you mean by "clustering a Ruby application"? And are you perhaps referring to Rails applications rather than Ruby applications?



Yes I meant Rails application. Can I have a cluster defined for Rails application for scalability and reliability purpose.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Rails apps can be clustered by, for example, having a web server load balance traffic to a Mongrel cluster and using memcached to keep sessions in sync between the Mongrel servers.
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Here's a nice little article with pretty pictures of a couple of alternative clustering setups.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Clustering ruby applications
 
Similar Threads
no.of applications that can be deployed on a single profile of WAS 7.0
How does ruby deal with Security?
Ruby - Desktop Applications
Ruby and J2EE
Why is HttpServlet Serializable?