Curious if anyone knows of a modern request fault tolerance library of framework for Node.js?
Something akin to what [Hystrix] was for the Java ecosystem.
👤 speedgoose Accepted Answer ✓
It’s not what you asked, I understood after I clicked the hystrix link, but so I will post the comment in case it helps:
The node library "got" is a good alternative to the "request" node library and will retry automatically the HTTP requests that failed for technical reasons.
👤 austin-cheney
I use a home grown web socket solution that makes use of message queues. If the connection is solid all messages are sent in order, but otherwise the messages are stored in an array as part of application state until the connection becomes healthy.
👤 tucaz
Just heard about Dapr last week. Might be more than what you are asking, though but it’s probably worth a look.