InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Oracle Mix: First large JRuby on Rails app online

Posted by Werner Schuster on Nov 14, 2007

Sections
Development
Topics
Ruby ,
JRuby ,
Ruby on Rails
Tags
Ruby on Rails ,
JRuby ,
ThoughtWorks ,
Oracle
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
Re: CC.rb by Alexey Verkhovsky Posted
Re: CC.rb by Werner Schuster Posted
More info by Shimon Amit Posted
More info by Jim James Posted
Some feedback by Simon Brandhof Posted
Re: Some feedback by Laurent Bois Posted
  1. Back to top

    CC.rb

    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

    by Alexey Verkhovsky

    Another correction: but TW Commons' PetStore is :)

  3. Back to top

    More info

    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

    by Jim James

    +1 for Shimon's questions.

    Thanks! Jim.

  5. Back to top

    Some feedback

    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

    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

    by Werner Schuster

    Ola,
    thanks for the corrections.

Educational Content

New-age Transactional Systems - Not Your Grandpa's OLTP

John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.

Cool Code

Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.

Collaboration: At the Extremities of Extreme

Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.

Yesod Web Framework

Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.