design patterns - Asynchronous processing with fallback java -


i working on java application makes calls web service, dont want incur additional latency while making these calls hence planning on doing asynchronously. using threads 1 way go approach might become unreliable if calls dependent service fail because of various reasons. looking kind of in-process asynchronous service fallback temporarily store (inprocess database ?) , retry failed requests. there exiting solutions out there achieve ? if not if point me similar task this.

thanks

actually, i've not yet tried it, reactor node.js , should allow program using event-driven paradigm.

please check out , let know if suits needs.


Comments

Popular posts from this blog

Change php variable from jquery value using ajax (same page) -

Pull out data related to my apps from Android Play Store and iOS App Store -

How can I fetch data from a web server in an android application? -