Commit e2983232 authored by NILANJAN DAW's avatar NILANJAN DAW

Update readme.md

parent 3afac38d
...@@ -36,7 +36,45 @@ Format: ...@@ -36,7 +36,45 @@ Format:
"grunts": ["a", "b", ...] // List of machine IDs "grunts": ["a", "b", ...] // List of machine IDs
} }
``` ```
Executor sends back a worker start / stop information on the LOG_COMMON channel
```javascript
Source: Executor
{
"node_id"
"resource_id"
"function_id"
"status": true/false
"reason": "deployed / exd"
}
```
Instrumentation data are also sent on the LOG_COMMON Channel
```javascript
Source: Executor
{
"node_id"
"resource_id"
"function_id"
"usage": {
"cpu"
"memory"
"network"
}
}
Source: ReverseProxy
{
"node_id"
"resource_id"
"function_id"
"average_fn_time"
}
Source: Dispatch Manager
{
"node_id"
"resource_id"
"function_id"
"coldstart_time"
}
```
## Dispatch Module (DM) ## Dispatch Module (DM)
The DM is divided into two submodules the **Dispatcher** and the **Dispatch Daemon**. The Dispatcher runs on the Master node while the Dispatch Daemon runs on each Worker nodes. When a request arrives at the dispatcher, it queries the RM for resources and on receiving the resource requests the Dispatch Daemon to run and execute the function on the specified worker node. The DM is divided into two submodules the **Dispatcher** and the **Dispatch Daemon**. The Dispatcher runs on the Master node while the Dispatch Daemon runs on each Worker nodes. When a request arrives at the dispatcher, it queries the RM for resources and on receiving the resource requests the Dispatch Daemon to run and execute the function on the specified worker node.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment