Back in the 90/2000 the was a very popular tool named rrdtool to store metrics in a round robin structure on disk, especially suited for network metrics. The goal of the storage was to have a fixed size and cover only last NNN days, circularly.
I use rrdtool to this day, as a building block, but this project looks much better.
I use rrdtool to this day, as a building block, but this project looks much better.