~/talk

RabbitMQ and PM2 in Node.js for managing Multiple Processes

Talkat JSNation 2019 · 2019-06-05..06-08· [nodejs, microservices]
links:none on file
slides:none on file

Migrates cluster module to PM2 and RabbitMQ, replacing custom IPC with a brokered topic exchange with AMQP; HTTP forks, plus dedicated SMS/email/image worker processes, move from in-process master routing to persistent queues. PM2 provides auto-restart, clustering and metrics; RabbitMQ gives durable delivery but adds operational complexity. A loop bug spawns more processes than CPU cores; full migration and tuning take about a year in practice. Config shrinks from large cluster script to small PM2 + publish/subscribe code.

AI-written summary · about

  1. 0:00Start
  2. 3:32Cluster module
  3. 4:08Tear down our legacy
  4. 11:31RabbitMQ, the message broker
  5. 14:52Cons
~/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.