~/talk

Deploying node.js at scale

Talkat Codemotion Amsterdam 2016 · 2016-05-11..05-12· [nodejs, microservices]
slides:none on file

Starts as a MEAN monolith that dies under real load because Mongoose populate triggers hundreds of extra queries and unclosed file descriptors exhaust the OS until SSH fails; switching MongoDB to Postgres and replacing pipes with pump to close streams fixes some problems. Team growth forces a move to migrate monolith to microservices, using gossip/ SWIM, consistent-hash rings and a local tool called Fuge. Production stack ends up with ringpop + hyperbahn for app-level sharding and TChannel for RPC/tracing; Uber runs ringpop at ~20M TPS, but documentation and operational complexity remain challenging.

AI-written summary · about

  1. 0:00Intro
  2. 1:49Choosing libraries
  3. 3:21Git Clone
  4. 3:36MongoDB
  5. 7:28Amazon
  6. 8:20File descriptors
  7. 10:11Back online
  8. 10:38The big problem
  9. 13:27The happy face
  10. 14:19The desperate thing
  11. 14:47Not the best solution
  12. 15:45Refactoring
  13. 16:19Microservices
  14. 16:35Microservices Architecture
  15. 17:54fuge
  16. 18:15Q interaction
  17. 18:59Service discovery
  18. 20:24Running on HDD
  19. 21:33Swing
  20. 25:49Update service topology
  21. 27:02shard
  22. 28:28secret
  23. 29:13ringpop
  24. 30:06sharding
  25. 31:18hyperbond
  26. 32:11circuit breaking
  27. 32:45kill HTTP
  28. 33:07TCP interpretation
  29. 33:34TCP documentation
  30. 34:18AWS Lambda
  31. 35:28Functional reactive programming
  32. 35:53Dont be too late
  33. 36:16Open Source
~/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.