Reduced heatmap lag by using map-reduce