Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

30 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

DistributedRateGuard

A proposed C++20/gRPC service for per-tenant API admission across replicas. It compares strict per-request authority checks with fixed-Q credits spent locally, measuring coordination cost against a bounded additional burst.

Current specification bundle

Read in this order:

  1. PRD revision 8 — product goals and release gates.
  2. SRD revision 5 — normative behavior and test obligations.
  3. HLD revision 4 — proposed process and deployment architecture.
  4. LLD revision 5 — proposed interfaces, state transitions, classes, and implementation order.
  5. Implementation stories and JSON context blocks — planned work and acceptance evidence.
  6. Agile sprint plan — minute-based effort estimates, sequence, roles, and acceptance gates.

Release plan

  • A — strict quota core: authenticated admission, exact per-request authority decisions, and safe adapter forwarding.
  • B — evaluation: deterministic replay, open-loop workloads, and reproducible reports.
  • C — distributed credits: fixed-Q local spending, bounded burst accounting, and independent state-machine/history checks.

Live policy changes (PRD-013) and long-operation permits (PRD-014) are deferred.

Status and implementation notes

The repository currently contains proposed specifications and handoff material; no implementation, tests, benchmarks, or model-checking results are claimed. All product thresholds are goals, not achieved results.

The source of truth is the current main branch. The local path hint in the context file currently contains documentation only and is not a verified Git checkout. Clone or sync main before implementation. Start at RG-001. Capture toolchain versions on the actual build host before compiling instead of guessing or claiming an untested lock. Keep enforcement services fail-closed until shared-clock provenance, witness durability, process fencing, and identity fixtures pass.

Research foundation

The design is informed by Cloud Control with Distributed Rate Limiting (SIGCOMM 2007), and compares its proposed fixed-credit contract with established systems such as Envoy ratelimit and Gubernator. No novelty, equivalent-semantics speedup, or production-readiness claim is made.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors