{"id":19338178,"url":"https://github.com/jserv/mt-redis","last_synced_at":"2025-04-23T01:31:17.456Z","repository":{"id":238579451,"uuid":"796866734","full_name":"jserv/mt-redis","owner":"jserv","description":"A multi-thread Redis implementation with RCU","archived":false,"fork":false,"pushed_at":"2024-05-07T02:32:27.000Z","size":2661,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-22T22:57:06.535Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jserv.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2024-05-06T19:12:10.000Z","updated_at":"2025-03-29T17:10:27.000Z","dependencies_parsed_at":"2024-05-06T20:35:07.357Z","dependency_job_id":"108c00de-5bed-4a16-a1f9-81fd993532d4","html_url":"https://github.com/jserv/mt-redis","commit_stats":null,"previous_names":["jserv/mt-redis"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jserv%2Fmt-redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jserv%2Fmt-redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jserv%2Fmt-redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jserv%2Fmt-redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jserv","download_url":"https://codeload.github.com/jserv/mt-redis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250352241,"owners_count":21416461,"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":[],"created_at":"2024-11-10T03:16:34.272Z","updated_at":"2025-04-23T01:31:15.925Z","avatar_url":"https://github.com/jserv.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# mt-redis\n\nA multi-threaded Redis fork with [Read-Copy-Update](https://liburcu.org/) (RCU) support to achieve high performance.\n\n## Features\n* Implement Master-Worker Pattern, allowing key-value store to perform simultaneous processing across multiple threads.\n* Use an event-loop per thread I/O model.\n* Support for scheduling request operations between threads.\n* RCU can support lock-free sharing between 1 writer thread and multiple reader threads to boost read operation performance.\n* Can achieve over 1 million Ops/sec powered by an ordinary server.\n\n## Performance\n\nThe following benchmarks show the performance of mt-redis and Redis using the [memtier\\_benchmark](https://github.com/RedisLabs/memtier_benchmark) tool.\nThese benchmarks were produced on Ubuntu Linux 20.04-LTS with an Intel Xeon CPU E5-2650 v4 processor.\n\n### Valkey 7.2.5\n\nLaunch the server:\n```shell\nvalkey-server --appendonly no --save \"\"\n```\n\nRun benchmark:\n```shell\nmemtier_benchmark --hide-histogram -p 6379\n```\n\nReference results:\n```\n============================================================================================================================\nType         Ops/sec     Hits/sec   Misses/sec    Avg. Latency     p50 Latency     p99 Latency   p99.9 Latency       KB/sec\n----------------------------------------------------------------------------------------------------------------------------\nSets         7773.05          ---          ---         2.34606         2.15900         4.95900         7.29500       598.66\nGets        77645.07         0.00     77645.07         2.34192         2.15900         4.86300         7.39100      3024.61\nWaits           0.00          ---          ---             ---             ---             ---             ---          ---\nTotals      85418.12         0.00     77645.07         2.34230         2.15900         4.86300         7.39100      3623.27\n```\n\n### mt-redis\n\nLaunch the server:\n```shell\nredis-server --appendonly no --save \"\"\n```\n\nRun benchmark:\n```shell\nmemtier_benchmark --hide-histogram -p 6379\n```\n\nReference results:\n```\n============================================================================================================================\nType         Ops/sec     Hits/sec   Misses/sec    Avg. Latency     p50 Latency     p99 Latency   p99.9 Latency       KB/sec\n----------------------------------------------------------------------------------------------------------------------------\nSets        23095.97          ---          ---         0.85914         0.76700         1.59100         3.51900      1778.79\nGets       230705.95         0.00    230705.95         0.80290         0.75100         1.36700         2.70300      8986.99\nWaits           0.00          ---          ---             ---             ---             ---             ---          ---\nTotals     253801.92         0.00    230705.95         0.80802         0.75100         1.39900         2.81500     10765.79\n```\n\n## Prerequisites\n\nTo build mt-redis from source, install the build-essential meta-package from the Ubuntu repositories.\n```shell\n$ sudo apt install build-essential autoconf\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjserv%2Fmt-redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjserv%2Fmt-redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjserv%2Fmt-redis/lists"}