On Nov 26, 2007 8:41 PM, Zed A. Shaw <[EMAIL PROTECTED]> wrote: > Oracle finally came clean. Yup, although they've been running a Rails app with several thousand employees as users for some months before that. :)
> BTW, they get 400 req/sec on a finely tuned JRuby setup. You should have > seen me > laugh at that, especially since I can't get a moderately sized test suite to > run in less than 10 minutes. Clustered in-memory session storage, rather simple page, and a database server on a separate box. And Oracle's J2EE thingie is an in-process Apache 1.3 mod (Oracle App Server is "just" Apache 1.3 with some extra-special mods). So, several hundred hits/sec is not extraordinary. You could get similar numbers with Mongrel and MRI on that rig. Frankly, it's not like we had any technical reason to run Mix under OAS, other than to show that it can be done. It turned out easier than anyone expected. In the right kind of circumstances (Java/Oracle-dominated IT shop), I would consider using the same setup for a normal project. Session clustering stuff in OAS is downright slick. A funny problem with JRuby is a huge difference between cold and warm performance (before and after JIT compiler). Running test suites is mostly cold, hence it is slooooooooow. Web app performance, on the other hand, is roughly on par with MRI, but only after a warmup period. It improves significantly after the first 20 hits (when JRuby AST-to-bytecode compiler kicks in), and then keeps gradually getting better for the next several thousand hits (as JVM's bytecode-to-native JIT compiler is working its magick). > Mongrel ... has to talk to the database through ODBC off unix That's what Bob was talking about, yes. > store just the session in a real man's database SQLServer (since version 2000, when it stopped being Sybase under another name), is not bad at all. Although in the market where MySQL 5 goes for $0, selling SQLServer for some number of kilobucks should be... a challenge, I guess. It is definitely fast enough. Rails adapter => FreeTDS => SQLServer combo may not be, however. This reminds me... I sometimes wonder if JRuby may be much faster than MRI on Windows. :) -- Alexey Verkhovsky CruiseControl.rb [http://cruisecontrolrb.thoughtworks.com] RubyWorks [http://rubyworks.thoughtworks.com] --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Deploying Rails" group. To post to this group, send email to rubyonrails-deployment@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-deployment?hl=en -~----------~----~----~----~------~----~------~--~---