I'm looking to do some analysis on a large set of customer transaction data. We have millions of transaction events come in with some quantity and timestamp value for various entities;
{
"txId": "tx123"
"item": "i87"
"qty": 3
"time": "2016-10-31 01:42:54"
}
I want to keep a series of aggregations rolled up at the day, week level and sliding windows, e.g. sum qty
of item i87
transacted in the last 28 weeks.
There seem to be a number of options for this including a time series databases like InfluxDB or OpenTSDB. However most of these seem to be targeted towards metrics and monitoring which have short aggregation periods. How would such system cope with doing both small & large rolling windows?