InfoQ

News

Oracle Mix: First large JRuby on Rails app online

Posted by Werner Schuster on Nov 14, 2007

Community
Ruby
Topics
JRuby ,
Ruby on Rails
Tags
Oracle ,
JRuby ,
Ruby on Rails ,
ThoughtWorks
Oracle just released social networking web application called Oracle Mix - and it uses JRuby on Rails:
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?
CC.rb by Ola Bini Posted Nov 14, 2007 7:54 PM
Re: CC.rb by Alexey Verkhovsky Posted Nov 14, 2007 10:29 PM
Re: CC.rb by Werner Schuster Posted Nov 22, 2007 9:20 AM
More info by Shimon Amit Posted Nov 15, 2007 5:41 AM
More info by Jim James Posted Nov 15, 2007 10:10 AM
Some feedback by Simon Brandhof Posted Nov 15, 2007 11:04 AM
Re: Some feedback by Laurent Bois Posted Nov 15, 2007 4:21 PM
  1. Back to top

    CC.rb

    Nov 14, 2007 7:54 PM by Ola Bini

    Correction, CruiseControl.rb is actually not a JRuby project - it's a regular RoR application.

  2. Back to top

    Re: CC.rb

    Nov 14, 2007 10:29 PM by Alexey Verkhovsky

    Another correction: but TW Commons' PetStore is :)

  3. Back to top

    More info

    Nov 15, 2007 5:41 AM by Shimon Amit

    It would be interesting to hear more about any of the following:

    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.

    Thanks,

    Shimon Amit

  4. Back to top

    More info

    Nov 15, 2007 10:10 AM by Jim James

    +1 for Shimon's questions.

    Thanks! Jim.

  5. Back to top

    Some feedback

    Nov 15, 2007 11:04 AM by Simon Brandhof

    Hortis just released sonar, an open source software based on jruby on rails for its web interface.

    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 !

  6. Back to top

    Re: Some feedback

    Nov 15, 2007 4:21 PM by Laurent Bois

    First, i thank my colleague Simon for his Feedback on Sonar...

    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/

  7. Back to top

    Re: CC.rb

    Nov 22, 2007 9:20 AM by Werner Schuster

    Ola,
    thanks for the corrections.

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.