{"id":18707203,"url":"https://github.com/hellomaxime/redis-server","last_synced_at":"2026-04-13T02:03:55.509Z","repository":{"id":221214377,"uuid":"753214469","full_name":"hellomaxime/redis-server","owner":"hellomaxime","description":"lite version of redis","archived":false,"fork":false,"pushed_at":"2024-02-10T14:24:06.000Z","size":19,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-28T07:19:47.206Z","etag":null,"topics":["python","redis","redis-cli","resp-protocol","socket","test-driven-development","threads"],"latest_commit_sha":null,"homepage":"","language":"Python","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/hellomaxime.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-02-05T17:30:40.000Z","updated_at":"2024-02-08T12:43:30.000Z","dependencies_parsed_at":"2024-02-06T19:46:08.161Z","dependency_job_id":"c70f5f68-5032-4de3-a469-50c3c7b68089","html_url":"https://github.com/hellomaxime/redis-server","commit_stats":null,"previous_names":["hellomaxime/redis-server"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellomaxime%2Fredis-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellomaxime%2Fredis-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellomaxime%2Fredis-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hellomaxime%2Fredis-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hellomaxime","download_url":"https://codeload.github.com/hellomaxime/redis-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239571540,"owners_count":19661164,"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":["python","redis","redis-cli","resp-protocol","socket","test-driven-development","threads"],"created_at":"2024-11-07T12:17:09.136Z","updated_at":"2025-11-09T08:30:37.185Z","avatar_url":"https://github.com/hellomaxime.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# redis-server\n\nRedis is an in-memory key-value NoSQL database.\n\nThis is a coding challenge from https://codingchallenges.fyi/challenges/challenge-redis/.  \nIt aims to build a lite version of Redis with all the functionality of the first version of Redis.\n\nThe server was built using Python (but prefer C, Rust or Golang for performance) and test-driven development approach.\n\nRun server : `python redis_server.py`  \n\n### 1 - protocol  \n- RESP is the protocol used to communicate with a Redis server\n- Clients send commands to a Redis Server as a RESP Array of Bulk Strings\n- Server replies with one of the RESP type\n- Need to implement a functionality to serialize and deserialize messages\n\n### 2 - server  \n- Create a server that listens on port `6379`\n- Sockets, Threads, Concurrency\n- Use redis-cli to communicate with redis server\n\n### 3 - commands\n- PING\n- ECHO\n- SET (with expiration options)\n- GET\n- EXISTS\n- DEL\n- INCR\n- DECR\n- LPUSH\n- RPUSH\n- SAVE\n\n### 4 - performance check\n- You can use redis-benchmark to check concurrency and performance\n- The redis-benchmark utility simulates running commands done by N clients while at the same time sending M total queries.\n\n### Tips\n\nI use https://try.redis.io/ to compare my lite version with Redis","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellomaxime%2Fredis-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhellomaxime%2Fredis-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhellomaxime%2Fredis-server/lists"}