How to reduce the creation time of projects/environments in short-lived containers #4661
-
Hello, I use short-lived containers to run my pipelines and workflows, it works like a charm. Currently it takes about 30 seconds, not a big deal, but I was wondering if I can optimize this with some configuration. I tried some jvm settings but without significant improvement. Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
the only decent approach is to create your own custom container that only contains the functionality you need, or does not contain what you definitely do not need (I'm looking at you, Beam and Cassandra!). That should already more or less cut your startup time in half. |
Beta Was this translation helpful? Give feedback.
-
OK thanks, |
Beta Was this translation helpful? Give feedback.
the only decent approach is to create your own custom container that only contains the functionality you need, or does not contain what you definitely do not need (I'm looking at you, Beam and Cassandra!). That should already more or less cut your startup time in half.
Unfortunately, removing functionality from the default image won't shrink your image size and (probably) won't help much in the startup time.