How to implement pending tasks Node.js?

How to implement the postponement of task-functions for a large number of users? How to save them in the database, mongo, redis or somewhere else? How to do it better with a cluster, event emitters and process.nextTick ? If the server crashes or restarts how to restore task?
July 8th 19 at 11:22
1 answer
July 8th 19 at 11:24
beanstalkd, rabbitmq, gearman
If more, please tell - winfield.Kassul commented on July 8th 19 at 11:27
: what's more? Queue. Add in a single process task to a queue, processed in another task. From the list I gave can all "save" queue on disk. - Allene_Crona78 commented on July 8th 19 at 11:30
: This gives you the opportunity to call some function or functions in the user-defined time, date, or interval? How beanstalkd, rabbitmq, gearman, you can apply for that ? I don't understand( please Explain ... - winfield.Kassul commented on July 8th 19 at 11:33
in beanstalkd and gearman it is possible to do deferred tasks, setting time (delay). - Allene_Crona78 commented on July 8th 19 at 11:36

Find more questions by tags Node.jsJavaScript