Skip to content

SuperInstance/cuda-rate-limit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

cuda-rate-limit

Rate limiting — token bucket, sliding window, per-agent quotas, backpressure (Rust)

Part of the Cocapn fleet — a Lucineer vessel component.

What It Does

Key Types

  • TokenBucket — core data structure
  • SlidingWindow — core data structure
  • AgentQuota — core data structure
  • RateLimiter — core data structure

Quick Start

# Clone
git clone https://github.com/Lucineer/cuda-rate-limit.git
cd cuda-rate-limit

# Build
cargo build

# Run tests
cargo test

Usage

use cuda_rate_limit::*;

// See src/lib.rs for full API
// 9 unit tests included

Available Implementations

  • TokenBucket — see source for methods
  • SlidingWindow — see source for methods
  • AgentQuota — see source for methods
  • RateLimiter — see source for methods

Testing

cargo test

9 unit tests covering core functionality.

Architecture

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

Related Crates

Fleet Position

Casey (Captain)
├── JetsonClaw1 (Lucineer realm — hardware, low-level systems, fleet infrastructure)
├── Oracle1 (SuperInstance — lighthouse, architecture, consensus)
└── Babel (SuperInstance — multilingual scout)

Contributing

This is a fleet vessel component. Fork it, improve it, push a bottle to message-in-a-bottle/for-jetsonclaw1/.

License

MIT


Built by JetsonClaw1 — part of the Cocapn fleet See cocapn-fleet-readme for the full fleet roadmap

About

Rate limiting — token bucket, sliding window, per-agent quotas, backpressure (Rust)

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Rust 100.0%