MENU

Fun & Interesting

Bull & NestJS = Achieving Scale in Node.js

Michael Guay 37,955 2 years ago
Video Not Working? Fix It Now

Node.js is single-threaded which means it is limited to a single core. How can we achieve scale? The answer is scaling our app horizontally and distributing the work amongst these instances. In this video, we look at how Bull & Nest.js allow us to do this in a Kubernetes cluster. GitHub Repo: https://github.com/mguay22/nestjs-bullmq Task Processing Nest.js: https://www.youtube.com/watch?v=btLyiMUs_Cw&t=5s Dockerize Nest.js: https://www.youtube.com/watch?v=yuVVKB0EaOQ Nest.js BullMQ docs: https://docs.nestjs.com/techniques/queues Helm CLI: https://helm.sh/docs/intro/install/ Timestamps 00:00:00 Integrate Bull 00:17:50 Move to K8s 00:29:59 Seeing it in action Get my highly-rated Udemy courses at a discount here: https://michaelguay.dev/udemy/

Comment