Question about scalability
Closed this issue · 3 comments
Hi,
First sorry, I couldn't find any other way to contact. So creating an issue for a question.
I stumbled onto this project and it looks really awesome. I got it working with one machine after couple of configuration problems.
Could you tell how are you planning to run this across multiple servers? It looks like it might be compatible with docker swarm but just wanting to check.
Also, how much effort do you think it would take to add kubernetes support as a cloud provider?
Thank you
@indrekj hi, currently we tested it with simple Docker API only.
Summoning @smecsia for kubernetes question.
For scalability you can use one of the following similar projects:
- http://github.com/seleniumkit/gridrouter
- http://github.com/seleniumkit/selenograph (same as the first but with statistics and frontend)
- http://github.com/aandryashin/ggr (Go implementation of the first one)
Hi @indrekj ,
thank you for your interest! We actually have not considered alternative providers yet. But the API has been developed with such intention in mind (it is possible to extend AbstractCloud
class and to implement launchContainer
and removeContainer
methods accordingly). We may consider Docker Swarm provider implementation as our near future plans, but kubernetes is not our primary environment. By the way any PRs are welcome :).
As for the running across multiple servers, we're currently running many nodes of this service behind the multiple gridrouter
and selenograph
instances, that are behind the load balancer instance. This approach gives us scaling out of the box.
Thank you, this was very helpful.
By the way any PRs are welcome :).
Maybe in few weekends.