chg: [data-structure] make it more generic

main
Alexandre Dulaunoy 2021-05-22 18:12:01 +02:00
parent 7c97ea06d2
commit 542b41db42
No known key found for this signature in database
GPG Key ID: 09E2CD4944E6CBCD
1 changed files with 13 additions and 0 deletions

View File

@ -3,6 +3,19 @@
The data structure is based on a Redis-compatible data store. [kvrocks](https://github.com/bitleak/kvrocks) is the Redis-compatible data store used for CyCAT The data structure is based on a Redis-compatible data store. [kvrocks](https://github.com/bitleak/kvrocks) is the Redis-compatible data store used for CyCAT
but any compatible Redis data store can be used. but any compatible Redis data store can be used.
# UUID k/v
Each UUID inserted in CyCAT has at least an entry in the backend with the following format:
- `u:<UUID>` -> `value type`
## Value type available
|value|type|
|-----|-----------------------------------------|
|`1 | Publisher |
| 2 | Project |
# Statistics # Statistics
## Automatic API statistics ## Automatic API statistics