From 34e8a9ba6024e0c7dc651218f096450ef3f441a6 Mon Sep 17 00:00:00 2001 From: olesku Date: Mon, 27 Dec 2021 15:19:16 +0100 Subject: [PATCH] Remove old documentation. --- docs/redis-data-layout.md | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 docs/redis-data-layout.md diff --git a/docs/redis-data-layout.md b/docs/redis-data-layout.md deleted file mode 100644 index d7d5239..0000000 --- a/docs/redis-data-layout.md +++ /dev/null @@ -1,15 +0,0 @@ -# Redis layout - -**Unique ID** - -Each cache item has a separate unique ID that is generated using -```HINCRBY PREFIX:topicName:cache _idCnt 1``` - -**Timestamp index** - -Each cache-entry is indexed in a sorted set using the messages timestamp as score. -```ZSET PREFIX:topicName:scores timestamp MessageID``` - -**Storage** - -Each cache entry is stored in a hash using ```HSET PREFIX:topicName:cache MessageID Data```