If you're using the latest Rails, you don't need a couple of runtimes,
just one runtime and a "config.threadsafe!" in your environment.rb
file will do the trick.

JRuby uses native threads so it will use as many cores as available at
the machine in just one instance of your webapplication.

And about NIO, it's better if you look by yourself, you can start at
the Grizzly connector homepage - https://grizzly.dev.java.net/

-
Maurício Linhares
http://alinhavado.wordpress.com/ (pt-br) |
http://codeshooter.wordpress.com/ (en)

On Fri, Jun 5, 2009 at 10:13 AM, JannaB<mistressja...@hotmail.com> wrote:
>
> What does it mean for something to be  "NIO ( non-blocking) "
>
> Incidentally, is Apache web server, alone by itself, non-blocking?
>
> As for Conrad's most recent comment, it sounds like one incarnation of
> Glassfish gem with a couple of JRuby runtimes could likely handle a
> fairly good amount of traffic? -Janna
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to