~/talk

Scalable event-driven applications with NestJS

Talkat Conf42 JavaScript 2022 · on Thursday, 2022-11-17· [nodejs, microservices]
slides:none on file

NestJS + Redis queues run in Docker with Make targets (make start, make monitor, start Step 1/Step 2) and a channel monitor that collects queue metrics so you can watch jobs waiting. Demo simulates a 3x traffic spike, then applies two fixes: split critical work onto a dedicated trade queue with zero waiting jobs and raise the default queue worker count to 3. Also covers send vs emit semantics, messagePattern vs eventPattern, TypeScript DI bootstrap, and that the changes restore steady processing.

AI-written summary · about

  1. 0:00Introduction
  2. 2:48NestJS for scalable dev
  3. 5:39Monoliths vs microservices vs event-driven
  4. 7:06Event-driven with NestJS
  5. 9:57Demo setup
  6. 11:22Monitoring event queues
  7. 12:03Handling traffic spikes
  8. 13:29Scaling with NestJS
  9. 15:35Recap and next steps
~/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.