... | @@ -7,16 +7,7 @@ protocol. |
... | @@ -7,16 +7,7 @@ protocol. |
|
|
|
|
|
## [[Dispatcher | RPC-Server]]
|
|
## [[Dispatcher | RPC-Server]]
|
|
|
|
|
|
A **_Dispatcher_** is a server which provides clients with _Instances_.
|
|
A **_Dispatcher_** is a server which:
|
|
|
|
|
|
Its main job is to maintain a pool of _Instances_ and whenever a clients issues a _dispatch_ call
|
|
* Provides clients with _Instances_.
|
|
to pop one from the pool and give its connection details to the client.
|
|
* Maintains a pool of _Instances_. |
|
|
|
|
|
Just as importantly, it's responsible for never letting the pool deplete by replenishing it after
|
|
|
|
every _dispatch_ call.
|
|
|
|
|
|
|
|
The aforementioned connection details include the URL of the Instance (_host:port_) and its
|
|
|
|
authentication token, you can imagine what happens after that.
|
|
|
|
|
|
|
|
Both servers use the same RPC protocol, [Arachni-RPC](https://github.com/Arachni/arachni-rpc),
|
|
|
|
but they, of course, have different [APIs](https://github.com/Arachni/arachni/wiki/RPC-API). |
|
|