TLDR Web Dev · ARTICLES & TUTORIALS

ONE LINE OF CODE THAT DID COST $8,000

pietrasiak.com5 min read

Summary from the TLDR Web Dev newsletter

Screen Studio, a macOS screen recorder, experienced a costly bug in its auto-updater that repeatedly downloaded a 250MB update file every 5 minutes. This resulted in 2 petabytes of network traffic on Google Cloud over a month, costing the company $8,000. The bug, which caused the app to ignore the update's presence and continue downloading it, was from a forgotten line of code during a refactor.