💪 resilient and 🚥 fail-fast to 💩 failures or ⌚ delays
Make your functions
Add rate limit, retry and circuit-breaker behaviour to your functions.
Features
- Limits
✋ rate of executions to comply with third-party API limits✅ - Retries
💩 failing executions in temporary, unexpected system and💥 network failures✅ - Uses circuit breakers to
🚥 fail-fast until it is safe to retry✅ - Supports Bluebird
🐦 promises✅
How to install
npm install perseverance
How to contribute
You can contribute either with code (e.g., new features, bug fixes and documentation) or by donating 5 EUR. You can read the contributing guidelines for instructions on how to contribute with code.
All donation proceedings will go to the Sverige för UNHCR, a swedish partner of the UNHCR - The UN Refugee Agency, a global organisation dedicated to saving lives, protecting rights and building a better future for refugees, forcibly displaced communities and stateless people.
Used by
-
request-on-steroids - An HTTP client
✨ with retry, circuit-breaker and tor support📦 out-of-the-box -
facebook-login-for-robots - Facebook Login for
🤖 robots
License
Read the license for permissions and limitations.