-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathplan
More file actions
48 lines (40 loc) · 932 Bytes
/
Copy pathplan
File metadata and controls
48 lines (40 loc) · 932 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Shared data structures
Data structures shared as a service
Defined via config, loaded and reloadable
{
"a_queue": {
"type": "queue",
"maximum_length": "14", # do not accept new items if at this size
"minimum_length": "4", # do not emit items if at or below this size
"sync_interval": "100", # milliseconds to wait in between syncs
},
"a_dict": {
},
"a_priority_queue": {
},
"an_array": {
},
"a_list": {
},
"an_heap": {
},
}
Maybe yaml, might give better flexibility in terms of config composition
Phase 0:
Program that runs
Can listen for http
Queue object exists with max and min options
Single queue object with push and pop functionality for json objects
Phase 1:
Reads config file, populates queues that way
Priority queue
Authentication
Phase 2:
Command Line Arguments
Stack
Encryption
Key/Value
Phase 3:
Man page
Document
Access Control