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
# felu
WIP, ignore for now.
## Crates
### bin
* [felu-mgmt](./felu-mgmt/README.md)
* [felu-ns](./felu-ns/README.md)
### lib
* [felu-common](./felu-common/README.md)
## Initial notes:
### Communication
Certs!
Protobufs over gRPC or just TCP?
Which is easier when we need a stream?
One-way stream? Mgmt sends data to ns, and ns can respond Results to received
messages, but not send messages to mgmt.
### Version control
Configuration version number.
Whole config hash?
### Health checks
Check if all available and on correct version of config.
Send config update if not.
5 second intervals.
### Atomic updates
Swap config after update in one operation.
## Scenarios
### New felu-ns
Receive whole config.
### Config updated
Existing felu-ns receive update.
#### felu-ns network flaky just as config was supposed to come
Health check will re-send if this happens.