Radio is a library for creating RESP (REdis Serialization Protocol) comaptible services. :radio:
Radio is a Go
(or Golang
) library for creating RESP (REdis Serialization Protocol)
compatible services/servers.
radio.Reader
) that can be used for both client-side and server-side parsingtelnet
)io.Reader
implementation (e.g., AOF files etc.)Benchmarks were run using redis-benchmark tool.
go version go1.12.1 darwin/amd64
MacBook Pro 15" Intel Core i7, 2.8 GHz, 4 Cores + 16GB Memory
Redis:
Run Server: redis-server --port 9736 --appendonly no
Run Benchmark: redis-benchmark -h 127.0.0.1 -p 9736 -q -t PING -c 100 -n 1000000
PING_INLINE: 80515.30 requests per second
PING_BULK: 78678.20 requests per second
Redcon:
Run Server: See tidwall/redcon
Except ping
command, everything else was removed from the example above
Run Benchmark: redis-benchmark -h 127.0.0.1 -p 6380 -q -t PING -c 100 -n 1000000
PING_INLINE: 71669.17 requests per second
PING_BULK: 71828.76 requests per second
Radio:
Run Server: go run examples/main.go -addr :8080
Run Benchmark: redis-benchmark -h 127.0.0.1 -p 8080 -q -t PING -c 100 -n 1000000
PING_INLINE: 71199.71 requests per second
PING_BULK: 71301.25 requests per second