docs: add kv db architecture notes
This commit is contained in:
parent
65a00c69ec
commit
8731609911
1 changed files with 13 additions and 0 deletions
13
docs/kv_db_arch.md
Normal file
13
docs/kv_db_arch.md
Normal file
|
@ -0,0 +1,13 @@
|
|||
# Архитектура KV DB (Dragonfly)
|
||||
|
||||
- `apikey_{apikey}`
|
||||
- Поля
|
||||
- `owner`
|
||||
- Имеет время окончания
|
||||
- `devices_{device_id}`
|
||||
- Поля
|
||||
- Вся информация о девайсе
|
||||
- `devices_{device_id}_{tai_timestamp}_{sensor_id}`
|
||||
- Поля
|
||||
- `value`
|
||||
- `unit`
|
Loading…
Reference in a new issue