Skip to content

sgmarghade/node-scheduler-wroker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-scheduler-wroker

Simple Node Scheduler and Node Worker with RabbitMq.

This is simple and scalable Scheduler and Worker implementation using NodeJs and RabbitMq.

Worker is highly scalable and can consume up to 10k Events/instance, with scope to scale horizontally.

You will have to adjust prefetch count for worker as per need.

Setup Instructions.

  1. Setup RabbitMq as per your system.
  2. Git clone this project
    • git clone https://github.com/sgmarghade/node-scheduler-wroker.git
    • npm install
  3. To run scheduler
    • node Scheduler.js
  4. To run worker
    • node Worker.js

These are some of the stats from single node machine.

With only worker running. Only Worker Running

With Schedulers and Single worker running Worker And Scheduler Running

About

Implementing Node Scheduler and Worker with RabbitMq.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published