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

reduce API requests by monitoring state using docker.events #169

Open
minrk opened this issue Jul 14, 2017 · 1 comment
Open

reduce API requests by monitoring state using docker.events #169

minrk opened this issue Jul 14, 2017 · 1 comment

Comments

@minrk
Copy link
Member

minrk commented Jul 14, 2017

We should follow kubespawner's example and monitor container events instead of querying the docker API every time.

Most importantly, if we can avoid .poll() making any API requests, instead referring directly to the event stream, that should improve the scalability quite a bit.

@yuvipanda
Copy link
Contributor

Yeah, scalability improved massively for kubespawner with this change. +1 for making it happen for docker too!

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

3 participants