浏览代码

Correct Redis list structure in Twitter solution (#116)

Tony Yao 7 年之前
父节点
当前提交
d62b499013
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      solutions/system_design/twitter/README.md

+ 1 - 1
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   |
 ```