c# - Advice On A Service to Process Live JSON feed -


i have live stream of json data pushed application. in past, have written windows service batch process data, based on timer , passing in datetime value feed reference point next batch of data need.

unfortunately, won't able take approach. required pull in json feed near real-time.

my question is: best approach? if processing data pushed json feed in real-time, if application go offline reason...i potentially miss data json feed.

i've been doing research on subject , not sure if looking @ correct implementation , great! need heartbeat monitor of kind?

this general problem real time analyses.

the solutions bigdata instance - replication , logging of stream processed, in order replay it, if node fails. guess overkill you.

i think best solution might using intermediate storage. instance redis has notifications , publish/subscribe mechanisms. way need make sure redis service running. , increase up-time, replicate on multiple servers.

this solution has other advantages, since response redis instantaneous , can use cache. if data being published in bulk operation, can process little bit slower , "nearly" real-time. , if c# service fails, know data didn't process yet - stored in redis cluster.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -