mirror of
https://github.com/donnemartin/system-design-primer.git
synced 2024-03-22 13:11:35 +08:00
Correct Redis list structure in Twitter solution (#116)
This commit is contained in:
parent
f631baaef3
commit
d62b499013
@ -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 |
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user