Queue reuse-mode requests when the pool is full instead of shedding them

Aperta
#41 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
3-5 giorni
Idoneità per principianti
66/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
kubernetes, rust

Direzione di ricerca

Start with internal/fiberdintegration/router.go, especially the reuse-mode capacity branch, and compare it with the fresh-mode wait behavior and -acquire-timeout. Trace how pool slots become available and how requests observe the deadline. Done when reuse requests wait for capacity within that deadline instead of immediately returning 503, with tests covering a full pool and timeout.

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

Descrizione

a-needs-info enhancement

In execution.mode: reuse, once a Revision's pool holds MaxFibers busy
Fibers, fiber-router answers the next request with an immediate 503 and
Retry-After: 1 (internal/fiberdintegration/router.go, the
len(pool.slots) >= grant.MaxFibers branch). Fresh mode instead waits within
-acquire-timeout for capacity. Reuse requests should wait for a slot to free up
within the same deadline, so a short spike on a reuse service is not shed.

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.