More Related Content
More from DaeMyung Kang (20)
Redis edu 2
- 13. List
$> rpush listname a --- (a)
$> rpush listname b --- (a, b)
$> lpush listname c --- (c, a, b)
$> rpop listname(or lpop listname)
- 15. LPOP, BLPOP
Sidekiq 과 Resque의 큰 차이
LPOP은 polling, BLPOP은 push
LPOP은 list에 데이터가 없으면 바로
리턴
BLPOP은 데이터가 들어올 때 까지
대기함.
- 18. Sorted Set
$> zadd zsetname 1 “one”
$> zadd zsetname 2 “two”
$> zadd zsetname 3 “three”
- 28. 자주 나오는 질문
그 때, 그 때 다릅니다만…
한 Hash 안에 데이터가 몇 만개 이상이 되는건
좋지 않습니다.