Containers launch sequentially - can they be launched concurrently?

Aperta
#128 1 commento 1 reazione 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

  • #145 di @OrtegaMatias — chiusa senza merge

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
docker-compose, swift
Ambito
devtools

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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?

Lingua principale
Swift
Stelle
1k
Fork
61
Merge medio
2g 4h
PR unite (30g)
17

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Mcrich23/Container-Compose

Tutte le issue di Mcrich23/Container-Compose

Issue simili

Altre issue su Swift

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.