| Crates.io | resilience-rs |
| lib.rs | resilience-rs |
| version | 0.1.11 |
| created_at | 2024-12-04 01:20:16.717558+00 |
| updated_at | 2024-12-04 08:28:59.324649+00 |
| description | Resilience patterns in Rust. |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1470886 |
| size | 25,515 |
resilience-rsThis is a Rust library for building resilient applications. It provides a set of functional decorators to help you build applications that are able to withstand failures and recover from them.
The bulkhead pattern is a way to limit the number of concurrent requests that can be made to a service. This can help prevent a service from being overwhelmed by too many requests at once.
The circuit breaker pattern is a way to handle failures in a service by temporarily stopping requests to that service. This can help prevent cascading failures in your application.
The rate limiter pattern is a way to limit the number of requests that can be made to a service over a given period of time. This can help prevent a service from being overwhelmed by too many requests.
The retry pattern is a way to automatically retry requests that have failed. This can help improve the reliability of your application by automatically recovering from transient failures.
The timeout pattern is a way to limit the amount of time that a request can take. This can help prevent your application from hanging indefinitely if a service is slow to respond.