Since redis has no schemas (as a nosql db), it should store data based on the way you want to retrieve data.
There will be multiple views on the data which should make sense for a lot of use cases (counters,
sets, sorted sets, lists, hashes etc) to retrieve the data.
All keys that izzum uses in redis can be found in this classes' constants with a 'KEY_' prefix.
This class uses the php redis module and your php build should be setup with this module loaded.
An instance uses a redis key prefix of 'izzum:' by default. but this can be set to whatever you like.
.
You can even set the prefix key to something else temporarily for loading the configuration data and
then set it to another prefix for writing state data. This allows you to store multiple machine
configurations under different prefixes so you can load different machines from different places,
which facilitates multiple dev teams working on configuration of different machines without them
overwriting other teams' definitions.
The configuration of statemachines is a JSON string. The specification of the JSON string can
be found in izzum\statemachine\loader\JSON::getJSONSchema. see asset/json/json.schema
Internally, this class uses the JSON loader to load the configuration. It can be set up to
store multiple configurations under multiple keys.
You can use the normal redis connection settings to connect to redis.