The Changelog: Software Development, Open Source

Estimating systems with napkin math (Interview)

Sep 11, 2020
In this discussion, Simon Eskildsen, a Principal Engineer at Shopify, reveals his innovative approach to system estimation through 'napkin math.' He emphasizes using first-principle thinking to simplify complex problems without writing code. The conversation dives into navigating slow queries in MySQL, enhancing database management during high-demand scenarios like Black Friday, and the importance of practical estimations in system design. Eskildsen also shares insights from his self-taught journey in programming and the development of a newsletter focused on mathematical problem-solving for software performance.
Ask episode
AI Snips
Chapters
Books
Transcript
Episode notes
ADVICE

Napkin Math for Faster Decisions

  • Estimate system performance upfront using napkin math.
  • Avoid lengthy implementations and arguments by quickly assessing feasibility.
INSIGHT

Bottom-Up Understanding

  • Build your understanding of systems from the bottom up, starting with fundamental principles.
  • Challenge assumptions and explore alternative solutions by understanding system limitations.
ANECDOTE

MySQL Transaction Limits

  • Simon explored MySQL transaction limits in his newsletter.
  • He hypothesized F-sync operations were the bottleneck, but real-world results showed much higher throughput due to batching.
Get the Snipd Podcast app to discover more snips from this episode
Get the app