node.js - NodeJS to poll data from N sources every X seconds -
is nodejs choice poll data n third party sources on rest interface.
i need (almost) parallelize can support real time updates.
question - nodejs choice this?
another caveats are:
- if response large each polling , rapid (perhaps in 100s of megas) must try use multiple node processes.
- server response each polling should less interval time of polling cycle else may hit condition process may become unresponsive , fail.
you may choose use reactive programming scenario. try rx.js. in handling process in controlled manner.
Comments
Post a Comment