当前位置:网站首页>【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侧的能力可以水平扩展不是瓶颈。

边栏推荐
- For a moment, the ban of the US e-cigarette giant has been postponed, and products can be sold in the US for the time being
- deep learning statistical arbitrage
- Border affects the height of the parent element - solution
- JS all network request modes
- 2-4 installation of Nessus under Kali
- Oracle-分组统计查询
- Comparison between new and old interfaces
- 闭包的常见问题
- Tcp/ip explanation (version 2) notes / 3 link layer / 3.4 bridge and switch / 3.4.1 spanning tree protocol (STP)
- unity shadow 和outline组件动态加载出错解决方案、问题深入分析
猜你喜欢
堆-堆排序-TopK
TCP/IP 详解(第 2 版) 笔记 / 3 链路层 / 3.4 桥接器与交换机 / 3.4.1 生成树协议(Spanning Tree Protocol (STP))
Glide缓存机制
The tutor invites you to continue your doctoral study with him. Will you agree immediately?
Ci/cd automatic test_ 16 best practices for CI / CD pipeline to accelerate test automation
Eureka核心源码解析
KDD 2022 | 基于分层图扩散学习的癫痫波预测
【HCIE-RS复习思维导图】- STP
嵌入式软件架构设计-模块化
Comparison between new and old interfaces
随机推荐
leetcode待做题目
One copy ten, CVPR oral is accused of plagiarizing a lot
C any() and aii() methods
中科院微生物所招聘青年PI 20比特,2百萬安家費,千萬啟動經費(長期有效)
Multi thread implementation rewrites run (), how to inject and use mapper file to operate database
deep learning statistical arbitrage
Ubuntu手动安装MySQL
Exception in Chinese character fuzzy query of MySQL database
[tcapulusdb knowledge base] Introduction to tmonitor stand-alone installation guidelines (I)
Red envelope rain: a wonderful encounter between redis and Lua
Brother sucks 590000 fans with his unique "quantum speed reading" skill: look at the street view for 0.1 seconds, and "snap" can be accurately found on the world map
C language learning day_ 05
有关WIN10的内存压缩
使用Karmada实现Helm应用的跨集群部署【云原生开源】
If you find any loopholes later, don't tell China!
Mongodb cross host database copy and common commands
Queue, two-way queue, and its application
软交换呼叫中心系统的支撑系统
What basic functions are required for live e-commerce application development? What is the future development prospect?
Border affects the height of the parent element - solution