ioBroker.js-controller icon indicating copy to clipboard operation
ioBroker.js-controller copied to clipboard

refactor: separating the storage from the dataset handling

Open Apollon77 opened this issue 4 years ago • 0 comments

refactoring and separating the storage from the dataset handling. Proposal:

  1. capsule the dataset handling with a class that is compatible to the native Map
  2. handle persistence (regular save, backup) on write accesses inside that new dataset class and remove it from the FileDB server class
  3. make the InMemFileDB able to handle a different dataset implementation which should be configurable via the settings
  4. Convert PR ioBroker/db#26 into a different dataset implementation.

Apollon77 avatar Feb 07 '21 12:02 Apollon77