4 ms·
Ask HN: Modern Node.js Request Fault Tolerance Library?
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.
- rsmets 3y agoOops, forgot to include the Hystrix link, https://github.com/Netflix/Hystrix https://github.com/Netflix/Hystrix
- tucaz 3y agoJust heard about Dapr last week. Might be more than what you are asking, though but it’s probably worth a look. https://dapr.io/ https://dapr.io/
- speedgoose 3y agoIt’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 3y agoI 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.