Pudu programming language
Menu
Package

@chrismichaelps / pudu-lang-resilience

Resilience pipelines for Pudu: retry, circuit breaker, timeout, fallback, hedging, rate limiting, and chaos injection

0.1.0Apache-2.01

InstallClose

Limiter.md

Markdown27 lines639 B

GitHub ↗

Limiter (seam)


type: seam capacity: CRITICAL tags: [seam]


Classification

The record of functions a rate limiter strategy takes permits from: [[src/PuduLangResilience/Limiter]]. A caller may pass any acquire function.

Adapters

  • Built in — concurrency, token bucket, fixed window, sliding window (through [[src/PuduLangResilience/Limiter/Engine]]), partitioned, and chains of any of them.
  • Custom — any function from a context to a lease.

Health

Every lease is released once, whatever the callback answers.

Referenced by

[[architecture/LANGUAGE]] · [[seams/_MOC]] · [[subsystems/Limiting]]