Install/uninstall and enable/disable a module will set the state variable in memory and eventually save it to a json file. Running the program in cluster mode may result in an undefined behaviour if several clients perform a real time state change.
Possible non-database solution would be to maintain the state information only in the master node, and use event based messaging between processes to coordinate the state change.
Install/uninstall and enable/disable a module will set the state variable in memory and eventually save it to a json file. Running the program in cluster mode may result in an undefined behaviour if several clients perform a real time state change.
Possible non-database solution would be to maintain the state information only in the master node, and use event based messaging between processes to coordinate the state change.