10gen / mongo-orchestration

Apache License 2.0
7 stars 11 forks source link

Use ThreadPoolExecutor to start clusters more efficiently #300

Closed ShaneHarvey closed 1 year ago

ShaneHarvey commented 1 year ago

Fixes https://github.com/10gen/mongo-orchestration/issues/297

ShaneHarvey commented 1 year ago

Tested here: https://spruce.mongodb.com/version/640bc42761837d04a11ac601/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

ShaneHarvey commented 1 year ago

This change saves ~12 seconds when starting shared cluster with auth+ssl:

This is a little less impressive a result than I was expecting but still worthwhile. I bet there are other bottlenecks we can improve.