TuneMyGC: Optimal MRI Ruby 2.1+ Garbage Collection
tunemygc.com
tunemygc.com
EDIT: I'd also like to see a privacy policy that talks about what data they collect and how it's used.
[TuneMyGc.walltime, TuneMyGc.peak_rss, TuneMyGc.current_rss, stage, GC.stat.values_at(*stat_keys), GC.latest_gc_info, meta]
In this file: https://github.com/bear-metal/tunemygc/blob/70a02b9dd252c6f5...
Or in their protocol.md: https://github.com/bear-metal/tunemygc/blob/master/doc/proto...
What I want to know is why this needs to get recommendations from a web service. Do they have to collect a bunch of data to learn good recommendations for different situations? Isn't it much simpler to have an algorithm optimizing the parameters locally, or does that take too long to learn good values?
Is there a recommended app size /setup after which it actually makes sense to bother with GC?
This all comes to mind because any extra dependencies in my app are an ongoing pain in the ass; got plenty of those already. If this could give me a 20% speed boost - hell yeah, I'll try that. If it's a 0.4% ... nope.
From the first glance, it seems easier to do nothing, than to try something that may work.
just my 2c
VMs can tune themselves up to a point but there is always need to give them some precise bounds/goals, methinks.
>java -XX:+AggressiveOpts -XX:+UnlockDiagnosticVMOptions -XX:+UnlockExperimentalVMOptions -XX:+PrintFlagsFinal -version
It will list about 700 options.
That being said, I'd like to try this service, the guys behind it seem to really know what they are doing.