We Made Puma Faster With Sleep Sort
Explores new experimental performance features in Puma 5, including a 'sleep sort' latency reduction technique for Ruby web servers.
Nate Berkopec is a Ruby on Rails performance expert and author of the web’s leading Rails performance blog and newsletter. He teaches developers how to measure, diagnose, and optimize real-world Rails applications through courses, books, and consulting.
9 articles from this blog
Explores new experimental performance features in Puma 5, including a 'sleep sort' latency reduction technique for Ruby web servers.
Explains the Global VM Lock (GVL) in Ruby, its impact on concurrency and scaling, and how to optimize applications like Sidekiq and Puma.
Explains why premature optimization in programming is inefficient, using the Pareto Principle and power laws to argue for data-driven performance improvements.
A Rails performance expert shares key lessons on why Rails apps become slow and how to improve them, based on extensive teaching and consulting experience.
Identifies three common ActiveRecord usage mistakes in Rails that cause unnecessary SQL queries and slow down application performance.
Announcing the second edition of a comprehensive course on Ruby on Rails performance, covering updates, new lessons, and community insights.
NGINX Unit, a new multi-language application server, now supports Ruby. This article analyzes its potential impact on Ruby web applications.
Explains how malloc's per-thread memory arenas cause memory fragmentation in multi-threaded Ruby programs and how setting MALLOC_ARENA_MAX can reduce usage.
A guide to optimizing Puma, Unicorn, and Passenger Ruby app servers for maximum throughput and resource efficiency.