I'm trying to develop a small app in Java that will monitor my server's CPU load and memory (with SIGAR) and display real time or past data on graphs in the client app (on my home computer).
I was wondering which way would be best to store the data, file or database (in tems of resources, speed, ..) as I record it every second ?