directory
Version:
v0.0.0-...-163ab7f
Opens a new window with list of versions in this module.
Published: Dec 12, 2017
License: MIT
Opens a new window with license information.
README
¶
portal
Portal is supply benchmark status view and enqueue benchmark for the players.
Features
- Sign in / sign out for the Team
- Assign webapp server configuration
- Enqueue benchmark
- Observe current benchmark status
Send to benchmark:
Message |
|
Data []byte |
empty |
Attribute map[string]string |
"team_id": TEAM_ID |
Receive from benchmark:
Message |
|
Data []byte |
directly json from the benchmark |
Attribute map[string]string |
"team_id": TEAM_ID, "source_message_id": Message_ID by request queue "cretaed_at": CREATE_TIME |
Queue flow
- Send queue
- Receive queue
- Saves the receive queue message to Database
- Show result message in portal client via the Database
Memo
/queues
algorithm
- call
/enqueue
and save msg_id
- call
{pubsub}/stat/{subscription}
for the msg_id set
- need implements msg_id set
- highlighting my team_id that match the msg_id set and the queues table
Directories
¶
|
|
cmd
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.