this post was submitted on 25 Apr 2024
3 points (100.0% liked)

Ruby on Rails

186 readers
1 users here now

founded 1 year ago
MODERATORS
 

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.

you are viewing a single comment's thread
view the rest of the comments
[–] HParker@programming.dev 1 points 6 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.