bud
bud

Reputation: 71

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:

  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?)

Upvotes: 7

Views: 394

Answers (2)

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

Upvotes: 1

kares
kares

Reputation: 7166

yes any mature Java web-server with JRuby is a valuable option. the details of handling high-loads on peak hours will really depend on what kind of app you'll be running, how much "hardware" can you afford to use but in general it's achievable but be aware there might still be some "gotchas" e.g. Ruby libraries (gems) that do not handle thread-safety well. you simply need to understand how to proceed than - which seems you do since you're want to use 'Celluloid.IO' :)

Upvotes: 0

Related Questions