Building Scalable Deployments with Multiple Goroutines
summary
Built a Pack Delivery Service to mint and sell millions of NFT packs, using Go goroutines and sync waitgroups to parallelize work; initial single-threaded code is brittle, naive goroutines spawn explosion and pods are OOM‑killed around 3,000 concurrent tasks. Packaging with Docker, running in Kubernetes, scaling vertically then horizontally, splitting four responsibilities into separate deployments (sending transactions gets four deployments) and sharding signing across ~800 keys yields minting under an hour and pack opening within 30 seconds.
AI-written summary · about
chapters (9)
- 0:00Start
- 13:15Use a Goroutine
- 20:43Scaling Option 1
- 21:32Set Resources
- 23:13Bump resources
- 24:26Scaling Option 2
- 35:40Use Goroutines
- 38:07Split Deployments
- 39:07Keys?








