Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/titikterang/redis-timeseries-bench
- Owner: titikterang
- Created: 2022-03-29T07:33:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-04-02T01:47:17.000Z (over 2 years ago)
- Last Synced: 2024-05-11T17:52:17.042Z (6 months ago)
- Topics: benchmark, golang, golang-examples, golang-tools, redis, time-series, timeseries
- Language: Go
- Homepage:
- Size: 9.48 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
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
```