moscajs / mosca

MQTT broker as a module
mosca.io
3.2k stars 509 forks source link

Backend vs Persistence #535

Closed pirakleous closed 7 years ago

pirakleous commented 8 years ago

What is the difference between backend and persistence? And how about QoS 0 offline packets option?

mcollina commented 7 years ago

the backend is needed to run multiple instance of Mosca that shares the same topic space. the persistence is for offline/retained message. QoS0 offline packets are not supported by the MQTT spec.

ihsenCh commented 6 years ago

Can't we use the same DB for both needs ?