Цю сторінку перекладено машинно. Читати англійський оригінал.

FeatureRecipe

period-budget-apisix

Realizes core/period-budget on the gateway core/gateway/apisix; a Release binds it in its Manifest. It emits no file: the gateway's chart Recipe, apisix-chart, reads the attachment and writes APISIX's token rate limiting onto the chat routes of the models wired to the gateway's models socket, and writes no completion route, since APISIX counts no tokens on one. The gateway counts the tokens each model's reply reports, read, written or both as unit names, over a window of period that opens with the first model request after the previous window closed rather than on the clock. Once the count reaches limit it answers further model requests with HTTP 503 until the window closes. It adds a request's tokens once the reply is complete, so the request that crosses the limit, and any answered beside it, is served, and a reply the gateway's semantic cache serves counts nothing and is served past the limit. The count is kept in the memory of the gateway process, so the chart runs one replica while the budget is attached, and a restart starts a new window. So it honours unit total_tokens, prompt_tokens or completion_tokens, scope gateway, model or caller, and a period of seconds, minutes, hours or days. Scope caller gives each caller infra.callers declares a count of its own across every route, the gateway telling them apart by the key each presents; with no caller declared it is refused by name. It refuses usd and calendar months by name, and halts on a limit that is not a whole number of tokens, on a second such attachment, with nothing wired to the models socket, and on any component other than core/gateway/apisix.

Походження

ОфіційнийПідписано ідентичністю підписувача, яку цей каталог визнає офіційним видавцем.
Дайджест вмісту
sha256:67ac52847fbe798bf757e1a5ac891fc305aa894eb0bfa5d72f92bb4cdfe27f32
Опубліковано
2026-11-10T10:15:47Z
Ідентичність підписувача
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Підпис

  • Офіційнийapplication/vnd.dev.sigstore.bundle.v0.3+json

    https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

    sha256:fa80d2e654ff4648fa9e2052481d6d8df4e3b0ba02d28b41eb1550b1af384844

Посилання на цю версію

oci://hub.aggrega.ai/featurerecipe/helm/period-budget-apisix:1.0.0
Ціль
—
Реалізує
core/period-budget:1.0.0

Надає

Детерміновані шаблони вказівників, які цей рецепт під’єднує для споживачів.

Шаблонів provides не оголошено.

Workload

Шаблон робочого навантаження не оголошено.

Локальні значення

Локальних значень не оголошено.

Відображення значень

Відображення значень не оголошено.

Зв’язки

Типізовані ребра до інших опублікованих сутностей і від них. Відсилання без опублікованої цілі відображається як розірване ребро, а не як посилання.

Використовує

Використовується в

Ніщо в каталозі не залежить від цієї сутності.

Довідка про поняття FeatureRecipe →

Каталог Aggrega — відкритий індекс компонентів, функцій, рецептів і плагінів, які їх рендерять.

Створено на основі спільної дизайн-системи Aggrega.

Конфіденційність