Tagged articles
139 articles
Page 1 of 2
Top Architect
Top Architect
Jan 3, 2026 · Databases

How to Safely Add a Column to a Billion‑Row Order Table Without Downtime

When a core order table with tens of millions of rows needs a new business field, executing a plain ALTER TABLE can lock the table and disrupt services, so the article explores master‑slave switching, online schema‑change tools, extension tables, JSON fields, and a clever reuse of an existing redundant column to achieve the change with minimal risk.

DDLJSONMaster‑Slave
0 likes · 9 min read
How to Safely Add a Column to a Billion‑Row Order Table Without Downtime
Ops Community
Ops Community
Jun 19, 2025 · Operations

How to Set Up a BIND DNS Server on Linux: Step‑by‑Step Guide

This guide walks you through installing BIND on Linux, configuring forward and reverse DNS, setting ports, logging, access controls, forwarders, zone files, master‑slave replication, AppArmor adjustments, and testing the DNS service with tools like dig, host, and nslookup.

AppArmorBINDConfiguration
0 likes · 25 min read
How to Set Up a BIND DNS Server on Linux: Step‑by‑Step Guide
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Apr 25, 2025 · Databases

Essential Knowledge Points of Redis Cluster

Redis cluster relies on two ports per node, a hash‑slot based sharding scheme, a master‑slave replication model, and provides eventual consistency, making these four fundamentals essential knowledge for developers and operators to.

ClusterConsistencyMaster‑Slave
0 likes · 6 min read
Essential Knowledge Points of Redis Cluster
IT Xianyu
IT Xianyu
Apr 19, 2025 · Databases

Step-by-Step Guide to Setting Up MySQL 5.7 Master‑Slave Replication

This tutorial walks through preparing the Linux environment, installing MySQL 5.7, configuring master and slave servers, creating replication users, verifying synchronization, troubleshooting common issues, and applying advanced options such as GTID and semi‑synchronous replication, all with complete command examples.

ConfigurationGTIDLinux
0 likes · 10 min read
Step-by-Step Guide to Setting Up MySQL 5.7 Master‑Slave Replication
Cognitive Technology Team
Cognitive Technology Team
Apr 13, 2025 · Backend Development

Understanding RocketMQ Master‑Slave Architecture and High‑Availability Mechanisms

This article explains how RocketMQ achieves high availability and data reliability through its master‑slave broker design, covering synchronous and asynchronous replication, flush strategies, transaction messaging, automatic failover with Dledger, and read‑write separation for load balancing in distributed systems.

Distributed SystemsMaster‑SlaveRocketMQ
0 likes · 7 min read
Understanding RocketMQ Master‑Slave Architecture and High‑Availability Mechanisms
Java Captain
Java Captain
Apr 9, 2025 · Backend Development

Implementing Dynamic MySQL Master‑Slave Data Source Switching in SpringBoot with AOP and Custom Annotations

This tutorial explains how to use SpringBoot, AOP, and a custom @DataSource annotation to dynamically switch between MySQL master and slave databases—covering configuration, code implementation, multiple slave handling, and an Oracle example—to ensure high availability and flexible data source management.

JavaMaster‑SlaveMulti-DataSource
0 likes · 13 min read
Implementing Dynamic MySQL Master‑Slave Data Source Switching in SpringBoot with AOP and Custom Annotations
Raymond Ops
Raymond Ops
Apr 2, 2025 · Databases

How to Set Up MySQL Master‑Slave Replication (Step‑by‑Step Guide)

This guide walks you through preparing multiple virtual machines, configuring MySQL server IDs, setting up both classic and GTID‑based master‑slave replication, and managing the replication with essential commands, complete with code examples and architecture diagrams.

GTIDMaster‑SlaveReplication
0 likes · 6 min read
How to Set Up MySQL Master‑Slave Replication (Step‑by‑Step Guide)
Java Backend Technology
Java Backend Technology
Feb 19, 2025 · Backend Development

Mastering Dynamic MySQL Master‑Slave Switching in SpringBoot with AOP

Learn how to implement dynamic MySQL master‑slave switching in a SpringBoot project using AOP and custom annotations, ensuring automatic failover to the master when a slave fails, with detailed configuration, code examples, and guidance for multiple data sources and Oracle integration.

Database FailoverMaster‑SlaveSpringBoot
0 likes · 15 min read
Mastering Dynamic MySQL Master‑Slave Switching in SpringBoot with AOP
Su San Talks Tech
Su San Talks Tech
Oct 21, 2024 · Databases

How to Diagnose and Fix MySQL Master‑Slave Replication Lag

This article explains why MySQL master‑slave replication can become delayed in high‑traffic order systems, describes the underlying binlog synchronization mechanism, and provides practical steps—including network upgrades, server tuning, transaction reduction, version updates, and slave count limits—to eliminate the lag.

LatencyMaster‑SlaveReplication
0 likes · 7 min read
How to Diagnose and Fix MySQL Master‑Slave Replication Lag
IT Services Circle
IT Services Circle
Oct 4, 2024 · Databases

Understanding Redis Split‑Brain: Causes, Data Loss, and Prevention Strategies

This article explains Redis split‑brain behavior, describing its definition, causes such as network failures and Sentinel elections, the resulting data loss during master‑slave switches, and practical prevention measures including quorum configuration, timeout tuning, network monitoring, proxy layers, and the min‑slaves‑to‑write and min‑slaves‑max‑lag settings.

Master‑SlaveSplit-Braindatabase
0 likes · 7 min read
Understanding Redis Split‑Brain: Causes, Data Loss, and Prevention Strategies
Open Source Linux
Open Source Linux
Sep 20, 2024 · Databases

Redis Master‑Slave Replication and Sentinel: How They Work and Scale

This article explains Redis master‑slave replication, synchronization steps, handling of network partitions, and how Sentinel provides automatic failover through monitoring, leader election, and notification, offering strategies to reduce master load and ensure high availability.

Master‑SlaveReplicationdatabase
0 likes · 9 min read
Redis Master‑Slave Replication and Sentinel: How They Work and Scale
Architect
Architect
Jul 5, 2024 · Databases

Step-by-Step Guide to Deploy PostgreSQL Master‑Slave Replication

This article provides a comprehensive, hands‑on tutorial for planning, installing, configuring, and verifying a PostgreSQL master‑slave (streaming replication) setup on two Linux nodes, including user creation, remote connection settings, data export/import, and troubleshooting tips.

ConfigurationLinuxMaster‑Slave
0 likes · 14 min read
Step-by-Step Guide to Deploy PostgreSQL Master‑Slave Replication
FunTester
FunTester
Apr 28, 2024 · Backend Development

Tackling Data Consistency: Master‑Slave, Master‑Master & Leaderless Architectures

The article examines why distributed systems inevitably face data‑consistency challenges and breaks down three common service‑architecture patterns—master‑slave, master‑master, and leaderless—detailing their replication mechanisms, advantages, drawbacks, and practical solutions such as synchronous, semi‑synchronous, asynchronous replication, quorum handling, node‑failure recovery, and conflict resolution strategies.

Data ConsistencyDistributed SystemsMaster‑Slave
0 likes · 14 min read
Tackling Data Consistency: Master‑Slave, Master‑Master & Leaderless Architectures
Tencent Cloud Developer
Tencent Cloud Developer
Mar 26, 2024 · Databases

Data Consistency in Distributed Systems: Master‑Slave, Master‑Master, and Leaderless Architectures

The article compares master‑slave, master‑master, and leaderless distributed architectures, explaining how synchronous, semi‑synchronous, and asynchronous replication affect consistency, latency and scalability, and showing that each pattern trades write throughput, conflict‑resolution complexity, and availability against strong data correctness.

Data ConsistencyDistributed SystemsMaster‑Slave
0 likes · 15 min read
Data Consistency in Distributed Systems: Master‑Slave, Master‑Master, and Leaderless Architectures
Su San Talks Tech
Su San Talks Tech
Feb 23, 2024 · Databases

Mastering Redis Master‑Slave Replication: How It Works and Why It Matters

This article explains Redis high‑availability through master‑slave replication, covering the architecture, read‑write separation benefits, the three‑stage initial sync process, incremental synchronization, and practical considerations for scaling and fault tolerance in production environments.

Master‑SlaveReplicationdatabase
0 likes · 12 min read
Mastering Redis Master‑Slave Replication: How It Works and Why It Matters
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Feb 16, 2024 · Databases

MySQL Master‑Slave Synchronization: Three Common Approaches and Consistency Solutions

This article explains why read‑write separation is essential for high‑concurrency systems and details three MySQL master‑slave synchronization methods—half‑synchronous replication, database‑middleware synchronization, and cache‑key write tracking—along with their advantages, drawbacks, and consistency considerations.

CacheConsistencyMaster‑Slave
0 likes · 6 min read
MySQL Master‑Slave Synchronization: Three Common Approaches and Consistency Solutions
Mike Chen's Internet Architecture
Mike Chen's Internet Architecture
Jan 15, 2024 · Databases

Mastering Database Read‑Write Separation: Principles and MySQL Replication Explained

This article explains the concept of read‑write separation, why it improves performance, when it should be applied, the underlying principles of master‑slave replication, and provides a detailed MySQL example with diagrams to illustrate the architecture and data synchronization process.

Database ReplicationMaster‑SlavePerformance Optimization
0 likes · 5 min read
Mastering Database Read‑Write Separation: Principles and MySQL Replication Explained
MaGe Linux Operations
MaGe Linux Operations
Nov 27, 2023 · Databases

Why Does MySQL Master‑Slave Replication Lag? Causes and Fixes

This article explains why MySQL master‑slave replication can become delayed, outlines the differences between DDL and DML, shows how to diagnose lag with show slave status, and provides architectural, hardware, and configuration solutions—including semi‑synchronous replication and tuning parameters—to reduce latency.

Master‑SlaveReplicationdatabase
0 likes · 9 min read
Why Does MySQL Master‑Slave Replication Lag? Causes and Fixes
JD Cloud Developers
JD Cloud Developers
Oct 12, 2023 · Databases

How to Handle MySQL Replication Lag in Read/Write Splitting Architectures

This article explains the reasons for read/write splitting, compares direct‑client and proxy‑based master‑slave setups, and presents five practical strategies—including forcing reads to the master, sleep delays, lag checks, master‑position waiting, and GTID waiting—to mitigate stale reads caused by MySQL replication lag.

Database ArchitectureLag MitigationMaster‑Slave
0 likes · 15 min read
How to Handle MySQL Replication Lag in Read/Write Splitting Architectures
Su San Talks Tech
Su San Talks Tech
Jul 28, 2023 · Databases

Master‑Slave Replication in MySQL: Binlog Mechanics, Parallel Replication & Lag Reduction

This article explains why a single MySQL instance is insufficient for production, introduces binlog concepts and formats, details the master‑slave replication threads and workflow, explores parallel replication mechanisms, analyzes causes of replication lag, and provides practical strategies to minimize that delay.

BinlogDatabase LagMaster‑Slave
0 likes · 14 min read
Master‑Slave Replication in MySQL: Binlog Mechanics, Parallel Replication & Lag Reduction
ITPUB
ITPUB
Jul 1, 2023 · Databases

Mastering MySQL Master‑Slave Replication: Principles, Delays, and Solutions

This article explains MySQL master‑slave architecture, why it’s used, the replication process, consistency challenges, causes of replication lag, and practical strategies—including binlog formats, mixed mode, monitoring, caching, and failover setups—to optimize performance and ensure high availability.

BinlogLagMaster‑Slave
0 likes · 11 min read
Mastering MySQL Master‑Slave Replication: Principles, Delays, and Solutions
FunTester
FunTester
Jun 18, 2023 · Operations

How to Set Up Jenkins Master and Slave Nodes on Windows Servers

This guide walks through preparing two servers, installing Jenkins on a master node, configuring security and communication, adding a slave node with detailed parameters, deploying the slave agent as a Windows service, creating a slave-bound project, and troubleshooting common issues such as permission errors and network mismatches.

JenkinsMaster‑SlaveWindows
0 likes · 8 min read
How to Set Up Jenkins Master and Slave Nodes on Windows Servers
Architecture & Thinking
Architecture & Thinking
Jun 2, 2023 · Databases

Mastering Database High Availability: From Basic Replication to Seamless Scaling

This article examines the evolution of database high‑availability architectures in large‑scale internet environments, covering basic direct‑connect setups, scale‑up/scale‑out sharding, master‑slave/master‑master with Keepalived, and advanced solutions such as MHA, Percona XtraDB Cluster, and MySQL Group Replication, plus smooth scaling steps.

Master‑Slavehigh-availabilitykeepalived
0 likes · 7 min read
Mastering Database High Availability: From Basic Replication to Seamless Scaling
JD Tech
JD Tech
Feb 9, 2023 · Databases

Understanding MySQL Master‑Slave Replication: Overview, Benefits, Mechanisms, and Consistency Solutions

This article explains MySQL master‑slave replication, covering its basic concepts, the advantages of read‑write separation, data backup and high availability, the underlying binlog‑based mechanism, the four replication modes (full, asynchronous, semi‑synchronous, enhanced semi‑synchronous), common consistency challenges, and practical ways to mitigate them.

Data ConsistencyMaster‑SlaveRead-Write Separation
0 likes · 18 min read
Understanding MySQL Master‑Slave Replication: Overview, Benefits, Mechanisms, and Consistency Solutions
Programmer DD
Programmer DD
Jan 15, 2023 · Databases

Why Caching and Redis Are Essential for High‑Performance Web Applications

This article explains why modern internet products need caching to handle massive real‑time data, introduces Redis as an in‑memory database with persistence, master‑slave replication, and clustering, and demonstrates how these techniques dramatically improve performance, scalability, and reliability of web services.

ClusterMaster‑SlaveRead-Write Separation
0 likes · 13 min read
Why Caching and Redis Are Essential for High‑Performance Web Applications
ITPUB
ITPUB
Nov 6, 2022 · Databases

Why Can’t You Read Your Recent Write? Understanding Master‑Slave Lag and Fixes in MySQL

The article explains why a recent write may be invisible when reading from a MySQL replica, analyzes the replication threads and latency causes, and presents practical solutions such as forcing master reads, lag detection, semi‑sync mode, and GTID‑based waiting, with examples from Sharding‑JDBC, MyCat and MaxScale.

Database MiddlewareGTIDMaster‑Slave
0 likes · 10 min read
Why Can’t You Read Your Recent Write? Understanding Master‑Slave Lag and Fixes in MySQL
DeWu Technology
DeWu Technology
Oct 31, 2022 · Databases

Analysis of Order Query Failures Caused by MySQL Master‑Slave Replication Lag and Mitigation Strategies

The e‑commerce platform’s order‑query alerts were caused by MySQL master‑slave replication lag—specifically, delayed redo‑log flushing let the slave receive binlog events before the master committed—so queries returned empty, a condition mitigated by retry logic, delayed MQ delivery, or emitting post‑commit business events.

BinlogMaster‑SlaveReplication
0 likes · 10 min read
Analysis of Order Query Failures Caused by MySQL Master‑Slave Replication Lag and Mitigation Strategies
Top Architect
Top Architect
Sep 15, 2022 · Databases

Understanding Redis Master‑Slave Replication: Principles, Configuration, Workflow, and Common Pitfalls

This article explains the CAP theorem, details how Redis implements master‑slave replication—including its asynchronous nature, configuration methods, three‑phase workflow, heartbeat mechanism, and common operational issues—providing practical guidance for building highly available Redis deployments.

CAP theoryMaster‑SlaveReplication
0 likes · 16 min read
Understanding Redis Master‑Slave Replication: Principles, Configuration, Workflow, and Common Pitfalls
Java High-Performance Architecture
Java High-Performance Architecture
Sep 8, 2022 · Backend Development

Mastering Java Read‑Write Splitting: Configure Master‑Slave DataSources with Spring

This article explains the concept of database read‑write splitting, discusses its limitations, and provides a step‑by‑step guide with Spring Boot code to configure master‑slave data sources, implement dynamic routing, context handling, custom annotations, and AOP for seamless switching.

DataSource RoutingJavaMaster‑Slave
0 likes · 11 min read
Mastering Java Read‑Write Splitting: Configure Master‑Slave DataSources with Spring
IT Services Circle
IT Services Circle
Jul 18, 2022 · Databases

Migrating MySQL Dual-Master High Availability to Master‑Slave Architecture: Lessons Learned and Simple Conversion Steps

After a month of testing a MySQL dual‑master high‑availability setup, the author details the numerous pitfalls encountered—including primary key collisions, sync failures, and data inconsistencies—and explains why they switched to a simpler master‑slave configuration, providing step‑by‑step instructions for the conversion.

Database ReplicationMaster‑Slavehigh availability
0 likes · 8 min read
Migrating MySQL Dual-Master High Availability to Master‑Slave Architecture: Lessons Learned and Simple Conversion Steps
Wukong Talks Architecture
Wukong Talks Architecture
Jul 11, 2022 · Databases

Migrating from MySQL Dual-Master to Master‑Slave: Lessons Learned and Simple Conversion Steps

After a month of operating a MySQL dual‑master high‑availability cluster, the author details the numerous pitfalls encountered and explains a step‑by‑step manual process for converting the setup to a simpler master‑slave architecture, including configuration changes and Keepalived adjustments.

Dual MasterMaster‑Slavedatabase migration
0 likes · 9 min read
Migrating from MySQL Dual-Master to Master‑Slave: Lessons Learned and Simple Conversion Steps
Ziru Technology
Ziru Technology
Apr 8, 2022 · Databases

How to Diagnose and Prevent Split-Brain Data Loss in Redis Master-Slave Clusters

This article explains why data loss can occur in Redis master‑slave clusters due to split‑brain scenarios, outlines step‑by‑step troubleshooting methods—including checking replication lag, analyzing client logs, and monitoring resource usage—and recommends configuration settings such as min‑slaves‑to‑write and min‑slaves‑max‑lag to prevent the issue.

ConfigurationData lossMaster‑Slave
0 likes · 8 min read
How to Diagnose and Prevent Split-Brain Data Loss in Redis Master-Slave Clusters
NiuNiu MaTe
NiuNiu MaTe
Dec 7, 2021 · Databases

Master‑Slave Replication in Redis: How It Works and How to Prevent Data Loss

This article explains why a single‑instance Redis can cause outages, introduces the master‑slave architecture, details the full and incremental synchronization processes, shows how to configure replication, addresses multi‑slave scaling, network interruptions, and automatic failover with Sentinel.

Master‑SlaveReplicationdatabase
0 likes · 11 min read
Master‑Slave Replication in Redis: How It Works and How to Prevent Data Loss
ITFLY8 Architecture Home
ITFLY8 Architecture Home
Nov 9, 2021 · Databases

Master‑Slave, Master‑Master, Paxos: Choosing the Right Distributed Transaction Strategy

This article compares common distributed transaction approaches—including Master‑Slave, Master‑Master, two‑phase and three‑phase commit, and Paxos—explains their mechanisms, trade‑offs, and real‑world implementations such as Alibaba’s TCC, GTS, LCN, and TXC, helping architects select the most suitable solution for high‑availability data consistency.

ConsensusDistributed TransactionsMaster‑Slave
0 likes · 23 min read
Master‑Slave, Master‑Master, Paxos: Choosing the Right Distributed Transaction Strategy
Top Architect
Top Architect
Nov 3, 2021 · Databases

Designing a Highly Available Redis Service with Sentinel

This article explains why Redis is widely used, defines high availability for Redis services, enumerates common failure scenarios, evaluates four architectural solutions—including single‑instance, master‑slave with one, two, and three Sentinel instances—and finally presents a production‑grade HA design using three Sentinels and a virtual IP.

Master‑Slaveredissentinel
0 likes · 12 min read
Designing a Highly Available Redis Service with Sentinel
Top Architect
Top Architect
Oct 16, 2021 · Databases

Redis Scaling Strategies: Partitioning, Master‑Slave, Sentinel, and Cluster

This article explains the main Redis scaling approaches—including simple partitioning, master‑slave replication, Sentinel high‑availability, and native Cluster—detailing their concepts, usage methods, advantages, drawbacks, and providing practical configuration commands and code examples.

ClusterMaster‑SlavePartitioning
0 likes · 12 min read
Redis Scaling Strategies: Partitioning, Master‑Slave, Sentinel, and Cluster
IT Architects Alliance
IT Architects Alliance
Sep 9, 2021 · Databases

Redis Scaling Strategies: Partitioning, Master‑Slave, Sentinel, and Cluster

This article introduces the main Redis scaling solutions—including simple partitioning, master‑slave replication, Sentinel high‑availability, and Redis Cluster—explaining their concepts, usage patterns, advantages, and drawbacks to help developers choose the appropriate architecture for high‑traffic environments.

ClusterMaster‑SlavePartitioning
0 likes · 12 min read
Redis Scaling Strategies: Partitioning, Master‑Slave, Sentinel, and Cluster
Programmer DD
Programmer DD
Aug 28, 2021 · Databases

How Redis Master‑Slave Replication Works: Handshake, Sync, and Code Walkthrough

Redis, the high‑performance open‑source key‑value store, uses a master‑slave replication mechanism that ensures data redundancy, read/write separation, fault recovery, and high‑availability; this article explains its handshake process, synchronization phases, replication states, and key source‑code functions in detail.

Code WalkthroughMaster‑SlavePSYNC
0 likes · 12 min read
How Redis Master‑Slave Replication Works: Handshake, Sync, and Code Walkthrough
ITPUB
ITPUB
Aug 19, 2021 · Databases

How to Turn a Single MySQL Server into a High‑Availability Cluster

This article explains why a single MySQL instance becomes insufficient as data volume and concurrency grow, and walks through master‑slave replication, asynchronous and semi‑synchronous modes, group replication, and various high‑availability solutions such as MHA, MySQL InnoDB Cluster, and Orchestrator, while also covering read/write splitting techniques and practical implementation tips.

Group ReplicationMaster‑SlaveReplication
0 likes · 20 min read
How to Turn a Single MySQL Server into a High‑Availability Cluster
FunTester
FunTester
Aug 12, 2021 · Backend Development

How DCS_FunTester Adds Groovy Script Support and Master/Slave Registration

This article explains the recent updates to the DCS_FunTester distributed performance‑testing framework, including Groovy script execution, a new master‑slave registration mechanism, service‑layer extraction, and synchronization logic, while providing concrete Java code examples for each enhancement.

BackendDistributed TestingGroovy
0 likes · 8 min read
How DCS_FunTester Adds Groovy Script Support and Master/Slave Registration
Java Interview Crash Guide
Java Interview Crash Guide
Jul 16, 2021 · Databases

Master‑Slave MySQL Replication: Core Principles, Common Pitfalls, and Advanced Strategies

This article explains MySQL master‑slave replication fundamentals, including basic synchronization, circular replication issues, lag handling, failover strategies, parallel replication techniques, GTID usage, and read‑write splitting, providing practical guidance for reliable high‑availability database deployments.

GTIDMaster‑SlaveReplication
0 likes · 33 min read
Master‑Slave MySQL Replication: Core Principles, Common Pitfalls, and Advanced Strategies
Selected Java Interview Questions
Selected Java Interview Questions
Jul 15, 2021 · Databases

Fundamentals and Advanced Strategies of MySQL Master‑Slave Replication

This article explains the basic principles of MySQL master‑slave architecture, the role of read‑only replicas, loop‑replication problems, master‑slave delay measurement, various failover strategies, parallel replication mechanisms across MySQL versions and MariaDB, GTID usage, and read‑write splitting techniques, providing practical commands and diagrams for each concept.

Database LagGTIDMaster‑Slave
0 likes · 31 min read
Fundamentals and Advanced Strategies of MySQL Master‑Slave Replication
Full-Stack Internet Architecture
Full-Stack Internet Architecture
May 13, 2021 · Databases

Database High‑Availability Architectures: Master‑Slave, Master‑Master, and Automatic Failover

This article explains common database high‑availability designs—including master‑slave, master‑master, and automatic failover architectures—their topologies, advantages, disadvantages, and practical considerations such as replication lag, manual intervention, and data consistency challenges.

Master‑SlaveReplicationdatabase
0 likes · 7 min read
Database High‑Availability Architectures: Master‑Slave, Master‑Master, and Automatic Failover
Top Architect
Top Architect
Apr 12, 2021 · Databases

Designing a High‑Availability Redis Service with Sentinel

This article explains how to build a highly available Redis service by analyzing common failure scenarios, evaluating single‑instance, master‑slave with one or multiple Sentinel processes, and ultimately recommending a three‑Sentinel architecture combined with a virtual IP for seamless client usage.

Master‑Slavefailoverhigh availability
0 likes · 11 min read
Designing a High‑Availability Redis Service with Sentinel
JavaEdge
JavaEdge
Apr 1, 2021 · Databases

Master‑Slave Replication in Redis: Mechanisms, Sync Types, and Configuration Guide

This article explains how Redis master‑slave replication operates, covering the underlying mechanisms such as update propagation, partial and full resynchronization, the characteristics and limitations of replication, common single‑node issues, and step‑by‑step instructions for configuring and executing replication commands.

BackendFull SyncMaster‑Slave
0 likes · 9 min read
Master‑Slave Replication in Redis: Mechanisms, Sync Types, and Configuration Guide
Aikesheng Open Source Community
Aikesheng Open Source Community
Mar 18, 2021 · Databases

Impact of Different Replication User Creation Methods on MySQL Master‑Slave Replication

The article experimentally evaluates three ways of creating replication users—only on the master, separately on master and slave with CREATE statements, and separately with GRANT statements—to show how each method affects MySQL 5.7 master‑slave replication, error handling, and compatibility with GTID and MySQL 8.0.

Database AdministrationGTIDGrant
0 likes · 8 min read
Impact of Different Replication User Creation Methods on MySQL Master‑Slave Replication
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Mar 11, 2021 · Databases

Understanding Redis Master‑Slave Replication: Architecture, Setup, and Mechanisms

This article provides a comprehensive guide to Redis high‑availability through master‑slave replication, covering the underlying architecture, step‑by‑step setup, full and partial synchronization processes, buffer management, practical pitfalls, and how the mechanism fits into broader Redis HA solutions.

Full SyncMaster‑SlavePartial Sync
0 likes · 18 min read
Understanding Redis Master‑Slave Replication: Architecture, Setup, and Mechanisms
Liangxu Linux
Liangxu Linux
Jan 31, 2021 · Databases

Why MySQL Replication Lags and How to Eliminate It

This article explains the root causes of MySQL master‑slave replication lag—including random replay, high master concurrency, and lock waits—and presents practical solutions such as parallel replication, reducing master load, and reading from the master to ensure data consistency.

LagMaster‑SlaveReplication
0 likes · 8 min read
Why MySQL Replication Lags and How to Eliminate It
Java Interview Crash Guide
Java Interview Crash Guide
Jan 19, 2021 · Databases

Choosing the Right Database Architecture: Pros, Cons, and Consistency Solutions

This article outlines core database architecture principles—high availability, performance, consistency, and scalability—and evaluates four common schemes (primary‑backup, dual‑master, master‑slave with read/write separation, and hybrid), followed by detailed consistency‑resolution strategies and personal insights.

ConsistencyDual MasterMaster‑Slave
0 likes · 9 min read
Choosing the Right Database Architecture: Pros, Cons, and Consistency Solutions
Architecture Digest
Architecture Digest
Jan 9, 2021 · Databases

MySQL Replication Overview, Configuration, and Common Issues

This article explains MySQL's built‑in replication mechanism, covering its purpose, supported replication formats, step‑by‑step master‑slave configuration, common topologies, troubleshooting techniques, and practical SQL commands for setting up and maintaining reliable data distribution and high availability.

ConfigurationMaster‑SlaveReplication
0 likes · 24 min read
MySQL Replication Overview, Configuration, and Common Issues
Top Architect
Top Architect
Jan 8, 2021 · Databases

MySQL Master‑Slave Replication Setup Guide

This article provides a step‑by‑step tutorial on configuring MySQL master‑slave replication, covering the underlying principles, master and slave configuration files, user creation, data backup, log synchronization, and verification with example commands and code snippets.

Master‑SlaveReplicationSQL
0 likes · 8 min read
MySQL Master‑Slave Replication Setup Guide
ITPUB
ITPUB
Jan 5, 2021 · Databases

Master‑Slave MySQL Replication: Full Setup, Types, and Troubleshooting

This guide explains MySQL's built‑in replication, covering statement‑, row‑, and mixed‑mode replication, step‑by‑step master‑slave configuration, user creation, binary‑log settings, topology options, cloning methods, common error scenarios, and practical troubleshooting commands.

ConfigurationMaster‑SlaveReplication
0 likes · 28 min read
Master‑Slave MySQL Replication: Full Setup, Types, and Troubleshooting
Java Backend Technology
Java Backend Technology
Dec 10, 2020 · Databases

Why Your New Master‑Slave DB May Not Reflect Recent Writes—and How to Fix It

This article explains a real‑world case where a newly added mapping rule didn't appear immediately due to master‑slave replication lag, walks through the evolution of database architectures from single‑node to read‑write separation, and presents several practical strategies to mitigate consistency issues caused by replication delay.

ConsistencyMaster‑SlaveRead-Write Separation
0 likes · 9 min read
Why Your New Master‑Slave DB May Not Reflect Recent Writes—and How to Fix It
Efficient Ops
Efficient Ops
Sep 22, 2020 · Databases

Mastering MySQL Master‑Slave Replication: A Step‑by‑Step Guide

This article explains what MySQL master‑slave replication is, outlines its benefits, details the underlying mechanisms and event types, and provides a comprehensive, command‑line tutorial for configuring both master and slave servers, complete with code snippets and illustrative diagrams.

Master‑SlaveReplicationTutorial
0 likes · 9 min read
Mastering MySQL Master‑Slave Replication: A Step‑by‑Step Guide
Full-Stack Internet Architecture
Full-Stack Internet Architecture
Sep 20, 2020 · Databases

Database Read/Write Separation: Principles, Advantages, Disadvantages, and Implementation Strategies

Database read/write separation, alongside sharding and master‑slave architectures, mitigates high‑concurrency bottlenecks by distributing reads to replicas and writes to a primary, offering scalability and performance benefits while introducing challenges such as replication lag, routing complexity, and resource utilization trade‑offs.

Master‑SlaveRead-Write Separationhigh concurrency
0 likes · 10 min read
Database Read/Write Separation: Principles, Advantages, Disadvantages, and Implementation Strategies
JavaEdge
JavaEdge
Sep 5, 2020 · Databases

Master‑Slave Replication in Redis: How It Works, Configurations, and Pitfalls

This article explains Redis's asynchronous master‑slave replication, covering the three core mechanisms, partial and full resynchronization processes, configuration methods, diskless sync, key expiration handling, replication IDs and offsets, and safety considerations when disabling persistence.

BacklogDisklessFull Sync
0 likes · 16 min read
Master‑Slave Replication in Redis: How It Works, Configurations, and Pitfalls
Programmer DD
Programmer DD
Jun 14, 2020 · Backend Development

How to Quickly Build a MySQL Master‑Slave Cluster with Docker

This step‑by‑step guide shows how to use Docker on CentOS 7 to pull MySQL 5.7 images, configure master and slave my.cnf files, run containers, set up replication, and verify that a test database created on the master is automatically synchronized to the slave.

BackendContainerDocker
0 likes · 5 min read
How to Quickly Build a MySQL Master‑Slave Cluster with Docker
Laravel Tech Community
Laravel Tech Community
May 18, 2020 · Databases

How to Diagnose and Eliminate MySQL Master‑Slave Replication Lag

This article explains why MySQL master‑slave replication can suffer from latency, examines the root causes on both master and slave sides, and provides practical architectural, hardware, and configuration solutions—including semi‑sync and parallel replication—to improve data consistency and performance.

LatencyMaster‑SlaveReplication
0 likes · 11 min read
How to Diagnose and Eliminate MySQL Master‑Slave Replication Lag
Architect
Architect
May 16, 2020 · Big Data

Master/Slave Architecture vs P2P Ring Structure and an Overview of Elasticsearch

This article explains the differences between Master‑Slave and P2P ring architectures, introduces Elasticsearch’s core concepts, internal components, master election, shard routing, indexing and search processes, and discusses how the system avoids split‑brain scenarios and ensures high availability.

ElasticsearchMaster‑SlaveP2P
0 likes · 17 min read
Master/Slave Architecture vs P2P Ring Structure and an Overview of Elasticsearch