Hey guys, what do you suggest for distributed job scheduling? right now everything is under a single repository. we plan to convert our back-end to mono-repo with microservices architecture but that is not milestoned yet. so, I found out that I can use miaowing/nest-schedule module and implement distributed locking on it using Redis, however I wanna know my options. for example, Bull looks promising as well but It will probably introduce complexity. anyway, I am waiting for your suggestions. thank you
#Distributed Job Scheduling
6 messages · Page 1 of 1 (latest)
for crons/timers I use @nest/schedule with redis distributed locking
for jobs I use bull (i.e. delayed, priority jobs, and ratelimit on throughput)
and for jobs where retrying and message delivery is critical, I use kafka/rabbit
I don't think there's a true answer for everyone's problems, it totally depends on the nature of the applications :)
Why not use plain old crons that would launch your js scripts / a docker container ?
I use Kubernetes crons which have a retry mechanism, and when its critical I also use rabbit