~/talk

Why Go Scales?

Talkat GoWayFest 2017 · on Friday, 2017-07-21· [go]
name:Eyal Post
links:none on file
slides:none on file

Explains why Go scales: goroutines start with 2KB stacks that double when needed and shrink after use, so 10,000 goroutines cost ~20MB of stack, not gigabytes; the runtime uses a user‑space scheduler with cooperative preemption triggered by stack checks, channel ops and syscalls; network IO runs on a netpoll event loop while file IO uses a thread pool; a real Gett driver‑location service rewritten in Go handles ~2,000 req/min with ~2 ms latency using only a few instances.

AI-written summary · about

  1. 0:00Start
  2. 3:38System K Problem
  3. 4:45The Issues with Thread per Connection
  4. 7:38How Does the Node Js Code Looks like
  5. 7:56The Benefits for Node Js
  6. 9:54How Does Gold Work Differently
  7. 10:24How Does Go Handle the Stack Why Do We Need a Stack
  8. 12:46Assembly Code
  9. 15:48Go Scheduler
  10. 18:17Pre-Emptive Scheduling
  11. 21:32Context Switching
  12. 22:06Thread Switching
  13. 23:17Go Routines Behave Differently
  14. 25:10What Happens with File I / O and Cisco
  15. 27:19Cpu Memory
  16. 36:12Inline Optimization
  17. 37:51The Reaction of the Engineers
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.