Home NodeJS Async or cluster
Reply: 0

NodeJS Async or cluster

user704 Published in April 22, 2018, 10:08 pm

I'm writing a program that gives data a new format. This new format is given by a script. This script has to be called by another script that passes the data. THe data will be passes as days in a task. So if we have 30 days then a task can look like this: I got 30 days, so I start with day 1. Calls functions and says: "Here is day 1 with data good luck, when you are done report back to me and I will see if i have another day". This will go for all 30 days. A day can have between 0-1440 datapoints.

What is the best way to achieve this? Async or cluster/child proces?

(I have done research for Node async and cluster but still don't know what is the best approach?)

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.300725 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO