xephonhq / xephon-b

A time series database benchmark suite
https://xephonhq.github.io/xephon-b/
MIT License
8 stars 3 forks source link

Add setup script for elasticsearch, influxdb, redis #7

Closed czheo closed 7 years ago

czheo commented 7 years ago

Add setup script for elasticsearch, influxdb, redis. works on Linux only.

at15 commented 7 years ago

tested locally

LGTM

at15 commented 7 years ago

oops, some small problems @czheo

Thx

czheo commented 7 years ago

are we going to write all the time series logic for redis in our benchmark tool?

yes. we have to

if so how? following sentry or the redislab tech guide?

depends on what operations you'd like to cover. Now, we only cover "count" and "moving avg". count is native in redis. we need find some sample to implement moving avg. any sample is fine to make a comparison. Such as: https://redislabs.com/ebook/redis-in-action/part-2-core-concepts-2/chapter-5-using-redis-for-application-support/5-2-counters-and-statistics/5-2-2-storing-statistics-in-redis https://www.redisgreen.net/library/runningavg.html

at15 commented 7 years ago

@czheo I think sentry have some existing logic https://github.com/getsentry/sentry/tree/master/src/sentry/tsdb

czheo commented 7 years ago

@at15 didn't find moving avg in their code