Snapchat / KeyDB

A Multithreaded Fork of Redis
https://keydb.dev
BSD 3-Clause "New" or "Revised" License
11.02k stars 564 forks source link

What is rreplay metrics mean? and why it is way too high in some scenarios #765

Open BlackMetalz opened 6 months ago

BlackMetalz commented 6 months ago

Hello there, I started using Keydb as a Redis placement recently. I'm encountering an issue that the cluster Keydb ( active-replica ) seems slow when there are way too many total commands ( especially rreplay )

So I only allow traffic into 1 node. Another node will be saved for failover.

More info:

image

So I'm using Laravel with queue (https://laravel.com/docs/8.x/queues ) to connect to the Keydb cluster

Config is common with just some small changes

      maxmemory: 3gb
      active-replica: "yes"
      maxmemory-policy: allkeys-lru
      server-threads: 4
nublaii commented 4 months ago

Ever got an answer to this? I'm seeing similar problems