# 06-07 Results of rolling client average
# Problem
Today I finished the measurement averaging algorithm. Since I take a rolling average with the measurement as a central value instead of using only previous ones, there is some latency. Furthermore, I have to wait for all measurements to arrive in the backend (wifi is slow) so that takes a while too. Below are some sample results with a 10 measurement averaging window. The results are nice.
# (Solution)
Latency is definitely a problem, but at the moment I think one second of latency is nothing to worry about. The only solution I can think of is to upload more measurements.
# Next steps
Next I will send all gateway measurements through the same averaging algorithm. I will also switch from redis lists to sets, since these are sortable by timestamp.