Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/titikterang/redis-timeseries-bench

Redis timeseries simple benchmark between 2 go libraries
https://github.com/titikterang/redis-timeseries-bench

benchmark golang golang-examples golang-tools redis time-series timeseries

Last synced: 5 days ago
JSON representation

Redis timeseries simple benchmark between 2 go libraries

Awesome Lists containing this project

README

        

### Overview
read & write performance benchmark for redis timeseries between rueidis & redistimeseries-go

### Quick start
https://redis.io/docs/stack/timeseries/quickstart/
```shell
docker run -p 0.0.0.0:16379:6379 -d --rm --name=rds_timeseries redislabs/redistimeseries
```

### Client libraries
| Project | Language | License | Author | Stars | Bulk Insert |
|----------------------------------------------|----------|----------|------------------------------------|-------------------------------------------------------|-----------------------------|
| [redistimeseries-go][redistimeseries-go-url] | Go | Apache-2 | [Redis][redistimeseries-go-author] | [![redistimeseries-go-stars]][redistimeseries-go-url] | 523.18 ms (1,3mio row/sec) |
| [rueidis][rueidis-url] | Go | Apache-2 | [Rueian][rueidis-author] | [![rueidis-stars]][rueidis-url] | 416.76 ms (1,63mio row/sec) |

[redistimeseries-go-url]: https://github.com/RedisTimeSeries/redistimeseries-go/
[redistimeseries-go-author]: https://redis.com
[redistimeseries-go-stars]: https://img.shields.io/github/stars/RedisTimeSeries/redistimeseries-go.svg?style=social&label=Star&maxAge=2592000

[rueidis-url]: https://github.com/rueian/rueidis
[rueidis-author]: https://github.com/rueian
[rueidis-stars]: https://img.shields.io/github/stars/rueian/rueidis.svg?style=social&label=Star&maxAge=2592000

### Test Data
* 681.540 rows
* 20.000 rows / chunk
* test on 8 core / 16GB, ubuntu OS

### Run Benchmark
```shell
git clone [email protected]:ujunglangit-id/redis-timeseries-bench.git && cd redis-timeseries-bench
docker run -p 0.0.0.0:16379:6379 -d --rm --name=rds_timeseries redislabs/redistimeseries
go mod vendor
make bench
```