ioBroker.js-controller
ioBroker.js-controller copied to clipboard
Use redis SET at least for enums
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.
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