aerokube / ggr

A lightweight load balancer used to create big Selenium clusters
https://aerokube.com/ggr/latest/
Apache License 2.0
314 stars 74 forks source link

Moving GGR to another server #358

Closed Pavel077 closed 2 years ago

Pavel077 commented 2 years ago

Hello.

Is it possible to move GGR process to another server? What would happen to containers running on selenoid backend servers if GGR is shutdown?

vania-pooh commented 2 years ago

@Pavel077 We recommend having 2 or more Ggr replicas behind some reverse proxy like Nginx. In that case you can move Ggr replicas one by one and Nginx will do the rest. If you have only one Ggr instance running, then stopping it will certainly break your tests. Browser containers that case will be more probably just removed by Selenoid because of session timeout.

Pavel077 commented 2 years ago

Thank you! Removal of browser containers by selenoid due to session timeout is determined by -max-timeout parameter of selenoid, right?

vania-pooh commented 2 years ago

@Pavel077 mainly by -timeout flag. -max-timeout is the maximum timeout that user can request with sessionTimeout capability.

Pavel077 commented 2 years ago

Thank you!