-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Notes on choosing/optimising JRuby #32
base: master
Are you sure you want to change the base?
Conversation
I just started using I replaced the There is a good article that explains the difference: http://javaeesupportpatterns.blogspot.com/2013/02/java-8-from-permgen-to-metaspace.html I wonder if it is a good idea to let the metaspace grow without limit? one of our adhearsion apps restarted automatically with the following error: The other settings seem to be pretty standard on a jruby environment. What would be great is to have some coding tips to avoid memory leaks with jruby in an adhearsion app. |
/cc @runningferret |
Most of what @ggayan posted is the same things I've found:
Other than command line stuff, beware of TLS connections over XMPP (never got them to work), and be sure to stress test the HTTP Client library you use - some of them have issues at load not seen with C-ruby. And unless you hate yourself, just use MRI locally, and have a QA place to catch jruby-specific bugs. 😛 |
On 27 October 2014 16:02, JustinAiken [email protected] wrote:
|
|
I am also using |
You've all mentioned some excellent options for tuning, so I won't be repeat what's been said there. The following settings that are generally considered for development environments, but I find them useful in Production as well
Additionally, it's of course good to point people at the excellent Performance Tuning guide that the JRuby Team whipped together as well. An extensive read that is well worth it. |
Some great advice here! Anyone feel like massaging it into a PR? |
Opening this to start the discussion after another request for ideas on
JRUBY_OPTS
from @ggayan.I'd like to expand this with:
Several people have tackled this in the past, including @bklang, @JustinAiken, @polysics, @sfgeorge, @Jared-Prime and probably others. I'd appreciate input from any and all of you :)