This video, with thoughtbot CTO Joe Ferris, shows you how to tune performance using a real world example. Starting with an action that takes 3 seconds to respond and performs over 1600 database queries, Joe is able to reduce response time to 300ms and drop database usage to just 5 queries.
In this 36 minute video, Joe demonstrates making these performance improvements without duplication, and without breaking your existing code.
This video specifically focuses on what Joe calls ‘real-time requests’. That is, requests that must return all of their data to the user in the request-response cycle, without relying on background jobs or persistent caching.
If you’d like to become a specialist in curing slow-app-itis, this video is for you!