Posts Tagged: performance
-
Fixing Catastrophic Backtracking in Custom Ruby Regexes
A guide to understanding and fixing catastrophic backtracking in Ruby's regular expressions to prevent performance issues and application crashes.
-
From 40 Minutes to 4: Parallelizing Your Rails Test Suite
Learn how we reduced a Rails test suite execution time from 40 minutes to 4 minutes by leveraging Minitest parallelization and resolving race conditions.
-
How to Benchmark Cloud Provider Performance for Ruby on Rails Apps
A pragmatic guide to evaluating cloud infrastructure performance for large and complex Ruby on Rails applications.
-
How to Generate a Gemfile.next.lock for Faster Rails Upgrades
A step-by-step technical guide to generating and managing a Gemfile.next.lock file using the bootboot plugin for smoother Rails upgrades.
-
How to Handle Frozen String Literals When Upgrading Legacy Ruby Apps
A pragmatic guide to addressing FrozenError exceptions, managing memory optimization, and enforcing immutability in legacy Ruby code during an upgrade.
-
Implementing Redis Caching to Alleviate Database Load in Legacy Rails Apps
A pragmatic guide to reducing database load and improving p95 response times in legacy Rails apps using Redis caching.
-
Implementing Virtual Scrolling in Svelte for Heavy Rails Data Tables
Master frontend performance by implementing virtual scrolling in Svelte to efficiently render massive data tables in Ruby on Rails applications.
-
Lazy-Loading Frontend Components in a Rails Inertia.js Architecture
How to implement code splitting and lazy loading in a Ruby on Rails application using Inertia.js to improve frontend performance.
-
Monitoring Production Metrics Before and After a Major Ruby Version Bump
A practical guide to measuring the performance, memory usage, and stability impact of a Ruby upgrade in production.
-
Optimizing Active Record Memory Usage in Large Rails Background Jobs
A guide to optimizing Active Record memory usage in large Rails background jobs to prevent memory bloat and reduce cloud hosting costs.
-
Optimizing Frontend Assets with ESBuild and Rollup in Vite Rails
Learn how to optimize frontend asset compilation and delivery in Ruby on Rails applications using Vite with ESBuild and Rollup for improved performance.
-
Optimizing Passenger and Nginx for Rails 8
A guide to practical strategies for optimizing Passenger and Nginx specifically for a Rails 8 architecture.
-
Preparing for Ruby 3.4: New Features and Syntax Changes to Expect
A technical deep dive into the features, performance enhancements, and syntax changes coming in Ruby 3.4, including the Prism parser, YJIT improvements, and frozen string literals.
-
Reducing Largest Contentful Paint (LCP) Times in Server-Rendered Rails Views
Learn practical techniques to diagnose and fix poor Largest Contentful Paint (LCP) times in server-rendered Ruby on Rails applications.
-
Reducing P95 Response Times in Rails via Database Table Partitioning
Learn how to improve Rails scalability, reduce p95 response times, and resolve database bottlenecks with PostgreSQL table partitioning.
-
Ruby Memory Allocations: How Upgrading Reduces Cloud Infrastructure Costs
Discover how upgrading your Ruby version reduces memory allocations, leading to significant savings on cloud infrastructure costs.
-
The Impact of the Global Interpreter Lock (GIL) on Upgrading to Ruby 3.3
Understand how Ruby 3.3's M:N threading and VM optimizations interact with the GIL to impact performance during upgrades.
-
Tuning Your AWS Cloud Infrastructure After a Rails 7 Upgrade
A battle-tested workflow for optimizing AWS infrastructure, reducing cloud costs, and improving performance after upgrading to Rails 7.
-
Upgrading Ruby and Rails: Best Practices and Pitfalls
A comprehensive guide to upgrading Ruby and Rails applications, covering best practices, common pitfalls, and security considerations.