{"id":21034395,"url":"https://github.com/zpoint/redis-internals","last_synced_at":"2025-04-07T18:14:24.789Z","repository":{"id":41478844,"uuid":"197674624","full_name":"zpoint/Redis-Internals","owner":"zpoint","description":"Analyze redis 5.0 source code through diagrams","archived":false,"fork":false,"pushed_at":"2022-03-12T05:52:40.000Z","size":8535,"stargazers_count":329,"open_issues_count":0,"forks_count":35,"subscribers_count":37,"default_branch":"5.0","last_synced_at":"2025-03-31T15:19:02.850Z","etag":null,"topics":["c","learning-material","redis","redis-internals"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zpoint.png","metadata":{"files":{"readme":"README.md","changelog":"change_code_reference.py","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-07-19T00:32:24.000Z","updated_at":"2025-03-28T03:47:07.000Z","dependencies_parsed_at":"2022-08-10T02:27:27.441Z","dependency_job_id":null,"html_url":"https://github.com/zpoint/Redis-Internals","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpoint%2FRedis-Internals","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpoint%2FRedis-Internals/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpoint%2FRedis-Internals/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zpoint%2FRedis-Internals/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zpoint","download_url":"https://codeload.github.com/zpoint/Redis-Internals/tar.gz/refs/heads/5.0","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247704571,"owners_count":20982298,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","learning-material","redis","redis-internals"],"created_at":"2024-11-19T13:03:58.990Z","updated_at":"2025-04-07T18:14:24.739Z","avatar_url":"https://github.com/zpoint.png","language":"C","readme":"# Redis Internals![image title](http://www.zpoint.xyz:8080/count/tag.svg?url=github%2FRedis-Internals)\n\n* [简体中文](https://github.com/zpoint/Redis-Internals/blob/5.0/README_CN.md)\n*  **Watch** this repo if you need to be notified when there's update\n\nThis repository is my notes for [redis](https://github.com/antirez/redis) source code\n\n```c\n# based on version 5.0.5\ncd redis\ngit fetch origin 5.0:5.0\ngit reset --hard 388efbf8b661ce2e5db447e994bf3c3caf6403c6\n\n```\n\n# Table of Contents\n\n* [Objects](#Objects)\n* [Server](#Server)\n* [Why this repo](#Why-this-repo)\n* [Learning material](#Learning-material)\n* [Contribution](#Contribution)\n* [License](#License)\n\n# Objects\n - [x] [string(sds)](https://github.com/zpoint/Redis-Internals/blob/5.0/Object/sds/sds.md)\n - [x] [hash(ziplist/ht)](https://github.com/zpoint/Redis-Internals/blob/5.0/Object/hash/hash.md)\n - [x] [list(quicklist)](https://github.com/zpoint/Redis-Internals/blob/5.0/Object/list/list.md)\n - [x] [set(intset/ht)](https://github.com/zpoint/Redis-Internals/blob/5.0/Object/set/set.md)\n - [x] [zset(ziplist/skiplist/ht)](https://github.com/zpoint/Redis-Internals/blob/5.0/Object/zset/zset.md)\n - [x] [hyperloglog](https://github.com/zpoint/Redis-Internals/blob/5.0/Object/hyperloglog/hyperloglog.md)\n - [x] [streams](https://github.com/zpoint/Redis-Internals/blob/5.0/Object/streams/streams.md)\n \t- [x] [rax](https://github.com/zpoint/Redis-Internals/blob/5.0/Object/rax/rax.md)\n \t- [x] [listpack](https://github.com/zpoint/Redis-Internals/blob/5.0/Object/listpack/listpack.md)\n - [x] [geohash](https://github.com/zpoint/Redis-Internals/blob/5.0/Object/geohash/geohash.md)\n\n# Server\n\n- [x] [persistence](https://github.com/zpoint/Redis-Internals/blob/5.0/Server/persistence/persistence.md)\n- [x] [pubsub](https://github.com/zpoint/Redis-Internals/blob/5.0/Server/pubsub/pubsub.md)\n- [x] [cluster](https://github.com/zpoint/Redis-Internals/blob/5.0/Server/cluster/cluster.md)\n\t- [x] [reshard](https://github.com/zpoint/Redis-Internals/blob/5.0/Server/cluster/cluster.md#reshard)\n\t- [x] [gossip](https://github.com/zpoint/Redis-Internals/blob/5.0/Server/cluster/gossip/gossip.md)\n\t- [x] [failover](https://github.com/zpoint/Redis-Internals/blob/5.0/Server/cluster/failover/failover.md)\n- [ ] [replica](https://github.com/zpoint/Redis-Internals/blob/5.0/Server/replica/replica.md)\n- redlock\n- protocol\n- transaction\n\n# Why this repo\n\n* learning purpose\n* there are very good chinese [learning material](#learning-material), but no english version\n* the book in [learning material](#learning-material) is based on redis 3.0, the implenentation detail may changed a lot from 3.0 to the current version\n\n# Learning material\n\n* [Redis 设计与实现](http://redisbook.com/)\n* [Redis Documentation](https://redis.io/documentation)\n* [Redis 5.0 RELEASENOTES](https://raw.githubusercontent.com/antirez/redis/5.0/00-RELEASENOTES)\n\n# Contribution\n\nAll kinds of contributions are welcome\n\n* submit a pull request\n  *  if you want to share any knowledge you know\n  * post a new article\n  * correct any technical mistakes\n  * correct english grammar\n  * translation\n  * anything else\n* open an issue \n  * any suggestions\n  * any questions\n  * correct mistakes\n  * anything else\n\n# [License](https://creativecommons.org/licenses/by-nc-sa/4.0/)\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzpoint%2Fredis-internals","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzpoint%2Fredis-internals","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzpoint%2Fredis-internals/lists"}