A Complete Guide On Nest JS Queue
ฝัง
- เผยแพร่เมื่อ 21 ก.ค. 2024
- In this tutorial, we'll unravel the mysteries of Nest Queue, understanding what it is and how it works. Watch as we explore the integration of Bull Queue and Redis to enhance the queuing capabilities of your Nest.js applications.
🔗 Official Nest Queue Doc: docs.nestjs.com/techniques/qu...
🔗 Github Repo Link: github.com/Lakshya-Saini/Nest...
🔗 Install Docker Desktop: www.docker.com/products/docke...
🔗 Install Redis: redis.io/download/
-- Timestamps --
00:00 - Intro
00:32 - What is Nest Js Queue ?
00:52 - How Bull Queue Works ?
01:50 - Install Docker and Redis
03:15 - Nest JS Sample App
04:30 - Register Bull Config
05:53 - Register Queue
07:03 - Register Named Bull Config
07:59 - Producer | Add Jobs to Queue
11:37 - Consumer | Add Worker Processes
14:42 - Event Listeners
Learn step-by-step how to set up Nest Queue with Bull Queue and Redis, and gain insights into the seamless functioning of this powerful combination. Whether you're a beginner or an experienced Nest.js developer, this quick demo will guide you through integrating and using queues efficiently in your existing Nest application.
nestjs bull nestjs queue
Great video, we want more such videos
very good tutorial. Thanks a lot.
This is extremely good content. Thank you very much!
Thank You for the Tutorial.
Hey Thanks, a lot . loved the content and the efforts u have put in, keep up the good work
It very clear and to the point, i suggest some hot topics microservice, schedulers ..
Thanks for the video. It was very clear and on to the point.
It would be also great to go a bit further, and talk/show implementations in a monorepo project, if creating a microservice for the job processing and some more advance details.
Thanks again!
Thanks, glad you liked the video. Also thanks for suggestion. Will keep that in mind for upcoming videos.
Thank you!
thanks for The content.
I have a question: can we use sqlite instead of redis?
No we can't. Since bull is built on top of redis and uses it to persist job data. However even if there's a way to configure SQLite, it might not be as performant as Redis for queue management, especially in scenarios with high concurrency or large datasets.
The repo is not updated. Please update
For easyness I've created separate branch for each step. Pls refer to event-listeners branch for complete code.