~/talk

Concurrent and Resilient Connections to Outside the BEAM

Talkat ElixirConf EU 2016 · 2016-05-11..05-12· [microservices]
slides:none on file

Keeps to concrete techniques: encapsulate TCP sockets in GenServers and choose between a checkout socket (blocking) model with pooling or an active mode + no_reply flow that uses gen_server:reply to avoid client blocking; split send/receive into separate processes to exploit TCP full‑duplex; use the connection behaviour (James Fish) with backoff/disconnect callbacks for self‑healing reconnection; demonstrated with radix (Redis driver) running a single connection process in production and working reliably under real load.

AI-written summary · about

  1. 0:00Intro
  2. 1:26Generalizing the tools
  3. 2:09The outside world is scary
  4. 2:49Who am I
  5. 3:08Where am I from
  6. 3:29Sponsor
  7. 3:44Hands Test
  8. 4:23Assumptions
  9. 5:52Redis
  10. 6:38TCP
  11. 7:15Keep the socket open
  12. 7:49Block blocking ways
  13. 8:17Sockets
  14. 8:43Pseudocode
  15. 9:24Two solutions
  16. 10:49Pooling
  17. 11:31Passive mode
  18. 12:55No reply
  19. 13:31Manual reply
  20. 15:12Bidirectional TCP
  21. 17:12Pros and Cons
  22. 20:40Resilience
  23. 22:26Xcode Connection
  24. 22:51Connect and Disconnect
  25. 24:44Synchronization
  26. 28:45Recap
  27. 29:25Resize
~/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.