~/talk

Building Scalable Deployments with Multiple Goroutines

Talkat GopherCon UK 2022 · 2022-08-16..08-18· [concurrency, blockchain]
links:none on file
slides:none on file

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

  1. 0:00Start
  2. 13:15Use a Goroutine
  3. 20:43Scaling Option 1
  4. 21:32Set Resources
  5. 23:13Bump resources
  6. 24:26Scaling Option 2
  7. 35:40Use Goroutines
  8. 38:07Split Deployments
  9. 39:07Keys?
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.