Mauricio, When you say: <<just one runtime and a "config.threadsafe!" in your environment.rb file will do the trick.>>
but the docs say: << Multi-thread-safe execution (as introduced in Rails 2.2 or for Merb) is detected and runtime pooling is disabled. You would still need to tell Rails to enable multi-threading by commenting out the following line from config/environments/production.rb. config.threadsafe! >> Of course, I dont see the expressioni "config.threadsafe!" in either config/environment.rb or config/environments/production.rb Can you show me, exactly what I need to put where, to accomplish this? Thanks, Janna B On Jun 5, 9:18 am, Maurício Linhares <mauricio.linha...@gmail.com> wrote: > 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 Linhareshttp://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 -~----------~----~----~----~------~----~------~--~---