当前位置:网站首页>Master slave replication -- 03 -- synchronization data consistency
Master slave replication -- 03 -- synchronization data consistency
2022-04-21 12:46:00 【High high for cycle】
Tips : When the article is finished , Directories can be generated automatically , How to generate it, please refer to the help document on the right
Synchronization data consistency problem
Requirements for master-slave synchronization :
- The data of read library and write library are consistent ( Final agreement );
- Write data must be written to the write library ;
- To read data, you must go to the Reading Library ( not always );
1 Understand the master-slave delay problem

2 Cause of master-slave delay problem

Example of master-slave delay
3 How to reduce master-slave delay

How to solve the problem of consistency

Method 1: Asynchronous replication

Method 2: Semi-synchronous replication


Method 3: Group replication

Group replication technology , abbreviation MGR(MySQL Group Replication)


- Paxos After the algorithm was proposed, it was widely used as a distributed consistency algorithm , such as Apache Of ZooKeeper Is based on Paxos Realized .
版权声明
本文为[High high for cycle]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204211237253439.html
边栏推荐
- Seven ways of text reading based on C
- 4 years of Android development 13K, completed this 1307 page Android interview full set of real problem analysis, job hopping and salary increase 15K
- What's the difference between you and the architect? How to improve
- STM32Cubemx安装
- Vggnet neural network based on pytorch for flower recognition
- 主从复制--03---同步数据一致性问题
- Introduction notes to PHP zero Foundation (11): String
- import in protocol buffer
- There is no market for virtual currency. Why can there be no small temptation for some people?
- 机器学习-Sklearn-13(回归类大家族-下——非线性问题:多项式回归(多项式变换后形成新特征矩阵))
猜你喜欢

BEVSegFormer:一个来自任意摄像头的BEV语义分割方法

Finally someone made it clear! It turns out that this is the global one-piece network technology with low delay

Ceph实战(一)-分布式存储介绍与原理架构概述

研讨会回放视频:如何提升Jenkins能力,使其成为真正的DevOps平台

selenium的滑块验证码的模拟登录(猪八戒网站)

风丘科技为您提供10M以太网解决方案

数据库,把另一张表某字段数据添加到另一个表中,同时加入的时候加入自己需要的数据

业内视频超分辨率新标杆,快手&大连理工研究登上CVPR 2022

最长公共子序列(一)(动规)

CVPR 2022 Oral|港中文开源PoseC3D:基于3D-CNN的骨骼动作识别框架
随机推荐
Go语言 反射
斐波那契数列
高并发IO的底层原理
36天突击腾讯终拿Offer! Redis、高并发
Title record of TIANTI competition (II)
What's the difference between you and the architect? How to improve
Is the securities account opened by caibang safe? Or is it safer to open in securities companies?
打包的jar能正常运行,正常连接数据库。exe4j生成exe后执行到访问数据库就报错:
Anchor-free新网络:CenterNet携手CornerNet形成了CenterNet++
Anchor free new network: centernet and cornernet form centernet + +
逆波兰表达式
Introduction notes to PHP zero Foundation (11): String
A tag or < router link > use target = "_blank" to open a new page, and the sessionstorage of the new page is lost
业内视频超分辨率新标杆,快手&大连理工研究登上CVPR 2022
Software engineering final exam questions and answers
2022年一级注册建筑师考试建筑物理与设备复习题及答案
选择排序法
[linked list] 148 Sort linked list
Notepad + + how to copy multiple lines and paste them to the corresponding position
2022语言与智能技术竞赛再升级,推出NLP四大前沿任务
