From d62b4990137ab0b063427941e548f87f7ee8839c Mon Sep 17 00:00:00 2001 From: Tony Yao Date: Wed, 29 Nov 2017 17:12:15 -0800 Subject: [PATCH] Correct Redis list structure in Twitter solution (#116) --- solutions/system_design/twitter/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solutions/system_design/twitter/README.md b/solutions/system_design/twitter/README.md index 87503dc..663dbe2 100644 --- a/solutions/system_design/twitter/README.md +++ b/solutions/system_design/twitter/README.md @@ -124,7 +124,7 @@ If our **Memory Cache** is Redis, we could use a native Redis list with the foll ``` tweet n+2 tweet n+1 tweet n -| 8 bytes 8 bytes 1 byte | 8 bytes 8 bytes 1 byte | 8 bytes 7 bytes 1 byte | +| 8 bytes 8 bytes 1 byte | 8 bytes 8 bytes 1 byte | 8 bytes 8 bytes 1 byte | | tweet_id user_id meta | tweet_id user_id meta | tweet_id user_id meta | ```