How to speed up solace standalone docker?
hello, i'm working with solace pubsub image (solace/solace-pubsub-standard:latest), and using it in testing takes a lot of time, as it takes almost 30 seconds to start it up, compared to a few seconds for other images i'm using (e.g. mongodb).
is there a way to speed up the image startup time by allocating more resources or disabling some features?
Answers
-
Hi @rlsf,
The solace container does take a bit longer to startup than others. Allocating more resources might help some but I wouldn't expect to get it down to only a few seconds. Have you tried to use the `docker stats` command to see if it's maxing out any resources during start-up? For me it seems to take ~22-25 seconds.
Also out of curiosity, for testing purposes are you starting up and tearing down the container for each test or bringing it up once to run multiple tests against?
0