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

6m read timeFrom bigbinary.com
Post cover image
Table of contents
GVL instrumentation using perfmValidate thread count using stall time

Sort: