Make fiberd's clone rate configurable

Aperta
#47 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 4 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
1-2 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
kubernetes, rust

Direzione di ricerca

Start with pkg/fiberd/fiberd.go and inspect how core.DefaultBaseRate configures the clone token bucket, then trace how fiberd receives flags or GrantPolicy fields and how grants expose fibers.max. Decide where the rate should be configured and sized from that grant value; done means fiberd accepts the setting and a 1,000-request burst needs fewer retries than the current roughly 1,400.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

a-needs-info

Stock fiberd limits clones with a token bucket of 200 a second at W → 0,
hardcoded in pkg/fiberd/fiberd.go (core.DefaultBaseRate), where Lampyr's old
home allowed 1,000. fiber-router now waits out a rate-limit refusal within
-acquire-timeout, so bursts no longer shed, but they still pay for the retries
(about 1,400 in a 1,000-request burst). Ask fiberd for a flag or GrantPolicy field,
then size it from the grant's fibers.max.

Lingua principale
Rust
Stelle
3
Fork
2
Merge medio
3g 57m
PR unite (30g)
17

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hyperlight-dev/lampyr

Tutte le issue di hyperlight-dev/lampyr

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.