https://github.com/redistimeseries/redistimeseries-ooo-benchmark
https://github.com/redistimeseries/redistimeseries-ooo-benchmark
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/redistimeseries/redistimeseries-ooo-benchmark
- Owner: RedisTimeSeries
- License: apache-2.0
- Created: 2020-08-25T18:12:25.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2024-09-19T08:15:23.000Z (over 1 year ago)
- Last Synced: 2025-06-02T02:06:00.196Z (about 1 year ago)
- Language: Go
- Size: 39.1 KB
- Stars: 3
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://circleci.com/gh/RedisTimeSeries/redistimeseries-ooo-benchmark)
[](https://github.com/RedisTimeSeries/redistimeseries-ooo-benchmark/releases/latest)
[](https://codecov.io/gh/RedisTimeSeries/redistimeseries-ooo-benchmark)
[](https://godoc.org/github.com/RedisTimeSeries/redistimeseries-ooo-benchmark)
# redistimeseries-ooo-benchmark
[](https://forum.redislabs.com/c/modules/redistimeseries)
[](https://gitter.im/RedisLabs/RedisTimeSeries?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
## Overview
This repo contains code to mimic the out ot order / backfilled workloads on RedisTimeSeries >= v1.4.
Several aspects can dictate the overall system performance, like the:
- Pipeline size
- Number of distinct clients ( each client has a dedicated time-serie )
- Compressed / Uncompressed series
- Out of order ratio
## Installation
This benchmark go program is know to be supported for go >= 1.13.
The easiest way to get and install the Subscriber Go program is to use
`go get` and then `go install`:
```bash
# Fetch this repo
go get github.com/RedisTimeSeries/redistimeseries-ooo-benchmark
cd $GOPATH/src/github.com/RedisTimeSeries/redistimeseries-ooo-benchmark
make
```
## Usage of redistimeseries-ooo-benchmark
```
Usage of redistimeseries-ooo-benchmark:
-chunk-size int
chunk size. (default 4096)
-client-update-tick int
client update tick. (default 1)
-compressed
test for compressed TS
-debug-level int
debug level.
-host string
redis host. (default "127.0.0.1:6379")
-json-out-file string
Name of json output file, if not set, will not print to json.
-ooo-percentage float
out of order percentage [0.0,100.0]
-pipeline int
pipeline. (default 1)
-random-seed int
random seed to be used. (default 12345)
-samples-per-ts uint
Number of total samples per timeseries. (default 100000)
-ts-maximum uint
channel ID maximum value ( each channel has a dedicated thread ). (default 100)
-ts-minimum uint
channel ID minimum value ( each channel has a dedicated thread ). (default 1)
```