Best way to temporarily store data?

The Raspberry Pi is a series of credit card-sized single-board computers developed in the United Kingdom by the Raspberry Pi Foundation to promote the teaching of basic computer science in schools and developing countries.

Post Reply
User avatar
/RaspberryPi
Corporate
Posts: 2449
Joined: Wed Jun 05, 2019 1:29 am

Best way to temporarily store data?

Post by /RaspberryPi »

I'm developing a project for a device that communicates with an mqtt broker, but this device may lose connection with the server. I would like to know if there is any strategy to store the data in some temporary database, to send all this data when I manage to reconnect with this broker, being able to delete all data as soon as the sending is confirmed.
Would you recommend a way to store this data on the device?
The language I'm using is Python.

submitted by /u/Admirable_Local7471
[link] [comments]

More...
Post Reply

Return to “Raspberry Pi Forum”