Redis-Internals
Redis-Internals copied to clipboard
Analyze redis 5.0 source code through diagrams
Redis Internals
- 简体中文
- Watch this repo if you need to be notified when there's update
This repository is my notes for redis source code
# based on version 5.0.5
cd redis
git fetch origin 5.0:5.0
git reset --hard 388efbf8b661ce2e5db447e994bf3c3caf6403c6
Table of Contents
- Objects
- Server
- Why this repo
- Learning material
- Contribution
- License
Objects
- [x] string(sds)
- [x] hash(ziplist/ht)
- [x] list(quicklist)
- [x] set(intset/ht)
- [x] zset(ziplist/skiplist/ht)
- [x] hyperloglog
- [x] streams
- [x] geohash
Server
- [x] persistence
- [x] pubsub
- [x] cluster
- [ ] replica
- redlock
- protocol
- transaction
Why this repo
- learning purpose
- there are very good chinese learning material, but no english version
- the book in learning material is based on redis 3.0, the implenentation detail may changed a lot from 3.0 to the current version
Learning material
Contribution
All kinds of contributions are welcome
- submit a pull request
- if you want to share any knowledge you know
- post a new article
- correct any technical mistakes
- correct english grammar
- translation
- anything else
- open an issue
- any suggestions
- any questions
- correct mistakes
- anything else