~/talk

Handling slow requests in your Go web server

Talkat dotGo 2017 · on Monday, 2017-11-06· [go, web-platform]
slides:none on file

Claims that slow requests stay inside a Go server by avoiding external queues and costly serialization to beanstalkd and storage to s3 for hundred‑megabyte uploads. Implements a channel-backed queue (problems: blocking solved by send timeouts, channel buffers or extra workers) and an alternative that spawns a goroutine per job. Adds a wait group to preserve background work across shutdowns. Builds both designs and shows they work but require capacity planning and explicit lifecycle and cancellation handling.

AI-written summary · about

  1. 0:00Intro
  2. 0:35The usual way
  3. 1:05The problem
  4. 1:35The solution
  5. 2:15Building the handler
  6. 2:37Queues
  7. 2:58Second solution
  8. 3:46Outro
~/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.