{"id":23785004,"url":"https://github.com/spy16/radio","last_synced_at":"2025-07-04T13:38:13.703Z","repository":{"id":57597103,"uuid":"162116692","full_name":"spy16/radio","owner":"spy16","description":"Radio is a library for creating RESP (REdis Serialization Protocol) comaptible services. :radio:","archived":false,"fork":false,"pushed_at":"2020-01-01T07:11:04.000Z","size":40,"stargazers_count":31,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-06-20T12:46:43.353Z","etag":null,"topics":["golang","library","redis-protocol"],"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/spy16.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":"2018-12-17T10:55:53.000Z","updated_at":"2022-04-14T21:22:41.000Z","dependencies_parsed_at":"2022-08-25T00:21:59.527Z","dependency_job_id":null,"html_url":"https://github.com/spy16/radio","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/spy16%2Fradio","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spy16%2Fradio/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spy16%2Fradio/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spy16%2Fradio/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spy16","download_url":"https://codeload.github.com/spy16/radio/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":232081602,"owners_count":18469913,"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","library","redis-protocol"],"created_at":"2025-01-01T13:13:46.229Z","updated_at":"2025-01-01T13:13:46.945Z","avatar_url":"https://github.com/spy16.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Radio\n\n[![GoDoc](https://godoc.org/github.com/spy16/radio?status.svg)](https://godoc.org/github.com/spy16/radio) [![Go Report Card](https://goreportcard.com/badge/github.com/spy16/radio)](https://goreportcard.com/report/github.com/spy16/radio)\n\nRadio is a `Go` (or `Golang`) library for creating [RESP](https://redis.io/topics/protocol) (**RE**dis **S**erialization **P**rotocol)\ncompatible services/servers.\n\n## Features\n\n- [Fast](#benchmarks) Redis compatible server library\n- Single RESP parser (`radio.Reader`) that can be used for both client-side and server-side parsing\n- Parser supports Inline Commands to use with raw tcp clients (example: `telnet`)\n- RESP value types to simplify wrapping values and serializing\n- RESP Parser that can be used with any `io.Reader` implementation (e.g., AOF files etc.)\n\n## Benchmarks\n\nBenchmarks were run using [redis-benchmark](https://redis.io/topics/benchmarks) tool.\n\n- Go Version: `go version go1.12.1 darwin/amd64`\n- Host: `MacBook Pro 15\" Intel Core i7, 2.8 GHz, 4 Cores + 16GB Memory`\n\n**Redis**:\n\n- Run Server: `redis-server --port 9736 --appendonly no`\n- Run Benchmark: `redis-benchmark -h 127.0.0.1 -p 9736 -q -t PING -c 100 -n 1000000`\n\n    ```plaintext\n    PING_INLINE: 80515.30 requests per second\n    PING_BULK: 78678.20 requests per second\n    ```\n\n**Redcon**:\n\n- Run Server: See [tidwall/redcon](https://github.com/tidwall/redcon#example)\n- Except `ping` command, everything else was removed from the example above\n- Run Benchmark: `redis-benchmark -h 127.0.0.1 -p 6380 -q -t PING -c 100 -n 1000000`\n\n    ```plaintext\n    PING_INLINE: 71669.17 requests per second\n    PING_BULK: 71828.76 requests per second\n    ```\n\n**Radio**:\n\n- Run Server: `go run examples/main.go -addr :8080`\n- Run Benchmark: `redis-benchmark -h 127.0.0.1 -p 8080 -q -t PING -c 100 -n 1000000`\n\n    ```plaintext\n    PING_INLINE: 71199.71 requests per second\n    PING_BULK: 71301.25 requests per second\n    ```\n\n### TODO\n\n- [ ] Add pieplining support\n- [ ] Pub sub support\n- [ ] Client functions\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspy16%2Fradio","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspy16%2Fradio","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspy16%2Fradio/lists"}