Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JRuby/TorqueBox for high performance / mission critical application

We are evaluating few options for developing a telecommunication related application platform (and migrating/consolidating some of the standalone apps into the new platform). One of our main concerns is the ability to handle high volume of requests during peak hours.

We feel the TorqueBox seems to an interesting solution worthy of consideration because:

  • Speed (Next to pure Java performance)
  • Faster development time over Java
  • Maintainability
  • Support for threads/concurrency even though it's Ruby
  • Faster/Easier front end development with Rails
  • ...
  • RedHat supported and runs on JBoss (scalability, future development and ability to call Java if necessary)
  1. Has anyone developed/deployed similar application(s) with JRuby/TorqueBox?
  2. Any serious performance bottlenecks ahead? (or why we shouldn't use JRuby and should stick with Java?)
like image 827
bud Avatar asked Mar 14 '13 11:03

bud


1 Answers

The answer is YES but be aware of memory leaks (gems, threadsafety issues, etc). You have to be familiar with tools like VisualVM, Eclipse MAT and/or NewRelic.

We're successfully using Torquebox on production for some clients on amazon EC2 handling 60k-80k visits per day (new c3 instances are great for Java).

Deployment is also an issue. We're unable to setup any kind of rolling restart because of memory consumption. So every time we deploy using Capistrano a full JBoss restart is needed (no big issue for us).

Bests, Antonio

like image 93
Toño Silva Portell Avatar answered Oct 19 '22 06:10

Toño Silva Portell