Distributed time series database in erlang