Search |
|||||||||
Ruby/JRuby Process Models ExplainedPosted by arungupta on August 20, 2007 at 9:31 AM PDT
In the JRuby Hackday, Nick Sieger described the process models of a Rails application deployed using In this blog entry I'm capturing a brain dump from him after the event. The images below shows process models in each of the above mentioned approaches. The containment of boxes in each image is shown in terms of the application logic instead of the process. The legend followed in the images is as follows:
In the first approach, a C-based Ruby on Rails application is front-ended by an HTTP library - Mongrel. The typical app will be deployed on a cluster of Mongrel servers - provided by Mongrel_cluster plug-in.
For a Mongrel cluster, multiple Ruby interpreters are started as an OS process. The second approach shows how a Rails application may be deployed using JRuby. This is a transition approach between traditional C-based Ruby on Mongrel deployment and JRuby-based deployment on GlassFish.
For a Mongrel JCluster, only one JVM is started as an OS process. The last approach shows how a JRuby application may be deployed on GlassFish. With this approach, there are two modes to deploy an application.
A detailed screencast of the first GlassFish case (Goldspike/JRuby) is available here and for the second case (Grizzly/JRuby) is documented here. Technorati: ruby jruby jrubyonglassfish glassfish grizzly goldspike rubyonrails ror »
Related Topics >>
Web Services and XML Comments
Comments are listed in date ascending order (oldest first)
|
|||||||||
|
|