wip
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# Hero
|
||||
# Base Object and Actor Backend
|
||||
|
||||
Hero is a program that runs scripts in contexts on behalf of a peer. Hero aims to support a language sufficient to support all of one's digital actions. As such, hero can become a tool of digital sovereignty, allowing people and groups to own their own structured data and functionality to act on it.
|
||||
|
||||
@@ -12,11 +12,11 @@ Hero is a program that runs scripts in contexts on behalf of a peer. Hero aims t
|
||||
|
||||
## Core
|
||||
|
||||
In its core, a [dispatcher](#dispatcher) dispatches jobs to execute scripts to [workers](#worker) over redis. Workers spawn appropriate engine instances to execute scripts within the defined [confines]() of the job.
|
||||
In its core, a [supervisor](#supervisor) dispatches jobs to execute scripts to [workers](#worker) over redis. Workers spawn appropriate engine instances to execute scripts within the defined [confines]() of the job.
|
||||
|
||||
### Components
|
||||
|
||||
#### [Dispatcher](./core/dispatcher)
|
||||
#### [Supervisor](./core/supervisor)
|
||||
|
||||
Component responsible for distributing jobs to workers over Redis.
|
||||
|
||||
@@ -30,7 +30,7 @@ A unit of work that executes a Rhai or Hero script.
|
||||
|
||||
#### [Worker](./core/worker)
|
||||
|
||||
An entity that processes jobs dispatched by the dispatcher.
|
||||
An entity that processes jobs dispatched by the supervisor.
|
||||
|
||||
|
||||
## Interfaces
|
||||
|
Reference in New Issue
Block a user