seleniumhq.github.io icon indicating copy to clipboard operation
seleniumhq.github.io copied to clipboard

[🐛 Bug]: Unclear documentation for Selenium Grid Router

Open kool79 opened this issue 3 years ago • 0 comments

What happened?

In a documentation for Router we have:

It is the entry point of the Grid, all external requests will be received by it. The Router behaves differently depending on the request. If it is a new session request, the Router will add it to the New Session Queue. The Distributor regularly checks if there is a free slot. If so, the first matching request is removed from the New Session Queue. The Router will receive the event and poll the New Session Queue to get the new session request. If the request belongs to an existing session, the Router will send the session id to the Session Map, and the Session Map will return the Node where the session is running. After this, the Router will forward the request to the Node.

For me the sentence marked with italic font is unclear:

  1. How Router will recieve the event if there are no connection (see picture) between EventBus and Distributor with Router?

2.Why Router should poll Session Queue for new session requests? why it requires "new session request" if sessions should be created by Distributor? Also in a previous sentence there is: "request is removed from the New Session Queue" -- so what data Router expect to find here?

scr_2022_07_19T01_49_32

What browsers and operating systems are you seeing the problem on?

all

kool79 avatar Jul 18 '22 23:07 kool79