Skip to content
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

Pre-create Packet Tracer containers #5

Open
gomezgoiri opened this issue Nov 18, 2015 · 1 comment
Open

Pre-create Packet Tracer containers #5

gomezgoiri opened this issue Nov 18, 2015 · 1 comment

Comments

@gomezgoiri
Copy link
Member

One of the main problems of creating Packet Tracer instances (i.e., Docker containers running PT) on demand it that it takes a long time to start them (see preliminary performance testing results).

This forces users to wait up to 15 seconds before start interacting with their widget. Furthermore, it makes unit testing unnecessarily slow.

An improvement would be to create containers before users demand them and then pause these containers (so they won't consume CPU, only memory) before they are needed.

@gomezgoiri
Copy link
Member Author

A first iteration could pre-create containers as a response to API calls (issue #7).

A more sophisticated algorithm should take into account the following metrics to decide whether the server should pre-create more containers or stop doing it:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant