node-red-contrib-aedes
node-red-contrib-aedes copied to clipboard
support aedes-persistence-level
please add support aedes-persistence-level to save data in local storage
Currently persistence between Node-RED restarts is only supported for MongoDB. Aedes provides a few more storage options. NeDB might be an option if persistence without an external database is required. Let me check this.
Martin
There is a new branch NeDB. Would you mind testing it?
Martin
Unfortunately, the stability test for the NeDB persistence failed. This needs more investigation.
any ideas how to implement this?
To be honest I did not test it since then. Did you try the NeDB branch?
for my work find, but i recommended use LevelDB . aedes-persistence-nedb now not support
OK. I will check it. It is supported by aedes now.
The latest version 0.11 supports LevelDB. It is not published yet to npm. Are you willing to test it from Github?
yup
I was not sure if you need a npm package. So I published today version 0.11.0 with LevelDB persistence.
i see you remove support, i can test from git ... mb set path for db like https://github.com/NRCHKB/node-red-contrib-homekit-bridged/blob/b52945d671ad5ea286361e1f26095075785882cd/src/nodes/nrchkb.ts#L43
@martin-doyle hi, have you any idea ?
I tested LevelDB and it caused a Node-RED crash on ARM64 in a docker container. So, I do not want to deploy this in the main branch.
try aedes-persistence-nedb ?