Oracle Mix: First large JRuby on Rails app online
So, far the buzz on Oracle Mix has been good. Just some clarifications to Paul’s comments on Mix’s tech architecture… it’s running on Oracle Application Server, Oracle Database, Oracle Internet Directory, Oracle SSO, and jRuby on Rails. As far as I know, Mix is the first and largest public deployment of jRuby on Rails. The best part is that we made this happen in less than 5 weeks… with the help of the wonderful people at ThoughtWorks.After Mingle and CruiseControl.rb, this is yet another JRuby project that ThoughtWorks is involved in. JRuby team member and ThoughtWorks employee Ola Bini worked on Oracle Mix as well:
The last 5 weeks, a team consisting of me, Alexey Verkhovsky, Matt Wastrodowski and Toby Tripp from ThoughtWorks, and Rich Manalang from Oracle have created a new application based on an internal Oracle application. This site is called Oracle Mix, and is aimed to be the way Oracles customers communicate with Oracle and each other, suggesting ideas, answering each others questions and generally networking.Are you using JRuby on Rails in production systems? How would you use JRuby on Rails - write a JRuby-specific application or use it to run an existing Rails application?
1) Some of the problems they encountered during setup, specifically anything to do with JRuby.
2) The volume of traffic this application is designed to handle.
3) Specifics about the setup: number of servers / CPUs / memory / network setup.
4) Post deployment bottlenecks + how they are solved.
5) Anything else that may give us more confidence in the platform.
We are really pleased for this choice for the following reasons :
- no need to install ruby interpreters and gems system. Many users just want JVM on their servers.
- packaged as a JEE application, so no need to install standalone jruby.
- uses JEE datasource. Ruby database drivers are replaced by JDBC ones, more reliable and numerous.
- rails configuration is very easy thanks to the great jruby documentation
We don't have yet performance feedbacks. The only drawback that we have noticed is the high memory consumption (more than 100Mo by jruby instance, knowing that it needs one instance per HTTP request). We hope that this issue will be fixed with the next jruby release.
Just notice that we did not upgrade to jruby 1.0.2 because of a critical problem on MSWindows.
On a development standpoint, the web application is fully integrated within our build process (maven 2). Rails tests are executed like other regular JUnit tests.
JRuby is the last thing that Rails needed for enterprise adoption. Great work jruby team !
Re: Some feedback
I just want to say *Oracle Mix* gave me new hopes for an eventual deployment of our actual RoR application into an Oracle Application Server and JRuby, and i hope to give you feedback soon about this.
All is said in my article : laurentbois.com/2007/11/15/buzz-oracle-mix/