Execution Supervisor¶
Purpose¶
The execution supervisor in V1 is essentially the engine counterpart
to the Erlang or Elixir spawn
-command
(for a process waiting for ExecuteTransaction-commands).
This will be more complicated in future versions
where a single transaction might be processed
by geo-distributed executors to allow for collocation with shards.
SpawnExecutor¶
- from Worker
Purpose¶
Informs the supervisor about the need to spawn a new Executor.
<summary>Details</summary>
Structure¶
Field | Type | Description |
---|---|---|
spawn |
Unit | no information needed in V1 |
Effects¶
A new Executor instance is spawned or (a finished Executor is reused).
Triggers¶
- ExecutorPIDAssigned→Worker: send ExecutorPIDAssigned to the worker that sent the message