{"id":18698981,"url":"https://github.com/icefiredb/redhub","last_synced_at":"2025-04-06T23:17:02.207Z","repository":{"id":46781524,"uuid":"403880807","full_name":"IceFireDB/redhub","owner":"IceFireDB","description":"High-performance Redis-Server multi-threaded framework, based on rawepoll model.","archived":false,"fork":false,"pushed_at":"2024-10-07T12:17:29.000Z","size":4415,"stargazers_count":78,"open_issues_count":4,"forks_count":15,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-03-30T21:11:11.274Z","etag":null,"topics":["cache","epoll","fast","go","golang","high-performance","key-value","redis","redis-protocol"],"latest_commit_sha":null,"homepage":"https://redhub.icefiredb.xyz","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/IceFireDB.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE-OF-CONDUCT.md","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":"2021-09-07T07:18:16.000Z","updated_at":"2024-12-14T15:36:45.000Z","dependencies_parsed_at":"2024-06-18T22:54:46.112Z","dependency_job_id":"d5b84eb0-b214-4fcc-8e9a-4adf27410007","html_url":"https://github.com/IceFireDB/redhub","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/IceFireDB%2Fredhub","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IceFireDB%2Fredhub/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IceFireDB%2Fredhub/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/IceFireDB%2Fredhub/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/IceFireDB","download_url":"https://codeload.github.com/IceFireDB/redhub/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247563936,"owners_count":20958971,"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":["cache","epoll","fast","go","golang","high-performance","key-value","redis","redis-protocol"],"created_at":"2024-11-07T11:30:31.181Z","updated_at":"2025-04-06T23:17:02.186Z","avatar_url":"https://github.com/IceFireDB.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\n    \u003cimg \n        src=\"https://user-images.githubusercontent.com/12872991/134626503-c022bb8e-2d5c-4760-a470-f56ff8ef036f.png\" \n        border=\"0\" alt=\"REDHUB\"\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\n# RedHub\n\u003ca href=\"https://pkg.go.dev/github.com/IceFireDB/redhub\"\u003e\u003cimg src=\"https://img.shields.io/badge/api-reference-blue.svg?style=flat-square\" alt=\"GoDoc\"\u003e\u003c/a\u003e\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FIceFireDB%2Fredhub.svg?type=shield)](https://app.fossa.com/projects/git%2Bgithub.com%2FIceFireDB%2Fredhub?ref=badge_shield)\n\nHigh-performance RESP-Server multi-threaded framework, based on RawEpoll model.\n* Ultra high performance\n* Fully multi-threaded support\n* Low CPU resource consumption\n* Compatible with redis protocol\n* Create a Redis compatible server with RawEpoll model in Go\n\n# Installing\n\n```\ngo get -u github.com/IceFireDB/redhub\n```\n\n# Example\n\nHere is a simple framework usage example,support the following redis commands:\n\n- SET key value\n- GET key\n- DEL key\n- PING\n- QUIT\n\nYou can run this example in terminal:\n\n```sh\ngo run example/memory_kv/server.go\n```\n\n# Benchmarks\n\n```\nMachine information\n        OS : Debian Buster 10.6 64bit \n       CPU : 8 CPU cores\n    Memory : 64.0 GiB\n\nGo Version : go1.16.5 linux/amd64\n\n```\n\n### 【Redis-server5.0.3】 Single-threaded, no disk persistence.\n\n```\n$ ./redis-server --port 6380 --appendonly no\n```\n```\n$ redis-benchmark -h 127.0.0.1 -p 6380 -n 50000000 -t set,get -c 512 -P 1024 -q\nSET: 2306060.50 requests per second\nGET: 3096742.25 requests per second\n```\n\n### 【Redis-server6.2.5】 Single-threaded, no disk persistence.\n\n```\n$ ./redis-server --port 6380 --appendonly no\n```\n```\n$ redis-benchmark -h 127.0.0.1 -p 6380 -n 50000000 -t set,get -c 512 -P 1024 -q\nSET: 2076325.75 requests per second\nGET: 2652801.50 requests per second\n```\n\n### 【Redis-server6.2.5】 Multi-threaded, no disk persistence.\n\n```\nio-threads-do-reads yes\nio-threads 8\n$ ./redis-server redis.conf\n```\n```\n$ redis-benchmark -h 127.0.0.1 -p 6379 -n 50000000 -t set,get -c 512 -P 1024 -q\nSET: 1944692.88 requests per second\nGET: 2375184.00 requests per second\n```\n\n### 【RedCon】 Multi-threaded, no disk persistence\n\n```\n$ go run example/clone.go\n```\n```\n$ redis-benchmark -h 127.0.0.1 -p 6380 -n 50000000 -t set,get -c 512 -P 1024 -q\nSET: 2332742.25 requests per second\nGET: 14654162.00 requests per second\n```\n### 【RedHub】 Multi-threaded, no disk persistence\n\n```\n$ go run example/server.go\n```\n```\n$ redis-benchmark -h 127.0.0.1 -p 6380 -n 50000000 -t set,get -c 512 -P 1024 -q\nSET: 4087305.00 requests per second\nGET: 16490765.00 requests per second\n```\n\n\u003cp align=\"center\"\u003e\n    \u003cimg \n        src=\"https://user-images.githubusercontent.com/12872991/134836128-423fd389-0fae-4e37-81c2-3b0066ed5f56.png\" \n        border=\"0\" alt=\"REDHUB Benchmarks\"\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\n\n\u003cp align=\"center\"\u003e\n    \u003cimg \n        src=\"https://user-images.githubusercontent.com/12872991/134836167-37c41c77-d77e-4ca8-96cb-4bab8ab65fa0.png\" \n        border=\"0\" alt=\"REDHUB Benchmarks\"\u003e\n    \u003cbr\u003e\n\u003c/p\u003e\n\n\n\u003c!--\n```\n$ redis-benchmark -p 6380 -t set,get -n 10000000 -q -P 512 -c 512\nSET: 2840909.00 requests per second\nGET: 5643341.00 requests per second\n```\n--\u003e\n\n# Disclaimers\nWhen you use this software, you have agreed and stated that the author, maintainer and contributor of this software are not responsible for any risks, costs or problems you encounter. If you find a software defect or BUG, ​​please submit a patch to help improve it!\n\n# License\n[![FOSSA Status](https://app.fossa.com/api/projects/git%2Bgithub.com%2FIceFireDB%2Fredhub.svg?type=large)](https://app.fossa.com/projects/git%2Bgithub.com%2FIceFireDB%2Fredhub?ref=badge_large)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficefiredb%2Fredhub","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ficefiredb%2Fredhub","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ficefiredb%2Fredhub/lists"}