An open API service indexing awesome lists of open source software.

https://github.com/murphsicles/tower

Service/middleware abstraction for Zeta — Tower Service, Layer, Buffer, Retry, Timeout, Load
https://github.com/murphsicles/tower

Last synced: 22 days ago
JSON representation

Service/middleware abstraction for Zeta — Tower Service, Layer, Buffer, Retry, Timeout, Load

Awesome Lists containing this project

README

          

# @net/tower — Service/Middleware Abstraction for Zeta

Auto-converted from [tower](https://crates.io/crates/tower) v0.5.3 via [Dark Factory](https://github.com/murphsicles/dark-factory).

## Features
- **Service** trait — async function from Request to Result
- **Layer** trait — middleware composition and stacking
- **Buffer** — per-service request buffering with bounded capacity
- **Retry** — automatic retry with configurable policy and backoff
- **Timeout** — per-request timeouts
- **RateLimit** — token-bucket rate limiting
- **Load** — capacity-aware load shedding
- **Discover** — dynamic service discovery for load balancing
- **filter** — request filtering and rejection
- **steer** — traffic steering across services
- **util** — ready, oneshot, optional, boxed service adapters

## Stats: ~5,000 lines, 0 unsupported items

## License
MIT