Heartbeats to decouple job runtime with RescueStuckJobsAfter?
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 45/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Tranquilla
- Stack tecnologico
- go, kubernetes
- Ambito
- backend, distributed-systems
Direzione di ricerca
Start by reading the RescueStuckJobsAfter behavior and the job lifecycle around running and graceful shutdown states. Define how a heartbeat would indicate that a long-running job is alive, then verify that active jobs are not rescued while abandoned jobs still are.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Hi there! I'm trying to build a production system leveraging River and I'm liking it so far.
My biggest issue has been that our jobs can take several hours to run, and we're often running into states where a job is "stuck" in a running state because of a Kubernetes job or something (even though we're attempting a graceful shutdown). I don't want to set RescueStuckJobsAfter to be too high, because that might unnecessarily slow down the system.
I don't fully understand why RescueStuckJobsAfter has to be an effective hard max on the runtime of a job. Would it be possible to expose some sort of "job heartbeat" that lets River know that a job is still alive and well, and use that to check whether a job needs to be rescued?
- Lingua principale
- Go
- Stelle
- 5.7k
- Fork
- 179
- Merge medio
- 15h 43m
- PR unite (30g)
- 13
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di riverqueue/river
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 45/100
riverqueue/river#1358 · 1 commento ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 78/100
riverqueue/river#1302 · 2 commenti ·
-
River job stuck at running Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
riverqueue/river#1258 · 7 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 45/100
riverqueue/river#1225 · 14 commenti ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 52/100
riverqueue/river#1185 · 2 commenti ·
Tutte le issue di riverqueue/river
Issue simili
-
Type/Bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
OpenNSW/nsw-srilanka#497 ·
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 92/100
milvus-io/birdwatcher#545 ·
-
kind/bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
kubernetes-sigs/prow#953 · 1 commento ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
caddyserver/caddy#8046 ·