Package Exports
- nestjs-resilience
- nestjs-resilience/dist/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (nestjs-resilience) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
A module for improving the reliability and fault-tolerance of your NestJS applications
About
NestJS Resilience is an open-source library that provides a set of reliable patterns for building resilient applications on top of NestJS. The library includes several key features, including retry, circuit breaker, and timeout patterns, which help to ensure that your application can handle failures and recover quickly from them.
With NestJS Resilience, you can easily configure these patterns for your application, allowing you to improve the reliability and fault-tolerance of your services. Whether you're building a high-traffic web application or a distributed system, NestJS Resilience provides the tools you need to build robust, failure-resistant services that can withstand even the most challenging environments.
Features
- Circuit Breaker - Automatically fail fast when a service is unavailable
- Retry - Automatically retry failed requests
- Timeout - Automatically fail fast when a service is taking too long to respond
- Bulkhead - Limit the number of concurrent requests to a service
- Fallback - Provide a fallback response when a service is unavailable
- Rate Limiting - Limit the number of requests to a service
Installation
$ npm install nestjs-resilience
$ yarn add nestjs-resilience
$ pnpm add nestjs-resilience
Usage
TODO...
Stay in touch
- Author - Alexey Filippov
- Twitter - @SocketSomeone