A reactive time series database