Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

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.

...

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.

Setting TaskProgressUpdaterType (50)

Allows to log task progress to Redis or to MySQL instance

Value for

Value to configure

MySQL

iTsense.Moving.Backend.Services.TaskSchedulerService.ProgressUpdaters.TaskProgressUpdaterDatabase,iTsense.Moving.Backend.Services.TaskSchedulerService

Redis

iTsense.Moving.Backend.Services.TaskSchedulerService.ProgressUpdaters.TaskProgressUpdaterRedis,iTsense.Moving.Backend.Services.TaskSchedulerService

Setting TaskLockItemHandlerType (51)

Allows to store worklock items in Redis or in MySQL instance

Value for

Value to configure

MySQL

iTsense.Moving.Backend.Common.TaskScheduler.WorkItemLockHandler.WorkItemLockHandlerDataBase,iTsense.Moving.Backend.Common

Redis

iTsense.Moving.Backend.Common.Redis.Tasks.WorkItemLockHandlerRedis,iTsense.Moving.Backend.Common.Redis

Setting RedisConfiguration (52)

Configuration of your Redis instance. If you deployed Redis locally as described, you don’t need to change the default configuration.

...