Announcing FlowGuard: Next-gen adaptive backpressure for the Rust ecosystem

⚓ Rust    📅 2025-12-21    👤 surdeus    👁️ 2      

surdeus

Texto:

Hello Rustaceans,

I would like to announce the first release of FlowGuard, a library focused on system resilience.

My name is Cleiton Augusto, and I created this library because I saw a gap in the ecosystem for easy-to-use, production-ready adaptive limiters. Inspired by Netflix's concurrency-limits and the TCP Vegas congestion control, FlowGuard brings intelligence to how we handle load in our services.

Why use it? Static rate limiters are reactive. FlowGuard is proactive. By measuring the time it takes for your futures to resolve, it understands if your system is healthy or struggling.

Technical Stack:

  • Built for Tower 0.5 and Axum 0.8.
  • Uses thiserror for clean error handling.
  • Optimized for async execution with tokio.

I have included a detailed benchmark suite and a server demo in the repository. I would love to hear your thoughts on the LimitStrategy trait design and potential integration with other runtimes.

Check it out here: https://github.com/cleitonaugusto/flow-guard, Crates.io: crates.io: Rust Package Registry, flow-guard = "0.1.0"

Best regards, Cleiton Augusto

1 post - 1 participant

Read full topic

🏷️ Rust_feed