Halaman ini diterjemahkan oleh mesin. Baca versi asli dalam bahasa Inggris.

FeatureRecipe

period-budget-traefik-hub

Realizes core/period-budget on core/gateway/traefik-hub; a Release binds it in its Manifest. It emits no file: the gateway's chart Recipe, traefik-hub-chart, writes it as Traefik Hub's quota middleware on the route of each model wired to the gateway, counting in the Redis-protocol store on its cache socket. The quota counts the tokens each reply reports, read, written or both as unit names, or, under usd, their cost in US dollars, priced from a list of models the middleware ships with; a model it has no price for is refused with HTTP 422. It counts over a window that slides with time: what was counted at one moment frees again one period later. Once the count reaches limit, model requests are refused with HTTP 429; a request's count is added once its reply completes, so the request crossing the limit, and any served beside it, is served, and a reply the semantic cache serves counts nothing. Traefik's reference says the quota serves requests uncounted while the store cannot be reached. So it honours every unit, scope model, scope gateway while one model is wired, and a period of hours or days, or minutes or seconds making whole hours. It refuses scope caller, scope gateway with several models wired, a calendar month and any other period by name, and halts on a limit that is not a whole number of tokens, with nothing wired to the models or cache socket, and on any component other than core/gateway/traefik-hub. That the gateway enforces the budget is not observed by any build.

Asal-usul

ResmiDitandatangani oleh identitas penandatangan yang diakui katalog ini sebagai penerbit resmi.
Digest konten
sha256:69f8659b2fd4f3e567ff662ab31bbc9f48a37f6e010602523e17e97316a552b5
Dipublikasikan
2026-11-10T10:15:55Z
Identitas penandatangan
https://token.actions.githubusercontent.com/https://github.com/aggrega-ai/aggrega-hub/.github/workflows/catalog-publish-sign.yml@refs/heads/main

Tanda tangan

  • Resmiapplication/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:7b2d0e086c77caa4369590d35d929e23b66a9e42e64964bf20cff311b8454eb8

Referensi pada versi ini

oci://hub.aggrega.ai/featurerecipe/helm/period-budget-traefik-hub:1.0.0
Target
—
Mengimplementasikan
core/period-budget:1.0.0

Menyediakan

Templat pointer deterministik yang dihubungkan resep ini untuk konsumen.

Tidak ada templat provides yang dideklarasikan.

Workload

Tidak ada templat beban kerja yang dideklarasikan.

Nilai lokal

Tidak ada nilai lokal yang dideklarasikan.

Pemetaan values

Tidak ada pemetaan values yang dideklarasikan.

Relasi

Sisi bertipe ke dan dari entitas lain yang dipublikasikan. Referensi tanpa target yang dipublikasikan ditampilkan sebagai sisi yang terputus, bukan sebagai tautan.

Menggunakan

Digunakan oleh

Tidak ada apa pun di katalog yang bergantung pada entitas ini.

Referensi konsep FeatureRecipe →

Katalog Aggrega — indeks terbuka berisi komponen, fitur, resep, dan plugin yang merendernya.

Dibangun dengan sistem desain Aggrega yang digunakan bersama.

Privasi