diff --git a/docs_source_files/content/grid/grid_4/components_of_a_grid.en.md b/docs_source_files/content/grid/grid_4/components_of_a_grid.en.md index 59e51e007a38..09bd43088229 100644 --- a/docs_source_files/content/grid/grid_4/components_of_a_grid.en.md +++ b/docs_source_files/content/grid/grid_4/components_of_a_grid.en.md @@ -3,4 +3,55 @@ title: "Components" weight: 1 --- -> Work in progress +## Router +* Routes request each request to the corresponding handler. + +__Router__ is a point where all the requests to run a new session are sent. +It forwards the request to __Distributor__ for further processing. It routes different +requests based on where they are meant to be sent. It also helps to communicate with the +Session Map. All the communication with a session is done via router. + +## Distributor +* Contains information on nodes and its capabilities. +* Selects node on which session is run. + +__Distributor__ is responsible for selecting the node on which your session will be run. +It has all the information related to nodes and is aware of each node's capabilities. + +## SessionMap +* Datastore mapping for session id and the node. + +__SessionMap__ is data store used to store the map of session id and the node on which the session is running. + +## Nodes + +* Where the browsers live +* Registers itself to the hub and communicates its capabilities +* Receives requests from the hub and executes them + +__Nodes__ are different Selenium instances +that will execute tests on individual computer systems. +There can be many nodes in a grid. +The machines which are nodes do not need to be the same platform +or have the same browser selection as that of the hub or the other nodes. +A node on Windows might have the capability of +offering Internet Explorer as a browser option, +whereas this wouldn't be possible on Linux or Mac. + +## Hub +* Accepts requests to run tests +* Acts as a Router +* Acts as a Distributor +* Acts as a SessionMap +* Takes instructions from client and executes them remotely on the nodes + +A __Hub__ is a central point where all your tests are sent. +It allows you to run a Router, Distributor and a SessionMap on the same machine using a single command. +The hub needs to be reachable from the respective clients (i.e. CI server, Developer machine etc.). +It communicates with the node to run your selenium sessions. Instead of running each component separately, +you can use _hub_ role to run all 3 together. + +## Standalone + +A __Standalone__ version of Grid consists of all components running as single process, including the node. +You can directly start running sessions after starting the standalone version of the Grid. diff --git a/docs_source_files/content/grid/grid_4/components_of_a_grid.es.md b/docs_source_files/content/grid/grid_4/components_of_a_grid.es.md index eddc7f8a1ccb..e629eb7d802d 100644 --- a/docs_source_files/content/grid/grid_4/components_of_a_grid.es.md +++ b/docs_source_files/content/grid/grid_4/components_of_a_grid.es.md @@ -4,7 +4,7 @@ weight: 1 --- {{% notice info %}} - Page being translated from + Page being translated from English to Spanish. Do you speak Spanish? Help us to translate it by sending us pull requests! {{% /notice %}} diff --git a/docs_source_files/content/grid/grid_4/components_of_a_grid.fr.md b/docs_source_files/content/grid/grid_4/components_of_a_grid.fr.md index dc156b365f69..a59e5b3252b3 100644 --- a/docs_source_files/content/grid/grid_4/components_of_a_grid.fr.md +++ b/docs_source_files/content/grid/grid_4/components_of_a_grid.fr.md @@ -4,7 +4,7 @@ weight: 1 --- {{% notice info %}} - Page being translated from + Page being translated from English to French. Do you speak French? Help us to translate it by sending us pull requests! {{% /notice %}} diff --git a/docs_source_files/content/grid/grid_4/components_of_a_grid.ja.md b/docs_source_files/content/grid/grid_4/components_of_a_grid.ja.md index ef6289f76606..91f9d964da85 100644 --- a/docs_source_files/content/grid/grid_4/components_of_a_grid.ja.md +++ b/docs_source_files/content/grid/grid_4/components_of_a_grid.ja.md @@ -4,7 +4,7 @@ weight: 1 --- {{% notice info %}} - Page being translated from + Page being translated from English to Japanese. Do you speak Japanese? Help us to translate it by sending us pull requests! {{% /notice %}} diff --git a/docs_source_files/content/grid/grid_4/components_of_a_grid.ko.md b/docs_source_files/content/grid/grid_4/components_of_a_grid.ko.md index ecb983c7bb6c..3b761a89af5a 100644 --- a/docs_source_files/content/grid/grid_4/components_of_a_grid.ko.md +++ b/docs_source_files/content/grid/grid_4/components_of_a_grid.ko.md @@ -4,7 +4,7 @@ weight: 1 --- {{% notice info %}} - Page being translated from + Page being translated from English to Korean. Do you speak Korean? Help us to translate it by sending us pull requests! {{% /notice %}} diff --git a/docs_source_files/content/grid/grid_4/components_of_a_grid.zh-cn.md b/docs_source_files/content/grid/grid_4/components_of_a_grid.zh-cn.md index 7d3d5591bb3e..24d0e24aad99 100644 --- a/docs_source_files/content/grid/grid_4/components_of_a_grid.zh-cn.md +++ b/docs_source_files/content/grid/grid_4/components_of_a_grid.zh-cn.md @@ -4,7 +4,7 @@ weight: 1 --- {{% notice info %}} - Page being translated from + Page being translated from English to Chinese. Do you speak Chinese? Help us to translate it by sending us pull requests! {{% /notice %}} diff --git a/docs_source_files/content/grid/grid_4/setting_up_your_own_grid.de.md b/docs_source_files/content/grid/grid_4/setting_up_your_own_grid.de.md index a1e0cc56538b..267bbf028ce1 100644 --- a/docs_source_files/content/grid/grid_4/setting_up_your_own_grid.de.md +++ b/docs_source_files/content/grid/grid_4/setting_up_your_own_grid.de.md @@ -1,5 +1,5 @@ --- -title: "Aufsetzen eines Grid" +title: "Aufsetzen" weight: 2 ---