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

Use redis SET at least for enums

Open foxriver76 opened this issue 2 years ago • 1 comments

We should switch for objects which can have many dependencies/members to other objects, like enums to redis SET functionality. This is motivated by redis taking very long to delete objects because we have to check if the object is in an enum. With set functionality every enum would be a set and we would just call a SDEL id for all enums.

foxriver76 avatar Oct 12 '21 09:10 foxriver76

Other candidates are objects with "members" array like user groups.

We then also need new methods and adapter adjustments in eg. admin

this would be a good effect to allow "atomic" actions

Apollon77 avatar Dec 04 '21 13:12 Apollon77