A lightweight load balancer used to create big Selenium clusters
310
stars
435
commits
Go
primary language
Dec 17, 2024
updated
UNMAINTAINED. Consider https://aerokube.com/moon/latest as alternative.
Go Grid Router (aka Ggr) is a lightweight active load balancer used to create scalable and highly-available Selenium clusters.

To use Go Grid Router do the following:
$ mkdir -p /etc/grid-router/quota
users.htpasswd file:$ htpasswd -bc /etc/grid-router/users.htpasswd test test-password
$ java -jar selenium-server-standalone.jar -port 4445
You can also start Selenoid instead.
$ cat /etc/grid-router/quota/test.xml
<qa:browsers xmlns:qa="urn:config.gridrouter.qatools.ru">
<browser name="firefox" defaultVersion="59.0">
<version number="59.0">
<region name="1">
<host name="localhost" port="4445" count="1"/>
</region>
</version>
</browser>
</qa:browsers>
Note: file name should correspond to username you added to htpasswd file. For user test we added on previous steps you should create test.xml.
# docker run -d --name ggr -v /etc/grid-router/:/etc/grid-router:ro --net host aerokube/ggr:latest-release
http://test:test-password@localhost:4444/wd/hub
Complete reference guide (including build instructions) can be found at: http://aerokube.com/ggr/latest/
Go
97.1%
Shell
2.6%
A lightweight load balancer used to create big Selenium clusters
310
stars
435
commits
Go
primary language
Dec 17, 2024
updated
UNMAINTAINED. Consider https://aerokube.com/moon/latest as alternative.
Go Grid Router (aka Ggr) is a lightweight active load balancer used to create scalable and highly-available Selenium clusters.

To use Go Grid Router do the following:
$ mkdir -p /etc/grid-router/quota
users.htpasswd file:$ htpasswd -bc /etc/grid-router/users.htpasswd test test-password
$ java -jar selenium-server-standalone.jar -port 4445
You can also start Selenoid instead.
$ cat /etc/grid-router/quota/test.xml
<qa:browsers xmlns:qa="urn:config.gridrouter.qatools.ru">
<browser name="firefox" defaultVersion="59.0">
<version number="59.0">
<region name="1">
<host name="localhost" port="4445" count="1"/>
</region>
</version>
</browser>
</qa:browsers>
Note: file name should correspond to username you added to htpasswd file. For user test we added on previous steps you should create test.xml.
# docker run -d --name ggr -v /etc/grid-router/:/etc/grid-router:ro --net host aerokube/ggr:latest-release
http://test:test-password@localhost:4444/wd/hub
Complete reference guide (including build instructions) can be found at: http://aerokube.com/ggr/latest/
Go
97.1%
Shell
2.6%