jRuby on Rails on Weblogic - best practice sharing

Hello,

I’m maintaining a Rails application which is hosted on a Bea Weblogic
9.2 application server. The server’s CPU is a Sun UltraSPARC T1. I am
experiencing serious performances issues compared to running the
application on other hardware plaforms (like several standard intel
desktop cpus) and/or application servers. E. g. the startup time is up
to 15 minutes on the sparc platform.

I achieved some improvements but would be interested in talking to
other developers who run jruby/rails on the BEA platform or other
platforms with similar issues for a knowledge exchange.

Best
Jörn


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Jörn Hartmann wrote:

Hello,

I’m maintaining a Rails application which is hosted on a Bea Weblogic
9.2 application server. The server’s CPU is a Sun UltraSPARC T1. I am
experiencing serious performances issues compared to running the
application on other hardware plaforms (like several standard intel
desktop cpus) and/or application servers. E. g. the startup time is up
to 15 minutes on the sparc platform.

Is that startup time of WebLogic alone or WebLogic + Rails app? Either
way it sounds terrible. And you say other app servers on Sparc aren’t as
bad?

  • Charlie

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

It’s only the application itself. Weblogic starts pretty fast, so do
the pure java web apps. Unfortunately, I do not have direct access to
the SPARC, so I haven’t been able to test other application servers on
that platform.

But if I run it on a x86 architecture, I’m getting pretty bad results
for weblogic too. The startup time here is like 4 minutes, compared to
<30 secs on glassfish or tomcat. Considering a single thread, the x86
with 2.2GHz is faster than the SPARC with only 1.2GHz of course. But
that cant be an explanation why it’s 4x slower.

That startup delay seems to occur before rails is being loaded. So
it’s likely that it’s some jruby or jrack initialization issue. I’ve
had this issued with goldspike too btw. If I turn on verbose mode for
the jRuby JIT-compiler I’m not getting any output during that delay.

Jörn

On 28.04.2009, at 22:45, Charles Oliver N. wrote:

Is that startup time of WebLogic alone or WebLogic + Rails app?


To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email