Hello,
I have a ReaderProcess, which reads data from some sensors and a WriterProcess, which sends the data which was read by the ReaderProcess to a SQL Database.
The WriterProcess establish the connection to the SQL Database. In case of failure, no data could be written and the ReaderProcess just writes into the queue (until a limit is reached).
In case of a losing the power supply, I want to store the queue on the filesystem to prevent data loss.
Is there a way to implement that with legato framework? Or could somebody recommend a library for that use case?
Thanks!