当前位置:网站首页>[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 .
边栏推荐
- One copy ten, CVPR oral is accused of plagiarizing a lot
- 【TcaplusDB知识库】Tmonitor后台一键安装介绍(二)
- 有关WIN10的内存压缩
- Cross cluster deployment of helm applications using karmada [cloud native open source]
- 中科院微生物所招聘青年PI 20比特,2百萬安家費,千萬啟動經費(長期有效)
- border影响父元素的高度-解决方案
- 【TcaplusDB知识库】TcaplusDB分析型文本导出介绍
- 【TcaplusDB知识库】TcaplusDB Tmonitor模块架构介绍
- Proe/Creo家电产品结构设计规范-电煎锅
- 深入理解 happens-before 原则
猜你喜欢
Eureka核心源码解析
![LeetCode 522 最长特殊序列II[枚举 双指针] HERODING的LeetCode之路](/img/b1/80a51b403dfb0611b87ef9aa3215af.png)
LeetCode 522 最长特殊序列II[枚举 双指针] HERODING的LeetCode之路

Oracle multi table query

Audiotrack and audiolinker

Error im002 when Oracle connects to MySQL

数据库之元数据

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

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

直播电子商务应用程序开发需要什么基本功能?未来发展前景如何?

Ci/cd automatic test_ 16 best practices for CI / CD pipeline to accelerate test automation
随机推荐
[noodle classic] Yunze Technology
KDD 2022 | epileptic wave prediction based on hierarchical graph diffusion learning
学习笔记之——数据集的生成
VPT模型视频讲解
go-zero微服务实战系列(七、请求量这么高该如何优化)
【TcaplusDB知识库】TcaplusDB-tcaplusadmin工具介绍
Native JS implements page scroll bar loading data and page drop-down loading content
Change PIP mirror source
Go zero micro Service Practice Series (VII. How to optimize such a high demand)
软件系统架构的演变
迪米特法则
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)
防止被00后整顿?一公司招聘要求员工不能起诉公司
Naacl 2022 | TAMT: search the transportable Bert subnet through downstream task independent mask training
go-zero微服务实战系列(七、请求量这么高该如何优化)
Leetcode 729. 我的日程安排表 I(提供一种思路)
Future & CompletionService
Privacy computing fat offline prediction
15+城市道路要素分割应用,用这一个分割模型就够了!
ci/cd自动化测试_CI / CD管道加快测试自动化的16种最佳实践