Zero-Downtime deployments
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 25/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- rust
- Lĩnh vực
- infrastructure
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Rust
- Star
- 50
- Fork
- 3
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của Mic92/flakelet
Tất cả issue của Mic92/flakelet
Issue tương tự
-
bug duplicate priority: low ui
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
storytold/vectorcraft#6956 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
bug multiple issues priority: high
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
storytold/gridcraft#3928 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
crate-drift
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
po4yka/rust-skills#33 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
svix/svix-webhooks#2808 ·
Maintainer thường phản hồi trong vòng 1 ngày