Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
X
xanadu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
SYNERG
xanadu
Commits
f91589fa
Commit
f91589fa
authored
Mar 05, 2020
by
Naman Dixit
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed timestamp format
parent
d872ace4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
readme.md
readme.md
+10
-10
No files found.
readme.md
View file @
f91589fa
...
@@ -23,7 +23,7 @@ The Dispatch Manager (DM) sends a request to the Resource Manager (RM), detailin
...
@@ -23,7 +23,7 @@ The Dispatch Manager (DM) sends a request to the Resource Manager (RM), detailin
```
javascript
```
javascript
{
{
"
resource_id
"
:
"
unique-transaction-id
"
,
"
resource_id
"
:
"
unique-transaction-id
"
,
"
timestamp
"
:
"
iso-8601-
timestamp
"
,
"
timestamp
"
:
"
time(2) compatible
timestamp
"
,
"
memory
"
:
1024
,
// in MiB
"
memory
"
:
1024
,
// in MiB
...
// Any other resources
...
// Any other resources
}
}
...
@@ -34,7 +34,7 @@ Format:
...
@@ -34,7 +34,7 @@ Format:
```
javascript
```
javascript
{
{
"
resource_id
"
:
"
unique-transaction-id
"
,
"
resource_id
"
:
"
unique-transaction-id
"
,
"
timestamp
"
:
"
iso-8601-
timestamp
"
,
"
timestamp
"
:
"
time(2) compatible
timestamp
"
,
"
grunts
"
:
[
"
grunts
"
:
[
{
node_id
:
some
unique
ID
,
port
:
port
address
},
...
{
node_id
:
some
unique
ID
,
port
:
port
address
},
...
]
// List of machine IDs
]
// List of machine IDs
...
@@ -47,7 +47,7 @@ Once the runtime entity has been launched (or the launch has failed), the Execut
...
@@ -47,7 +47,7 @@ Once the runtime entity has been launched (or the launch has failed), the Execut
"
node_id
"
:
"
uique-machine-id
"
,
"
node_id
"
:
"
uique-machine-id
"
,
"
resource_id
"
:
"
logical-entity-id
"
,
"
resource_id
"
:
"
logical-entity-id
"
,
"
function_id
"
:
"
unique-function-id
"
,
"
function_id
"
:
"
unique-function-id
"
,
"
timestamp
"
:
"
iso-8601-
timestamp
"
,
"
timestamp
"
:
"
time(2) compatible
timestamp
"
,
"
reason
"
:
"
deployment
"
/
"
termination
"
"
reason
"
:
"
deployment
"
/
"
termination
"
"
status
"
:
true
/
false
// Only valid if reason==deployment
"
status
"
:
true
/
false
// Only valid if reason==deployment
}
}
...
@@ -60,7 +60,7 @@ and whoever needs the data is allowed to read it. Each message is required to ha
...
@@ -60,7 +60,7 @@ and whoever needs the data is allowed to read it. Each message is required to ha
"
node_id
"
:
"
uique-machine-id
"
,
"
node_id
"
:
"
uique-machine-id
"
,
"
resource_id
"
:
"
logical-entity-id
"
,
"
resource_id
"
:
"
logical-entity-id
"
,
"
function_id
"
:
"
unique-function-id
"
,
"
function_id
"
:
"
unique-function-id
"
,
"
timestamp
"
:
"
iso-8601-
timestamp
"
,
"
timestamp
"
:
"
time(2) compatible
timestamp
"
,
"
cpu
"
:
343
,
// in MHz
"
cpu
"
:
343
,
// in MHz
"
memory
"
:
534
,
// in MiB
"
memory
"
:
534
,
// in MiB
"
network
"
:
234
// in KBps
"
network
"
:
234
// in KBps
...
@@ -70,7 +70,7 @@ and whoever needs the data is allowed to read it. Each message is required to ha
...
@@ -70,7 +70,7 @@ and whoever needs the data is allowed to read it. Each message is required to ha
"
node_id
"
:
"
uique-machine-id
"
,
"
node_id
"
:
"
uique-machine-id
"
,
"
resource_id
"
:
"
logical-entity-id
"
,
"
resource_id
"
:
"
logical-entity-id
"
,
"
function_id
"
:
"
unique-function-id
"
,
"
function_id
"
:
"
unique-function-id
"
,
"
timestamp
"
:
"
iso-8601-
timestamp
"
,
"
timestamp
"
:
"
time(2) compatible
timestamp
"
,
"
average_fn_time
"
:
23
// in ms
"
average_fn_time
"
:
23
// in ms
}
}
...
@@ -78,7 +78,7 @@ and whoever needs the data is allowed to read it. Each message is required to ha
...
@@ -78,7 +78,7 @@ and whoever needs the data is allowed to read it. Each message is required to ha
"
node_id
"
:
"
uique-machine-id
"
,
"
node_id
"
:
"
uique-machine-id
"
,
"
resource_id
"
:
"
logical-entity-id
"
,
"
resource_id
"
:
"
logical-entity-id
"
,
"
function_id
"
:
"
unique-function-id
"
,
"
function_id
"
:
"
unique-function-id
"
,
"
timestamp
"
:
"
iso-8601-
timestamp
"
,
"
timestamp
"
:
"
time(2) compatible
timestamp
"
,
"
coldstart_time
"
"
coldstart_time
"
}
}
```
```
...
@@ -223,7 +223,7 @@ resources being tracked by RDs on each machine. This data is cached by the RM.
...
@@ -223,7 +223,7 @@ resources being tracked by RDs on each machine. This data is cached by the RM.
```
javascript
```
javascript
{
{
"node_id": "unique-machine-id",
"node_id": "unique-machine-id",
"timestamp" : "
iso-8601-
timestamp",
"timestamp" : "
time(2) compatible
timestamp",
"memory": 1024, // in MiB
"memory": 1024, // in MiB
... // Any other resources
... // Any other resources
}
}
...
@@ -246,7 +246,7 @@ DM on topic `RESPONSE_RM_2_DM`.
...
@@ -246,7 +246,7 @@ DM on topic `RESPONSE_RM_2_DM`.
```
javascript
```
javascript
{
{
"resource_id": "unique-transaction-id",
"resource_id": "unique-transaction-id",
"timestamp" : "
iso-8601-
timestamp",
"timestamp" : "
time(2) compatible
timestamp",
// "port": 2343 --- NOT IMPLEMENTED YET
// "port": 2343 --- NOT IMPLEMENTED YET
"nodes": ["a", "b", ...] // List of unique machine IDs
"nodes": ["a", "b", ...] // List of unique machine IDs
}
}
...
@@ -258,7 +258,7 @@ Format:
...
@@ -258,7 +258,7 @@ Format:
```
javascript
```
javascript
{
{
"resource_id": "unique-transaction-id",
"resource_id": "unique-transaction-id",
"timestamp" : "
iso-8601-
timestamp",
"timestamp" : "
time(2) compatible
timestamp",
"memory": 1024, // in MiB
"memory": 1024, // in MiB
... // Any other resources
... // Any other resources
}
}
...
@@ -269,7 +269,7 @@ The RDs recieve this message and send back whether on not they satisfy the const
...
@@ -269,7 +269,7 @@ The RDs recieve this message and send back whether on not they satisfy the const
{
{
"node_id": "unique-machine-id",
"node_id": "unique-machine-id",
"resource_id": "unique-transaction-id",
"resource_id": "unique-transaction-id",
"timestamp" : "
iso-8601-
timestamp",
"timestamp" : "
time(2) compatible
timestamp",
"success" : 0/1 // 0 = fail, 1 = success
"success" : 0/1 // 0 = fail, 1 = success
}
}
```
```
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment