Episode #549
Smaller Objects, Faster Code

It's easy to write off slow performance when processing large quantities of data as simply par for the course. Lots of data takes a long time to churn through. But often there are some easy optimization wins waiting just below the surface. All it takes is understanding some basic principles of computer architecture, and the ability to apply those principles to Ruby code. In today's episode, guest chef Jack Thorne joins us to demonstrate how changing the *size* of objects created in a batch job can have a major impact on performance. Along the way, you'll learn a little about memory architecture in modern CPUs. Enjoy!

This page is just for members. Sign in or subscribe to gain access!