BigBinary
Read post

Tuning Puma max_threads Configuration with GVL Instrumentation

The post explores tuning the max_threads configuration for Puma in Rails applications using GVL instrumentation. The methodology involves measuring I/O time and calculating thread efficiency through Amdahl's law. It introduces 'perfm' middleware to help analyze the data. The process involves iterating thread settings to minimize GVL contention and maximize concurrency, with final recommendations for thread counts based on empirical data.

    #performance#ruby#rails
May 06, 2025•6m read time•From bigbinary.com
Post cover image
Table of contents
GVL instrumentation using perfmValidate thread count using stall time
28 Impressions
BigBinary's image
BigBinary

BigBinary is a resource for Ruby on Rails developers, offering tutorials, articles, and best practic...

14 Followers

•

194 Upvotes

Would you recommend this post?

Copy link
WhatsApp
Facebook
X
New Squad
  • © 2026 Daily Dev Ltd.
  • Guidelines
  • Explore
  • Tags
  • Sources
  • Squads
  • Leaderboard