cnoe-io / idpbuilder

Spin up a complete internal developer platform with only Docker required as a dependency.
https://cloud-native.slack.com/archives/C05TN9WFN5S
Apache License 2.0
149 stars 45 forks source link

parallel install core #286

Closed nabuskey closed 2 weeks ago

nabuskey commented 3 weeks ago

Currently, we install core packages sequentially and some of them take minimum one minute to install. We can install them in parallel to significantly reduce bootstrap time.

Current:

# output of time ./idpbuilder create --recreate
real    2m53.446s
user    0m1.647s
sys 0m0.934s

With this PR:

# output of time ./idpbuilder create --recreate
real    1m27.973s
user    0m1.729s
sys 0m0.919s

The absolute amount in reduction varies between systems, but it should reduce the time to bootstrap by a similar percentage.