3
submitted 6 months ago by lautan@lemmy.ca to c/rails@programming.dev

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.

top 1 comments
sorted by: hot top controversial new old
[-] 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.

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