m1k1o / neko-rooms

Selfhosted collaborative browser - room management for n.eko
Apache License 2.0
433 stars 59 forks source link

[Feature Request]: Auto scale neko-rooms #52

Open gbrian opened 2 years ago

gbrian commented 2 years ago

Reopening thread https://github.com/m1k1o/neko-rooms/issues/48 for deeper discussion

Motivation

codx project offers free time-limited coding rooms for learning. So it requieres to be able to scale up/down neko-rooms based on the users demand.

@m1k1o: What do you think is the easier small first step we can take on this?

Thanks

Resources

https://github.com/kubernetes/autoscaler/tree/master/cluster-autoscaler

m1k1o commented 2 years ago

I think it would be docker swarm. Because that API is part of the docker and traefik can work nicely on top of that.

gbrian commented 2 years ago

Rreading... https://traefik.io/blog/traefik-and-docker-swarm-a-dynamic-duo-for-cloud-native-container-networking/ https://dockerswarm.rocks/traefik-v1/traefik/