Get GlassFish V2 Sun Support for GlassFish - Get GlassFish Portfolio
« Scriptless WSCompile... | Main | NetBeans, like Glass... »
Aug 07
21
Ruby and jRuby, Mogrel, Goldspike, Grizzly and GlassFish
  Posted by pelegri in Web.Next

Ruby Hack Day (see Arun's report) included a presentation by Nick Sieger on how to deploy Rails Application for production. The traditional (old?) arrangement (diagram) is to have the HTTP processing done via Mongrel and then use Mongrel_Cluster: one Rails per Mongrel, one Mongrel per (native) Ruby, each Ruby as an OS process. Nick showed 3 variants using jRuby instead of Ruby.

GlassFish-jRuby-GoldSpike

The first approach uses Mongrel_jCluster: one Rails per Mongrel, one Mongrel per jRuby, many jRuby per JVM.

In the second approach the Rails app is packaged as a WAR, the HTTP processing is done by GlassFish and then, via the Goldspike RailsServlet delivered to Rails instances.

In the third approach the requests are passed directly from the Grizzly layer to Rails.

Arun has a nice writeup capturing these options from where I stole the pictures. You may also want to check the Wiki pages on Ruby and GlassFish and on Ruby and NetBeans.

Comments:

Post a Comment:

Comments are closed for this entry.

Languages

Event Calendar

Search

The Aquarium TV

Adoption Stories

GlassFish Podcast

Popular Tags

adoption ajax clustering comet community frontpage glassfish grizzly hudson java javaee javaee6 javaone jax-rs jax-ws jaxb jboss jcp jersey jmaki jruby jsf liferay metro mysql netbeans notd opends openesb openmq opensolaris opensource opensso performance portal rails rest ruby sailfin scripting sip stories sun tools updatecenter v2 v3 webinar webservices weekly

Downloads

Companion Sites

Related Links

Useful Pointers

Offers and Promos

... AT TWITTER

OTHER SHORT NEWS

Recent Entries

News by Mail

Contact Us

Send feedback and leads to theaquarium@sun.com

QR Codes


Navigation