개발하면서/코드보면서

Redis 소스를 분석해보자.

오산돌구 2011. 12. 11. 08:04

약 1년전

http://dol9.tistory.com/141

http://dol9.tistory.com/132

사회 경험 2년, 개발에 마음을 정한지 4년이 된 그 시점......
뭔가는 해야겠는데, 주변에 개발하는사람은 없어 물어볼 사람은 없던,
이것저것 다 재미있을것 같은데, 막상 어떤걸 할지 몰라 방황하는 그때,

github를 알게되었고, Redis라는 걸 알게되었다. 처음 Redis 소스를 처음본 나는 흥분의 도가니였다.
근데......흥분만 한게 문제......ㅋㅋㅋㅋㅋㅋ

분석을 한다한다 했는데 여지껏 못했다.

 

1년이 지난 지금 회사에서도 필요하고, 내가 발전하는데도 도움될것 같아 Redis 소스를 하나씩하나씩 분석해보려고 합니다.

1년전, 저와 같은 고민을 하시는 분들에게 조금이나마 도움이 되었으면 좋겠습니다.

 

먼저 경험하신 분들의 글을 보고, 많은것을 배웠는데, 제가 쓴 글들도 누군가에게 그랬으면 좋겠습니다.

더 나아가서는 저랑 비슷한 관심사를 가지신 분과 같이 뭐라도 했으면....하는 마음이 있습니다.

 

잘못된게 있다면 지적해주시고, 설명이 애매한게 있다면 알려주세요.
환영합니다.

Object

Data Type

Keys

String

Hashes

List

Set

Sorted set

 

Expire 

Transaction

Pub / Sub

Persistence

AOF

RDB

Auth

Max memory policy

Bit operation

How to inter/union

Slowlog

Key notification

Redis process Flow~ ( server init과 command에 대한 동작), mimul님이 너무나 잘 설명해주신 블로그 링크



언젠가는 볼것....
call function & cronJob  (epoll의 이해 및 실습이 시급합니다 덜덜)
replication                    (epoll의 이해 및 실습이 시급합니다 덜덜)
network                        (epoll의 이해 및 실습이 시급합니다 덜덜)
sentinel                        (epoll의 이해 및 실습이 시급합니다 덜덜)
list명령어중 앞에 'B'들어간 명령어
뭐가 달라졌길대 zrank가 빨라졌는지 https://github.com/antirez/redis/issues/943
Add Zrank Unique https://github.com/antirez/redis/pull/2011Trie 자료구조 우왕 굿~!!          https://github.com/antirez/redis/pull/717
zadd - Redis is modifying large "odd number" scores   https://github.com/antirez/redis/issues/1071
TTL keys      https://github.com/antirez/redis/issues/1067

Make 'lookupKeyRead‘ return NULL if key is expired and current client is not master #1770  https://github.com/antirez/redis/pull/1770 (https://github.com/antirez/redis/issues/1768)
digits10 not applied in networing.c https://github.com/antirez/redis/issues/1994
Lazy free of keys and databases https://github.com/antirez/redis/issues/1748
PFADDEX https://github.com/antirez/redis/issues/1735
BLPOP with LIMIT option https://github.com/antirez/redis/issues/936
LSPLICE https://github.com/antirez/redis/issues/550
zdiffstore https://github.com/antirez/redis/issues/446