Ruby’s garbage collector is designed to be adaptable, scaling from short Ruby scripts to running apps that serve millions of requests per second. While it’s designed to be adaptable, it may not work optimally for every use case. For this reason, Ruby’s garbage collector supports many parameters that can be used to tune it. However, the use of these parameters requires knowledge into how the garbage collector works on the inside. Learn how the Autotuner gem can analyze your app’s traffic and provide suggestions for tuning the garbage collector.

  • HParker
    link
    fedilink
    arrow-up
    1
    ·
    7 months ago

    Great article! I especially like the part talking about limitations and when autotuner might make P99.99 worse. Great to keep in mind when tuning GC.