Use caseI have multiple feeds, 50+ currentlyI want to get data from each one every 15 secondsThere are 2 possible approachesMake one setIntervalLoop through each urlUse the request library to load the dataMove to the next urlWhen all urls are done, we are solidMake multiple setIntervalsLoop through each url ONCEMake a setInterval for itWe have multiple setIntervals active that load data for that url every minute nowHow do I go about this?Since node.js doesnt support threading, this sort of puts load on the express server I guessAny suggestions?
Submitted September 13, 2019 at 06:10AM by amazeguy
No comments:
Post a Comment