Introduction
You can use CoreOne with Redis as the store for task data. That should offload your MySQL instance and lead to better performance.
Step 1 - Local Redis installation
If you want to run Redis locally on Windows machine you have a few options available - Docker, virtual machine or paid solutions.
The easiest is to use Memurai (free for developer - not for production):
Download Nuget https://www.nuget.org/packages/MemuraiDeveloper/
Unzip it
Go to tools folder
Start memurai.exe (this is server process with Redis)
Start memurai-cli.exe (this is command line interface you can use to communicate)
After that you should be able to use Redis with CoreOne.
...
For that change the settings described in step 2.
Step 2 - Configure the CoreOne Suite to use Redis
To enable Redis you have to adjust the following settings in the moving_global.config_setting_value - you should be able to find possible values in the description column of this setting value.
...
SettingId, SettingCode
...
50, TaskProgressUpdaterType
...
.
Setting TaskProgressUpdaterType (50)
Allows to log task progress to Redis or to MySQL instance
Value for | Value to configure |
---|---|
|
|
Value for |
|
SettingId, SettingCode
51, TaskLockItemHandlerType
Setting TaskLockItemHandlerType (51)
Allows to store worklock items in Redis or in MySQL instance
Value for | Value to configure |
---|---|
|
|
Value for |
|
SettingId, SettingCode
52, RedisConfiguration
Setting RedisConfiguration (52)
Configuration of your Redis instance
...
Local Redis installation
. If you want to run deployed Redis locally on Windows machine you have a few options avaiable - Docker, virtual machine, paid solutions.
The easiest is to use Memurai (free for developer - not for production):
Download Nuget https://www.nuget.org/packages/MemuraiDeveloper/
Unzip it
Go to tools folder
Start memurai.exe (this is server process with Redis)
Start memurai-cli.exe (this is command line interface you can use to communicate)
After that you should be able to use Redis with CoreOne (just change setting 50/51 to use redis implementation). No need for change in the 52 setting with configuration.as described, you don’t need to change the default configuration.
Value for | 52, RedisConfiguration | |||||
---|---|---|---|---|---|---|
|
|