{"id":24901784,"url":"https://github.com/goose97/tiny-redis","last_synced_at":"2025-10-04T00:33:21.640Z","repository":{"id":81443053,"uuid":"585218017","full_name":"Goose97/tiny-redis","owner":"Goose97","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-23T02:54:19.000Z","size":62,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-27T05:31:09.539Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","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/Goose97.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,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2023-01-04T16:04:09.000Z","updated_at":"2023-01-29T08:10:25.000Z","dependencies_parsed_at":null,"dependency_job_id":"b9a3c410-9e6e-43c6-9edc-6abbf066dfdf","html_url":"https://github.com/Goose97/tiny-redis","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Goose97/tiny-redis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Goose97%2Ftiny-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Goose97%2Ftiny-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Goose97%2Ftiny-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Goose97%2Ftiny-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Goose97","download_url":"https://codeload.github.com/Goose97/tiny-redis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Goose97%2Ftiny-redis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278249602,"owners_count":25955835,"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","status":"online","status_checked_at":"2025-10-03T02:00:06.070Z","response_time":53,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-02-01T21:17:47.757Z","updated_at":"2025-10-04T00:33:21.635Z","avatar_url":"https://github.com/Goose97.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"## What is this project?\nThis project serves as Rust learning materials.\n\n## Support commands\n1. [Generic commands](https://redis.io/commands/?group=generic)\n- [X] DEL\n- [x] EXPIRE\n- [x] TTL\n- [x] EXISTS\n- [x] FLUSH\n\n2. [String commands](https://redis.io/commands/?group=string)\n- [x] GET\n- [x] SET\n- [x] SETNX\n- [x] MGET\n- [x] MSET\n- [x] GETSET\n- [x] GETDEL\n- [x] INCR\n- [x] DECR\n- [x] INCRBY\n- [x] DECRBY\n\n3. [List commands](https://redis.io/commands/?group=list)\n- [x] LPOP\n- [x] RPOP\n- [x] LPUSH\n- [x] RPUSH\n- [ ] LLEN\n- [ ] LRANGE\n- [ ] LREM\n- [ ] LSET\n- [ ] LTRIM\n- [ ] BLPOP\n- [ ] BRPOP\n\n4. [Hash commands](https://redis.io/commands/?group=hash)\n- [ ] HLEN\n- [ ] HKEYS\n- [ ] HGET\n- [ ] HMGET\n- [ ] HGETALL\n- [ ] HINCRBY\n- [ ] HSET\n- [ ] HMSET\n- [ ] HSETNX\n\n## Benchmark\n\nWe use redis-benchmark (shipped with Redis) as our go to benchmark tool. To benchmark, simply run:\n```shell\nbash script/bench.sh\n```\n\nThe test suite simulates 100 clients, each makes 100000 requests. Under the hood, we run this:\n\n```shell\nredis-benchmark -h localhost -p \u003cport\u003e -c 100 -n 100000 -k 1 -t \u003ccommands\u003e --csv\n```\n\n| Command | redis (op/s) | tiny_redis (op/s) | Comparison |\n| --- | --- | --- | --- |\n| GET | 89445.44 | 58038.3 | ❌ -35.11% |\n| SET | 87260.03 | 54614.96 | ❌ -37.41% |\n| INCR | 88888.89 | 57870.37 | ❌ -34.90% |\n| LPOP | 80710.25 | 59772.86 | ❌ -25.94% |\n| RPOP | 86430.43 | 52576.24 | ❌ -39.17% |\n| LPUSH | 93896.71 | 61012.81 | ❌ -35.02% |\n| RPUSH | 91157.7 | 62656.64 | ❌ -31.27% |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoose97%2Ftiny-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgoose97%2Ftiny-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgoose97%2Ftiny-redis/lists"}