hashlookup-server/doc/DATABASE.md
Alexandre Dulaunoy 31ac93e764
new: [pub-sub] add a pub-sub functionality for searched hashes in two
different channels:
- nx: non-existing hash value
- exist: existing hash value
2021-08-13 22:42:41 +02:00

13 lines
393 B
Markdown

# Database structure of hashlookup
## Publish-Subscribe channels
- `nx` JSON message of non-existing hashes searched
- `exist` JSON message of existing hashes searched
## Statistics
- `s:nx:md5` sorted set of MD5 non-existing hashes
- `s:nx:sha1` sorted set of SHA1 non-existing hashes
- `s:exist:md5` sorted set of SHA1 existing hashes
- `s:exixt:sha1` sorted set of SHA1 existing hashes