{"id":37176186,"url":"https://github.com/nisainan/gredcon","last_synced_at":"2026-01-14T20:33:46.540Z","repository":{"id":38225503,"uuid":"481499338","full_name":"nisainan/gredcon","owner":"nisainan","description":"A Redis compatible server framework for Go based on gnet","archived":false,"fork":false,"pushed_at":"2022-05-17T10:26:51.000Z","size":6873,"stargazers_count":104,"open_issues_count":0,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2024-06-20T05:09:59.259Z","etag":null,"topics":["framework","gnet","golang","redis"],"latest_commit_sha":null,"homepage":"","language":"Go","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/nisainan.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}},"created_at":"2022-04-14T06:57:24.000Z","updated_at":"2024-05-30T10:05:18.000Z","dependencies_parsed_at":"2022-07-12T01:30:05.091Z","dependency_job_id":null,"html_url":"https://github.com/nisainan/gredcon","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nisainan/gredcon","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisainan%2Fgredcon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisainan%2Fgredcon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisainan%2Fgredcon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisainan%2Fgredcon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nisainan","download_url":"https://codeload.github.com/nisainan/gredcon/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nisainan%2Fgredcon/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["framework","gnet","golang","redis"],"created_at":"2026-01-14T20:33:45.983Z","updated_at":"2026-01-14T20:33:46.528Z","avatar_url":"https://github.com/nisainan.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"![logo](logo.png)\n\n[![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)  [![GoDoc](https://godoc.org/github.com/cloudflare/cfssl?status.svg)](https://pkg.go.dev/github.com/nisainan/gredcon)\n\nA Redis compatible server framework for Go based on [gnet](https://github.com/panjf2000/gnet)\n\n## Features\n\n- Create a [Fast](https://github.com/nisainan/gredcon#benchmarks) custom Redis compatible server in Go\n- Simple interface. One function `ListenAndServe` and two types `Conn` \u0026 `Command`\n- Support for pipelining and telnet commands\n- Works with Redis clients such as [redigo](https://github.com/garyburd/redigo), [redis-py](https://github.com/andymccurdy/redis-py), [node_redis](https://github.com/NodeRedis/node_redis), and [jedis](https://github.com/xetorthio/jedis)\n- Compatible pub/sub support\n- Multithreaded\n\n## Installing\n\n~~~she\ngo get -u github.com/nisainan/gredcon\n~~~\n\n## Example\n\nHere's a full example of a Redis clone that accepts:\n\n- SET key value\n- GET key\n- DEL key\n- PING\n\nYou can run this example from a terminal:\n\n~~~shell\ngo run example/main.go\n~~~\n\n## Benchmarks\n\n**Redis**: Single-threaded, no disk persistence.\n\n```shell\n$ redis-server --port 6379 --appendonly no\nredis-benchmark -p 6379 -t set,get -n 10000000 -q -P 512 -c 512\nSET: 941265.12 requests per second\nGET: 1189909.50 requests per second\n```\n\n**Redcon**: Single-threaded, no disk persistence.\n\n```shell\n$ GOMAXPROCS=1 go run example/clone.go\nredis-benchmark -p 6380 -t set,get -n 10000000 -q -P 512 -c 512\nSET: 2018570.88 requests per second\nGET: 2403846.25 requests per second\n```\n\n**Redcon**: Multi-threaded, no disk persistence.\n\n```shell\n$ GOMAXPROCS=0 go run example/clone.go\n$ redis-benchmark -p 6380 -t set,get -n 10000000 -q -P 512 -c 512\nSET: 1944390.38 requests per second\nGET: 3993610.25 requests per second\n```\n\n*Running on a MacBook Pro 15\" 2.8 GHz Intel Core i7 using Go 1.7*\n\n**GRedcon**: multicore, no disk persistence.\n\n~~~shell\n$ redis-benchmark -p 9876 -c 120 -n 20000000  -t get,set -P 2000 -q\nSET: 5630630.50 requests per second\nGET: 11428028.00 requests per second\n~~~\n\n*Running on a Ubuntu20.04  i7-9700 CPU @ 3.00GHz using Go 1.7*\n\n## License\n\nGRedcon source code is available under the MIT [License](https://github.com/nisainan/gredcon/blob/master/LICENSE).\n\n## Thanks \n\n[redcon](https://github.com/tidwall/redcon),[gnet](https://github.com/panjf2000/gnet)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnisainan%2Fgredcon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnisainan%2Fgredcon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnisainan%2Fgredcon/lists"}