On Mon, 2 Dec 2019 11:59:41 +0100 "Carlos E. R." <robin.listas@telefonica.net> wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 02/12/2019 09.17, Per Jessen wrote:
My systems need to write something every minute. They're generally monitoring various sensors.
Can't the writing be delayed?
Depends what you're doing. IMHO, systemd's way of writing to the journal is smart enough to make the journal persistent, but there's lots of other logging, such as apache access logs, that can safely be done to RAM. There's a project called log2ram that's quite useful - there are various flavours of it. Another way to minimise writes is to use bigger SD cards. I've standardised on 32GB Sandisk cards at the moment since they seem to be a reasonable price. Lots of spare space means lots of wear-levelling. My data logging system OpenEnergyMonitor (OEM) uses redis to buffer data and reduce the frequency of writes to SD card. That seems to work quite well. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org