Containers launch sequentially - can they be launched concurrently?

Đang mở
#128 1 bình luận 1 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

  • #145 của @OrtegaMatias — đã đóng, không merge

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
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
Đình trệ
Công nghệ
docker-compose, swift
Lĩnh vực
devtools

Hướng nghiên cứu

Start by reading the container launch flow and the tests that cover starting multiple services; the issue does not name specific files or test commands. Compare the sequential launch time for the 11 WireMock services with the reported parallel bash script, and determine how concurrent startup should preserve service readiness. The open pull request #145 is already linked to this work.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Finding that using container-compose with a docker-compose.yml file containing 11 wiremock servers, each servers is launched sequentially, waiting for each to complete before starting to launch the next. This means the whole launch is pretty slow for multiple containers.

This is exacerbated by a timeout issue on 1.0.0 tagged version, but not on main, the launch time for 11 services is over 5 minutes as each waits for 30 seconds. But even on main the sequential launching takes ~23 seconds.

When launching the services with a custom bash script in parallel, this is reduced to 7 seconds.

Is it feasible to launch the services in parallel?

Ngôn ngữ chính
Swift
Star
1k
Fork
61
Merge trung bình
2 ngày 4 giờ
Pull request đã merge (30 ngày)
17

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. 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.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Mcrich23/Container-Compose

Tất cả issue của Mcrich23/Container-Compose

Issue tương tự

Thêm issue về Swift

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.