Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for client persistence #52

Open
njh opened this issue Sep 25, 2014 · 2 comments
Open

Add support for client persistence #52

njh opened this issue Sep 25, 2014 · 2 comments

Comments

@njh
Copy link
Owner

njh commented Sep 25, 2014

Types of storage for persistence:

  • in memory
  • flat file on disk
  • Redis
  • Relational Databases
    • SQLite
    • MySQL

I am not sure if it would be possible to use Memcache - I think a key quality would be to iterate through the persisted messages.

This is a pre-requisite for QoS 1 and 2.

@Vincent14
Copy link

Without QoS, what's the goal of this issue?

@njh
Copy link
Owner Author

njh commented Feb 27, 2019

Persistence would allow clients to act as if the server is there all of the time - responsibility for the message would be handed over to the MQTT library.

This means if the connection to the server dropped or the client application crashes, the library can deliver the messages when the connection is back up again.

If could also act as a buffer, if there was a lot of data/messages to send to the MQTT server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants