Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7503665
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T21:18:35+00:00 2026-05-29T21:18:35+00:00

We are obtaining a very interesting graph in our Redis architecture. Green: master Blue:

  • 0

We are obtaining a very interesting graph in our Redis architecture.

redis commands

  • Green: master
  • Blue: slave

Looks like the master Redis is executing 35% more commands than the slave Redis.

It is not always the same distance.

Here is part of the log of the active redis server:

[26911] 14 Feb 13:28:44 - DB 0: 2399 keys (417 volatile) in 16384 slots HT.
[26911] 14 Feb 13:28:44 - DB 1: 498 keys (498 volatile) in 1024 slots HT.
[26911] 14 Feb 13:28:44 - DB 2: 1 keys (0 volatile) in 4 slots HT.
[26911] 14 Feb 13:28:44 - 706 clients connected (1 slaves), 33794240 bytes in use

and during the same time on the salve:

[17748] 14 Feb 13:28:44 - DB 0: 2398 keys (417 volatile) in 16384 slots HT.
[17748] 14 Feb 13:28:44 - DB 1: 497 keys (497 volatile) in 1024 slots HT.
[17748] 14 Feb 13:28:44 - DB 2: 1 keys (0 volatile) in 4 slots HT.
[17748] 14 Feb 13:28:44 - 1 clients connected (0 slaves), 24839792 bytes in use

So they look like they are almost 1:1 synchronized.

We wonder which can be the cause of this gap. Also we are asking our selves if this means there are unnecessary commands sent to Redis that we can optimize.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-29T21:18:36+00:00Added an answer on May 29, 2026 at 9:18 pm

    Here’s a possible explanation: total_commands_processed reports all commands, reads, writes and server related commands. Only write commands will be propagated to the slave(s).

    In a setup where you only write to the master, and read from the slave(s), you will have a higher total_commands_processed on the slave(s) (all reads + all writes).

    If you write to and read from the master, and only keep the slave as a backup, or to persist to disk, the master will have a higher total_commands_processed.

    In fact, it’s very improbable that the master and slave will have the same number of total_commands_processed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need help in parsing a very long text file which looks like: NAME
Not sure if I am missing something very blatant or (much more doubtful) I
Is it possible to create a NumPy object that behaves very much like a
After obtaining data from a model form based on a Model, say form_data =
I'm having trouble obtaining data with a macro I've created using XSLT. I have
I am obtaining the mac(hw) address of an interface using CWNetwork. Now OS X
The stereo matching problem consists of obtaining a correspondence between right and left images.
I've been using an Action for obtaining a report's data, as a JSON object,
I have a problem with obtaining the current user location. Code at first works
Possible Duplicate: Get the IP Address of local computer Obtaining local IP address using

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.