#load #tower #tower-middleware #service #inner #request #ready

tower-load-shed

Immediately reject requests if the inner service is not ready. This is also known as load-shedding.

4 releases

0.3.0 Dec 19, 2019
0.3.0-alpha.2 Oct 1, 2019
0.3.0-alpha.1 Sep 11, 2019
0.1.0 Apr 27, 2019

#2156 in Asynchronous

Download history 1954/week @ 2024-07-22 1500/week @ 2024-07-29 1691/week @ 2024-08-05 2493/week @ 2024-08-12 1989/week @ 2024-08-19 1991/week @ 2024-08-26 1631/week @ 2024-09-02 1570/week @ 2024-09-09 1447/week @ 2024-09-16 1627/week @ 2024-09-23 2426/week @ 2024-09-30 2460/week @ 2024-10-07 2163/week @ 2024-10-14 1855/week @ 2024-10-21 1781/week @ 2024-10-28 2024/week @ 2024-11-04

7,864 downloads per month

MIT license

45KB
604 lines

Tower Load Shed

Immediately reject requests if the inner service is not ready. This is also known as load-shedding.

License

This project is licensed under the MIT license.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tower by you, shall be licensed as MIT, without any additional terms or conditions.


lib.rs:

Tower middleware for shedding load when inner services aren't ready.

Dependencies

~1.5MB
~37K SLoC