Seemingly unnecessary Precompilation with Julia 1.9 in a Docker container

xor0110
Mon, 05 Jun 2023 13:43:03 +0000
General Usage

I have a Julia web server running within a Docker container. Everything used to run fine with Julia 1.8.3. I’m trying to upgrade to Julia 1.9, and now it seems the server takes too much time to start when I deploy it. It runs fine locally, the server starts quickly. Looking at the remote log messages, it seems that Julia is precompiling my package, what might explain the long startup time. I don’t see any precompilation running the container locally, though.

What could be triggering precompilation again when this container runs remotely?

17 posts - 6 participants