-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
✨ Create an OTP docker container to use with the simulation code #534
Comments
The URL for the OTP server is currently stored in
Using an environment variable makes it easier to use in a |
We also need to decide which docker image to use. This currently has 23 downloads and 1 star. |
@shankari If I remember correctly, the large size is because all the map-data was included in the build. A better approach would probably be to create an image that can fetch map data from an external source (such as an s3 bucket) |
@alvinalexander good point! However, the problem is not just the disk space, but the memory required. On my laptop, the docker image launches, but then the java process is killed.
This works. I'm going to go with this right now to unblock @njriasan |
I just wanted to update this with some details on the memory required. I was able to launch the OTP server on my laptop and in the process it consumed 8.4 GB of RAM. It was also much faster than 10 minutes for me to start up, probably closer to 2. |
I guess I need a better laptop 😄 I am surprised that it took less than 10 minutes because the millennium machines are fairly beefy and it definitely took ~ 10 minutes to read the graph.
I wonder if this is an I/O issue - maybe the docker is configured to store the containers on non-local storage. |
It would be good if we could have an OTP docker container and launch it to both:
This issue documents the design decisions related to this feature
The text was updated successfully, but these errors were encountered: