Closed nicolargo closed 7 years ago
Here is a first try for the value list compression: https://gist.github.com/nicolargo/53f0168520ab1aef1872
Any comment ?
Gist code not compliant with the data structure. History now stores data in list of tuple [(timestamp, value), ...]
The history store for CPU, MEM, LOAD, DISK IO, Net IO stats. Glances stores data in a dict of list. The goal is to optimize the memory footprint by compressing data.
Have a look on the chapter 4.1.2 of the http://www.vldb.org/pvldb/vol8/p1816-teller.pdf document.