Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[improvement](ccr) improve overview of ccr #1427

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

dataroaring
Copy link
Contributor

@dataroaring dataroaring commented Nov 29, 2024

Versions

  • dev
  • 3.0
  • 2.1
  • 2.0

Languages

  • Chinese
  • English

Docs Checklist

  • Checked by AI
  • Test Cases Built

### CCR 是什么

CCR(Cross Cluster Replication) 是跨集群数据同步,能够在库/表级别将源集群的数据变更同步到目标集群,可用于在线服务的数据可用性、隔离在离线负载、建设两地三中心。
CCR (Cross Cluster Replication) 是一种跨集群数据同步机制,能够在库或表级别将源集群的数据变更同步到目标集群。它主要用于提升在线服务的数据可用性、支持离线负载隔离和建设两地三中心架构。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

支持离线负载隔离说起来不好理解


- 容灾备份:通常是将企业的数据备份到另一个集群与机房中,当突发事件导致业务中断或丢失时,可以从备份中恢复数据或快速进行主备切换。一般在对 SLA 要求比较高的场景中,都需要进行容灾备份,比如在金融、医疗、电子商务等领域中比较常见
- **读写分离**:通过将数据的查询操作与写入操作分离,减小读写之间的相互影响,提高资源利用率。对于高并发或写入压力大的场景,采用读写分离可以有效分散负载,提升数据库性能和稳定性

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

提高资源利用率 -》 提升服务稳定性


syncer:一个轻量级的进程
CCR 主要依赖一个轻量级进程:`Syncers`。`Syncers` 负责从源集群获取 binlog,并将元数据应用到目标集群,通知目标集群从源集群拉取数据,从而实现全量同步和增量同步。

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

syncer , syncers 统一单复数

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants