Sliding Window Implementation for go-metrics | Hacker News Reader