Zero-Downtime deployments
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 25/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- rust
- Ambito
- infrastructure
Direzione di ricerca
Start by tracing how flakelet starts and stops services and how it communicates with the HTTP proxy; the issue does not name specific files or tests. The proposed work involves running old and new instances side by side, checking the new instance's health, and routing traffic only after it succeeds. Done means a deployment can switch versions without downtime and stop the old instance only after traffic has moved.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Do you think it would be possible to add zero-downtime deployments to this?
What I mean by this that it allows the new version to start alongside the old version, then if the healthcheck succeds traffic is routed to the new version and the old version is only then stopped.
The tricky parts in this are:
- allow two instances of the services to listen on the same port (probably solved by each one running it's own namespace)
- from the outside, each version is accessible through a different port or IP which the flakelet service would need to keep track of and somehow communicate it to the http proxy (this would probably be possible by some http contract magic)
I have services that i update multiple times a day and i don't want to have a downtime each time.
Currently, we do this with kubernetes, but i'm looking for a simpler solution.
- Lingua principale
- Rust
- Stelle
- 50
- Fork
- 3
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
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 Mic92/flakelet
Tutte le issue di Mic92/flakelet
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
enhancement feature review: low Sonnet ui
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
MMFoundation/WallpaperMachine#190 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 63/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
cloudflare/workers-rs#1140 ·
I maintainer di solito rispondono entro 7 giorni
-
A-documentation S-needs-triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
Quantinuum/hugr#3344 ·
I maintainer di solito rispondono entro 1 giorno