Wednesday 29 April 2020

Daemon/Processes Architecture?

I'm building some backend daemons that effectively just continuously run and process new data, or respond to events.​Right now I'm simply managing this with a task that I run every n milliseconds via setTimeout/setInterval. The task wakes up, runs once, then waits for it to be woken up again.This works and I can do a few things to make it more resilient on my own, but was wondering if there was some framework, or library that has already solved and abstracted away this problem.I'm not looking for a jobs queue/manager. I'm looking more for something like express for backend data processes.Any suggestions?

Submitted April 29, 2020 at 02:59PM by 4_teh_lulz

No comments:

Post a Comment