Uses ets to cache datapoints in memory.