Hacker News new | ask | show | jobs
Ask HN: Modern Node.js Request Fault Tolerance Library?
2 points by rsmets 1146 days ago
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.

4 comments

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.

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.
Just heard about Dapr last week. Might be more than what you are asking, though but it’s probably worth a look.

https://dapr.io/

Oops, forgot to include the Hystrix link, https://github.com/Netflix/Hystrix