当前位置:网站首页>【TcaplusDB知识库】TcaplusDB表数据缓写介绍
【TcaplusDB知识库】TcaplusDB表数据缓写介绍
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侧的能力可以水平扩展不是瓶颈。
边栏推荐
- unity shadow 和outline组件动态加载出错解决方案、问题深入分析
- Institute of Microbiology, Chinese Academy of Sciences recruited 20 young PI, with a resettlement fee of 2million yuan and a start-up fund of 10million yuan (long-term effective)
- 2-4 installation of Nessus under Kali
- Ubuntu manually installing MySQL
- 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
- Memory compression for win10
- 【TcaplusDB知识库】TcaplusDB-tcaplusadmin工具介绍
- Quelles sont les fonctions de base nécessaires au développement d'applications de commerce électronique en direct? Quelles sont les perspectives d'avenir?
- Naacl 2022 | TAMT: search the transportable Bert subnet through downstream task independent mask training
- Mongodb cross host database copy and common commands
猜你喜欢

Go zero micro Service Practice Series (VII. How to optimize such a high demand)

机器学习系统在生产中的挑战

【值得收藏】Centos7 安装mysql完整操作命令

Codeforces Round #786 (Div. 3) ABCDE

Glide caching mechanism

Oracle trigger stored procedure writes at the same time

.NET6接入Skywalking链路追踪完整流程

“全班29人24人成功读研”冲上热搜!剩下的5个人去哪了?

直播電子商務應用程序開發需要什麼基本功能?未來發展前景如何?

The tutor invites you to continue your doctoral study with him. Will you agree immediately?
随机推荐
Evolution of software system architecture
istio相关资料
Introduction to the use of Arduino progmem static storage area
Glide缓存机制
有关WIN10的内存压缩
JS client storage
一篇抄十篇,CVPR Oral被指大量抄袭
Oracle-多表查询
Leetcode to do questions
Institute of Microbiology, Chinese Academy of Sciences recruited 20 young PI, with a resettlement fee of 2million yuan and a start-up fund of 10million yuan (long-term effective)
Eureka核心源码解析
KDD 2022 | epileptic wave prediction based on hierarchical graph diffusion learning
unity shadow 和outline组件动态加载出错解决方案、问题深入分析
One copy ten, CVPR oral is accused of plagiarizing a lot
[tcapulusdb knowledge base] Introduction to tmonitor background one click installation (I)
User authentication technology
Array object in JS
Privacy computing fat offline prediction
飞桨产业级开源模型库:加速企业AI任务开发与应用
【TcaplusDB知识库】TcaplusDB新增机型介绍