当前位置:网站首页>[tcapulusdb knowledge base] Introduction to tcapulusdb table data caching
[tcapulusdb knowledge base] Introduction to tcapulusdb table data caching
2022-06-27 11:02:00 【InfoQ】
【TcaplusDB The knowledge base 】TcaplusDB Table data cache Introduction
- Cache cycle : Represents data that users can accept from Tcapdb Delay in synchronizing to third-party systems , Minimum 1s, The bigger this is , It means that the user is less sensitive to delay .Tcapdb The side will de duplicate the requests within the cache cycle time window ( for example ,1s Inside to the same key Many times Replace operation , After weight removal, only the last time Replace The content after synchronization is sent to the third-party system , The first two requests can be omitted ), So as to reduce the overall synchronization QPS Lifting performance .
- key Field mapping :tcaplus surface key Fields to MySQL Watch or Kafka Of key Mapping of fields , If there is no special requirement, the table fields of the two systems should be consistent , It is conducive to positioning . Binary type is not supported key Field ( namely tdr In the array 、 Secondary field ,pb Medium bytes 、repeated Other types ) Cache .
- value Field mapping :tcaplus surface value Fields to MySQL Watch or Kafka Of value Mapping of fields , If there is no special requirement, the table fields of the two systems should be consistent , It is conducive to positioning .value If the field is of binary type , Will binary Synchronize to MySQL perhaps Kafka, Users need to learn from MySQL Read deserialization resolution .
- tcaplus The cache function only synchronizes the incremental modification to the third-party system after the cache is enabled , The data before enabling is not synchronized , If you want to synchronize this part of data, you need DBA Pull out the cold standby , take txh data dump Import into the third-party system , Then enable cache .
- The performance bottleneck of caching is tcapsvr Synchronization thread CPU,tcapsvr Side stand alone QPS Up to 8w/s.tcapdb The capability of the side can be expanded horizontally, which is not a bottleneck .
边栏推荐
- 软件系统架构的演变
- Test how students participate in codereview
- KDD 2022 | epileptic wave prediction based on hierarchical graph diffusion learning
- Audiotrack and audiolinker
- [tcapulusdb knowledge base] tcapulusdb cluster management introduction
- 居家办公竟比去公司上班还累? | 社区征文
- Oracle-多表查询
- 【TcaplusDB知识库】TcaplusDB机器初始化和上架介绍
- 堆-堆排序-TopK
- 【TcaplusDB知识库】TcaplusDB数据导入介绍
猜你喜欢

【Methodot 专题】什么样的低代码平台更适合开发者?

【TcaplusDB知识库】Tmonitor后台一键安装介绍(一)

Ci/cd automatic test_ 16 best practices for CI / CD pipeline to accelerate test automation

微软云 (Microsoft Cloud) 技术概述
![[tcapulusdb knowledge base] Introduction to tmonitor stand-alone installation guidelines (II)](/img/6d/8b1ac734cd95fb29e576aa3eee1b33.png)
[tcapulusdb knowledge base] Introduction to tmonitor stand-alone installation guidelines (II)

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

Leetcode 729. My schedule I (awesome, solved)

Oracle-分组统计查询
Eureka core source code analysis

政策关注 | 加快构建数据基础制度,维护国家数据安全
随机推荐
嵌入式软件架构设计-模块化
Audiotrack and audiolinker
Review of last week's hot spots (6.20-6.26)
Support system of softswitch call center system
[tcapulusdb knowledge base] Introduction to tmonitor background one click installation (I)
Tcp/ip explanation (version 2) notes / 3 link layer / 3.4 bridge and switch / 3.4.1 spanning tree protocol (STP)
【TcaplusDB知识库】Tmonitor后台一键安装介绍(二)
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
Mail system (based on SMTP protocol and POP3 protocol -c language implementation)
Openpyxl table reading instance
Frequently asked questions about closures
软件系统架构的演变
ci/cd自动化测试_CI / CD管道加快测试自动化的16种最佳实践
【TcaplusDB知识库】TcaplusDB集群管理介绍
Go zero micro Service Practice Series (VII. How to optimize such a high demand)
居家办公竟比去公司上班还累? | 社区征文
Leetcode 729. 我的日程安排表 I(牛逼,已解决)
【TcaplusDB知识库】TcaplusDB数据导入介绍
Deep understanding of happens before principle
3D移动 translate3d