From a3c7fc04e1a9761c98c92d2ca23e7a991c923fa7 Mon Sep 17 00:00:00 2001 From: Tony Yao Date: Sun, 5 Nov 2017 15:21:02 -0800 Subject: [PATCH] Update README.md ``` 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 | | tweet_id user_id meta | tweet_id user_id meta | tweet_id user_id meta | ``` should the 7 be 8? --- 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 87503dc9..663dbe20 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 | ```