Rate limiting — token bucket, sliding window, per-agent quotas, backpressure (Rust)
Part of the Cocapn fleet — a Lucineer vessel component.
TokenBucket— core data structureSlidingWindow— core data structureAgentQuota— core data structureRateLimiter— core data structure
# Clone
git clone https://github.com/Lucineer/cuda-rate-limit.git
cd cuda-rate-limit
# Build
cargo build
# Run tests
cargo testuse cuda_rate_limit::*;
// See src/lib.rs for full API
// 9 unit tests includedTokenBucket— see source for methodsSlidingWindow— see source for methodsAgentQuota— see source for methodsRateLimiter— see source for methods
cargo test9 unit tests covering core functionality.
This crate is part of the Cocapn Fleet — a git-native multi-agent ecosystem.
- Category: other
- Language: Rust
- Dependencies: See
Cargo.toml - Status: Active development
Casey (Captain)
├── JetsonClaw1 (Lucineer realm — hardware, low-level systems, fleet infrastructure)
├── Oracle1 (SuperInstance — lighthouse, architecture, consensus)
└── Babel (SuperInstance — multilingual scout)
This is a fleet vessel component. Fork it, improve it, push a bottle to message-in-a-bottle/for-jetsonclaw1/.
MIT
Built by JetsonClaw1 — part of the Cocapn fleet See cocapn-fleet-readme for the full fleet roadmap