![]() They are great for executing recurring tasks or saving tasks to run at a later time. But one disadvantage of this method is that once the application is restarted we tend to lose all memory stored data, making this method not scalable.Ī solution to this in Node.js applications is using crons job schedulers to schedule tasks. In Node.js applications, future tasks can be scheduled to be executed using setTimers or clearTimeout. ![]() ![]() The ability of an application to be able to set and schedule future tasks is a bonus and sometimes a must have feature for large scalable applications.
0 Comments
Leave a Reply. |