I am trying to improve app launching. Currently, my apps take 20-15 seconds to start. I have isolated the issue. Here I have printed out the timings when I start the container manually with docker run:
From this I have isolated that the container itself launches fine. In other tests,
I have isolated the data load is not taking all that long. However, there appears to be an independent process, that takes a majority of the loading time eg it takes at least ten seconds for the “Listening on…” message to appear. I say it is independent, because I can move the data processing code into “server-start” contexts which alleviates maybe second or two of startup time. Is this a networking/authentication issue or something?