2. Key-Value Database
카테고리 없음2017. 1. 23. 14:21
Redis
table 개념X
Redis
- lpush -> rpop : queue
- in-memory cache 로 많이 씀
ex)
lpush gdhong:test "a" "b" "c" "d"
s1:6379> brpop gdhong:test 0
1) "gdhong:test"
2) "a"
(4.09s)
s1:6379> brpop gdhong:test 0
1) "gdhong:test"
2) "b"