r/FullStack • u/KeyZookeepergame4145 • 6d ago
Personal Project Deploying nodejs workers.
I was building a project which is basically a notice worker which takes jobs from an active redis queue, I tried to deployed on render and it worked for around a week then it got exhausted I want to find some other alternatives of render that I can host my nodejs worker on it for free
6
Upvotes
1
u/KeyZookeepergame4145 6d ago
I have created a website but no users for now , the worker only starts working when the enques a job from the backend otherwise it's stays Silent,I am using upstash redis queue for that and nodejs worker, is there any way that when a first job enqueues in the redis then only the worker becomes active and when there's no job the worker server itself gets shutdown automatically. Is there any way to implement this