当前位置:网站首页>【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侧的能力可以水平扩展不是瓶颈。
边栏推荐
- 居家办公竟比去公司上班还累? | 社区征文
- Deep understanding of happens before principle
- 飞桨产业级开源模型库:加速企业AI任务开发与应用
- Glide缓存机制
- [tcapulusdb knowledge base] Introduction to tmonitor background one click installation (II)
- go-zero微服务实战系列(七、请求量这么高该如何优化)
- 实验笔记之——CARMEN (.log .clf)文件转换为rosbag
- Native JS implements page scroll bar loading data and page drop-down loading content
- VPT Model Video Explanation
- Mongodb cross host database copy and common commands
猜你喜欢

21:第三章:开发通行证服务:4:进一步完善【发送短信,接口】;(在【发送短信,接口】中,调用阿里云短信服务和redis服务;一种设计思想:BaseController;)

嵌入式软件架构设计-模块化

Analysis of mobile ar implementation based on edge computing (Part 2)

Naacl 2022 | TAMT: search the transportable Bert subnet through downstream task independent mask training

Future & CompletionService
![[tcapulusdb knowledge base] tcapulusdb tmonitor module architecture introduction](/img/85/39e54ebc613f6d1dc7f02168adaaee.png)
[tcapulusdb knowledge base] tcapulusdb tmonitor module architecture introduction

Codeforces Round #786 (Div. 3) ABCDE

Leetcode 729. 我的日程安排表 I(牛逼,已解决)

Exception in Chinese character fuzzy query of MySQL database

Mail system (based on SMTP protocol and POP3 protocol -c language implementation)
随机推荐
[cloud enjoys freshness] community weekly · vol.68- Huawei cloud recruits partners in the field of industrial intelligence to provide strong support + business realization
Design and Simulation of direct torque control system for induction motor (motion control matlab/simulink)
[tcapulusdb knowledge base] tcapulusdb machine initialization and launch introduction
JS all network request modes
Audiotrack and audiolinker
Dimitt's law
[tcapulusdb knowledge base] Introduction to tmonitor stand-alone installation guidelines (I)
Glide缓存机制
Frequently asked questions about closures
border影响父元素的高度-解决方案
Feedforward feedback control system design (process control course design matlab/simulink)
istio相关资料
Exception in Chinese character fuzzy query of MySQL database
Concepts of concurrency, parallelism, asynchronism, synchronization, multithreading and mutual exclusion
2-4 installation of Nessus under Kali
Array object in JS
【TcaplusDB知识库】Tmonitor后台一键安装介绍(二)
ci/cd自动化测试_CI / CD管道加快测试自动化的16种最佳实践
Co jump
深入理解 happens-before 原则