当前位置:网站首页>【TcaplusDB知识库】TcaplusDB-tcaplusadmin工具介绍
【TcaplusDB知识库】TcaplusDB-tcaplusadmin工具介绍
2022-06-27 10:53:00 【InfoQ】
【TcaplusDB知识库】TcaplusDB表数据缓写介绍



- 缓写周期:代表数据用户可以接受的数据从Tcapdb同步到第三方系统的延迟,最小1s,这个值越大,代表用户对时延越不敏感。Tcapdb侧会对缓写周期时间窗口内的请求做去重(例如,1s内对同一个key有多次Replace操作,去重后只需要将最后一次Replace后的内容同步给第三方系统,可以省去了前两次的请求),从而降低整体同步的QPS提升性能。
- key字段映射:tcaplus表key字段到MySQL表或者Kafka的key字段的映射,无特别要求的话两个系统的表字段最好保持一致,利于定位问题。不支持二进制类型的key字段(即tdr中的数组、二级字段,pb中的 bytes 、repeated等类型)缓写。
- value字段映射:tcaplus表value字段到MySQL表或者Kafka的value字段的映射,无特别要求的话两个系统的表字段最好保持一致,利于定位问题。value字段如果是二进制类型,会以binary同步到MySQL或者Kafka,需要用户自己从MySQL读取反序列化解析。
- tcaplus缓写功能只会同步缓写启用之后的增量修改到第三方系统,没有启用之前的数据是没有同步过去的,这部分数据如果也希望同步的话需要DBA拉取冷备,将txh数据dump出来导入进第三方系统,再开启缓写。
- 缓写的性能瓶颈在于tcapsvr同步线程CPU,tcapsvr侧单机QPS最大可达到8w/s。tcapdb侧的能力可以水平扩展不是瓶颈。

边栏推荐
- [tcapulusdb knowledge base] Introduction to tmonitor background one click installation (I)
- Cross cluster deployment of helm applications using karmada [cloud native open source]
- 【Methodot 专题】什么样的低代码平台更适合开发者?
- Error im002 when Oracle connects to MySQL
- Future & CompletionService
- Privacy computing fat offline prediction
- Audiotrack and audiolinker
- KDD 2022 | epileptic wave prediction based on hierarchical graph diffusion learning
- Deep understanding of happens before principle
- Tcp/ip explanation (version 2) notes / 3 link layer / 3.4 bridge and switch / 3.4.1 spanning tree protocol (STP)
猜你喜欢

Multi thread implementation rewrites run (), how to inject and use mapper file to operate database

Win10快捷键整理

Glide caching mechanism
![LeetCode 522 最长特殊序列II[枚举 双指针] HERODING的LeetCode之路](/img/b1/80a51b403dfb0611b87ef9aa3215af.png)
LeetCode 522 最长特殊序列II[枚举 双指针] HERODING的LeetCode之路

In the three-tier architecture, at which layer is the database design implemented, not at the data storage layer?

【TcaplusDB知识库】Tmonitor单机安装指引介绍(二)

Feedforward feedback control system design (process control course design matlab/simulink)

Leetcode 729. 我的日程安排表 I(牛逼,已解决)
Test how students participate in codereview

Error im002 when Oracle connects to MySQL
随机推荐
Flutter wechat sharing
[tcapulusdb knowledge base] tcapulusdb tmonitor module architecture introduction
If you find any loopholes later, don't tell China!
Privacy computing fat offline prediction
Oracle trigger stored procedure writes at the same time
Oracle-多表查询
ci/cd自动化测试_CI / CD管道加快测试自动化的16种最佳实践
Codeforces Round #786 (Div. 3) ABCDE
[tcapulusdb knowledge base] tcapulusdb Model Management Introduction
Review of last week's hot spots (6.20-6.26)
Leetcode to do questions
迪米特法则
Queue, two-way queue, and its application
中科院微生物所招聘青年PI 20比特,2百萬安家費,千萬啟動經費(長期有效)
中科院微生物所招聘青年PI 20位,2百万安家费,千万启动经费(长期有效)
实验笔记之——CARMEN (.log .clf)文件转换为rosbag
微软云 (Microsoft Cloud) 技术概述
居家办公竟比去公司上班还累? | 社区征文
一篇抄十篇,CVPR Oral被指大量抄袭
One copy ten, CVPR oral is accused of plagiarizing a lot