InfoQ

News

Oracle Mix: First large JRuby on Rails app online

Posted by Werner Schuster on Nov 14, 2007 03:00 PM

Community
Ruby
Topics
JRuby ,
Ruby on Rails
Tags
JRuby ,
Oracle ,
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?

7 comments

Reply

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.

Exclusive Content

Clojure

Rich Hickey discusses Clojure features and syntax, example code, functional programming, concurrency semantics, transactions, software transactional memory, agents, implementation and pain points.

Composite Oriented Programming with Qi4j

We introduce the concept of Composite Oriented Programming, and show how it avoids the issues with OOP and reignites the hope of being able to compose domain models with reusable pieces.

Dan Farino About MySpace’s Architecture

Dan Farino talks about the system architecture and the challenges faced when building a very large online community. Dan explains how a .NET product scales on hundreds of servers.

Principles and Practices of Lean-Agile Software Development

Alan Shalloway, CEO and founder of Net Objectives, presents the Lean software development principles and practices and how they can benefit to Agile practitioners.

The Maxine VM

Bernd Mathiske discusses Maxine VM, Java compatibility, swapping major VM components, research areas, Object handling, code examples, optimizing compiler, snippets, bytecode generation, JNI and JIT.

Joe Armstrong About Erlang

Joe Armstrong speaks on various aspects of the Erlang language, presenting its roots, how it compares with other languages and why it has become popular these days.

The Limits of Code Optimization: a new Singleton Pattern Implementation

The java double-check singleton pattern is not thread safe and can’t be fixed. In this article, Dr. Alexey Yakubovich provides an implementation of the Singleton pattern that he claims is thread-safe.

Pressure and Performance – The CTO's Dilemma

Diana and Jim talk about patterns observed in CTOs' activity. CTOs emerge as real people caring for other people in their organization, and are put under a lot of pressure and constraints.