Vitalii Grygoruk
1 min readMay 12, 2017

--

Awesome work guys!

Could you please clarify how does it work in a setup with multiple grid routers and load balancer? I’m trying to set up a cloudformation stack (https://cloudcraft.co/view/abe3e3a2-1769-45e9-85c0-708fef24bfa4?key=OxQ6ojh_qcXTdmMz-KgsOQ) with 1 auto-scaling group of selenoid nodes and another group of grid routers.

I’m wondering how the following scenario should be handled:

  1. GGR #1 creates a session on Selenoid Node #1?
  2. Next request is routed by LB to GGR #2. How does GGR #2 know which Selenoid node to use for proxying subsequent requests? Does it mean that load balancer should have an internal state and distribute requests based on session_id in a request?

--

--