Containers launch sequentially - can they be launched concurrently?

オープン
#128 コメント 1 件 リアクション 1 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

  • #145 @OrtegaMatias による — マージされずにクローズ

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
docker-compose, swift
領域
devtools

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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?

主要言語
Swift
スター
1k
フォーク
61
平均マージ
2日 4時間
マージ済み PR(30日)
17

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Mcrich23/Container-Compose のほかの issue

Mcrich23/Container-Compose の issue をすべて見る

似ている issue

Swift の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。