dockerspawner icon indicating copy to clipboard operation
dockerspawner copied to clipboard

reduce API requests by monitoring state using `docker.events`

Open minrk opened this issue 8 years ago • 1 comments
trafficstars

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.

minrk avatar Jul 14 '17 14:07 minrk

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

yuvipanda avatar Jul 14 '17 16:07 yuvipanda