~/talk

Concurrent Server Architectures

Talkat GoWayFest 2.0 2018 · on Friday, 2018-09-28· [concurrency, serverless]
github:ybubnov
slides:none on file

Claims that Go uses epoll/non-blocking synchronous I/O to multiplex thousands of sockets in a few threads, and that naive “one goroutine per connection” hits the kernel OOM when you spawn 1,000,000 goroutines because each needs about 2 KB goroutine stack (≈2 TB total). Notes Linux limits like select limited to 1024 fds, recommends worker pools to cap goroutine count, and cites external benchmarks showing Go runtime schedules goroutines across cores for real parallelism.

AI-written summary · about

  1. 0:00Introduction
  2. 1:14Concurrent server challenges
  3. 3:02Sequential server approach
  4. 4:26Process and thread models
  5. 8:46Blocking vs non-blocking I/O
  6. 11:18Go's non-blocking I/O
  7. 12:44Goroutines for concurrency
  8. 14:52Worker pool pattern
  9. 15:57Standard library limitations
  10. 16:42Conclusion and Q&A
~/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.