{"id":19563461,"url":"https://github.com/akagi201/redface","last_synced_at":"2025-04-27T00:32:16.412Z","repository":{"id":57527676,"uuid":"65447528","full_name":"Akagi201/redface","owner":"Akagi201","description":"RedFace means redis interface.","archived":false,"fork":false,"pushed_at":"2021-11-02T09:42:41.000Z","size":21,"stargazers_count":23,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-04T18:51:59.088Z","etag":null,"topics":["golang","redis","redis-api","redis-interface","redis-server"],"latest_commit_sha":null,"homepage":"https://godoc.org/github.com/Akagi201/redface","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/Akagi201.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":"2016-08-11T07:16:00.000Z","updated_at":"2021-11-02T09:42:45.000Z","dependencies_parsed_at":"2022-09-26T18:11:52.602Z","dependency_job_id":null,"html_url":"https://github.com/Akagi201/redface","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/Akagi201%2Fredface","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akagi201%2Fredface/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akagi201%2Fredface/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Akagi201%2Fredface/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Akagi201","download_url":"https://codeload.github.com/Akagi201/redface/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251072280,"owners_count":21532005,"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":["golang","redis","redis-api","redis-interface","redis-server"],"created_at":"2024-11-11T05:17:53.912Z","updated_at":"2025-04-27T00:32:15.966Z","avatar_url":"https://github.com/Akagi201.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Stories in Ready](https://badge.waffle.io/Akagi201/redface.png?label=ready\u0026title=Ready)](https://waffle.io/Akagi201/redface)\n# RedFace\n\n[![Build Status](https://travis-ci.org/Akagi201/redface.svg)](https://travis-ci.org/Akagi201/redface) [![Coverage Status](https://coveralls.io/repos/github/Akagi201/redface/badge.svg?branch=master)](https://coveralls.io/github/Akagi201/redface?branch=master) [![Go Report Card](https://goreportcard.com/badge/github.com/Akagi201/redface)](https://goreportcard.com/report/github.com/Akagi201/redface) [![GoDoc](https://godoc.org/github.com/Akagi201/redface?status.svg)](https://godoc.org/github.com/Akagi201/redface)\n\nRedFace means redis interface.\n\nIt can be used as a redis server-side api in golang.\n\n## Features\n\n- [x] Suport tcp protocol.\n- [x] Support unix socket protocol.\n- [x] Support net/http like interface.\n- [x] Add benchmarks.\n- [ ] Support pipelining.\n- [ ] Support telnet commands.\n- [ ] Support redis lua script.\n- [ ] Support TLS.\n- [ ] Support net/context.\n\n## Install\n\n* `go get github.com/Akagi201/redface`\n\n## Import\n\n* `import \"github.com/Akagi201/redface/resp\"`\n* `import \"github.com/Akagi201/redface/server\"`\n\n## Benchmarks\n\n### redis-benchmark\n\nRedis: Single-threaded, no disk persistence.\n\n```\n❯ redis-server --port 6379  --appendonly no\n```\n\n```\n❯ redis-benchmark -p 6379 -t set,get -n 1000000 -q -P 512 -c 512\nSET: 767459.75 requests per second\nGET: 941619.56 requests per second\n```\n\nRedFace: Single-threaded, no disk persistence.\n\n```\nGOMAXPROCS=1 go run example/clone/main.go\n```\n\n```\n❯ redis-benchmark -p 6389 -t set,get -n 1000000 -q -P 512 -c 512\nSET: 68861.04 requests per second\nGET: 65261.37 requests per second\n```\n\nRedFace: Multi-threaded, no disk persistence.\n\n```\nGOMAXPROCS=0 go run example/clone/main.go\n```\n\n```\n❯ redis-benchmark -p 6389 -t set,get -n 1000000 -q -P 512 -c 512\nSET: 30049.88 requests per second\nGET: 30422.88 requests per second\n```\n\nHardward info\n\n```\n❯ system_profiler SPHardwareDataType\nHardware:\n\n    Hardware Overview:\n\n      Model Name: MacBook Pro\n      Model Identifier: MacBookPro11,3\n      Processor Name: Intel Core i7\n      Processor Speed: 2.3 GHz\n      Number of Processors: 1\n      Total Number of Cores: 4\n      L2 Cache (per Core): 256 KB\n      L3 Cache: 6 MB\n      Memory: 16 GB\n      Boot ROM Version: MBP112.0138.B17\n      SMC Version (system): 2.19f12\n      Serial Number (system): C02MG6L8FD57\n      Hardware UUID: EB84A5CF-F1BA-5604-B1A6-534E30EA95C1\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakagi201%2Fredface","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakagi201%2Fredface","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakagi201%2Fredface/lists"}