Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

DataObjects in production tips

pietia edited this page Sep 13, 2010 · 1 revision

MRI

Jruby

server / client mode

Java and Jruby offer two modes of running applications. Client mode should be used only in prototyping. In other cases server mode is preferred. Adding “—server” parameter turns on additional optimizations in JVM and performance in long-life applications should be better than using default (“—client”) mode.

Running specs using server mode:


jruby --server -S rake spec 

Sample performance comparison of using client and server modes

Clone this wiki locally