Goruco Videos

Andrew Metcalf

How to Load 1m Lines of Ruby in 5s


Applications written in Ruby, Python and several other popular dynamic languages become very slow to boot as they grow to millions of lines of code. Waiting to reload code in development becomes a major frustration and drain on productivity. This talk will discuss how we reduced the time to boot a service at Stripe from 35s to 5s by statically analyzing dependencies in our codebase to drive an autoloader.


Andrew Metcalf is an engineer at Stripe, where he works on making large Ruby codebases fast, safe, and predictable to work with.