Record Processing become slow after switch to Redis from In-Memory

Hi,

We have switched the AP_QUEUE_MODE environment variable from Memory to Redis.

  • With Memory, processing 1 lakh records took 12 minutes.
  • With Redis, processing 1 lakh records took 22 minutes.

Our setup consists of two pods, each with 6-core CPUs and 16 GB RAM.

  • When AP_QUEUE_MODE was set to Memory, CPU and memory utilization ranged between 80% to 90%.
  • When AP_QUEUE_MODE was set to Redis, CPU and memory utilization ranged between 30% to 50%.

Below is the CPU Usage of Redis pod during the run.

Can someone guide on this.

Thanks and Regards,
Bharathan.