Feature request: Cache data if database unavailable
Closed this issue · 3 comments
mr-manuel commented
Would it be possible to add a caching function to not loose data during a connection or database outage?
If the database connection is not available the data gets stored on the disk and as soon as the database is available again, the data is written to the database.
There should also be a threshold for maximum cache size.
I would love it!
mblackstock commented
Thanks for the suggestion, but I think a general purpose data cache solution (node?) that could be used with other storage solutions might be a better solution.
mr-manuel commented
Do you know some?
mblackstock commented
Not offhand. I recall a set of safe queue nodes that may be useful. I suggest you bring up your need on slack or the forum so the wider community can help with a solution.