当前位置:网站首页>[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 .
边栏推荐
- 飞桨产业级开源模型库:加速企业AI任务开发与应用
- JS all network request modes
- Future & CompletionService
- File name setting causes an error to be written to writelines: oserror: [errno 22] invalid argument
- 防止被00后整顿?一公司招聘要求员工不能起诉公司
- 面试突击60:什么情况会导致 MySQL 索引失效?
- Leetcode 729. 我的日程安排表 I(牛逼,已解决)
- Glide caching mechanism
- 闭包的常见问题
- Leetcode 522 longest special sequence ii[enumeration double pointer] leetcode path of heroding
猜你喜欢
![[tcapulusdb knowledge base] tcapulusdb tmonitor module architecture introduction](/img/85/39e54ebc613f6d1dc7f02168adaaee.png)
[tcapulusdb knowledge base] tcapulusdb tmonitor module architecture introduction

面试突击60:什么情况会导致 MySQL 索引失效?

浅析基于边缘计算的移动AR实现(中)

15+城市道路要素分割应用,用这一个分割模型就够了!

以后发现漏洞,禁止告诉中国!

Metadata of database

KDD 2022 | epileptic wave prediction based on hierarchical graph diffusion learning

Exception in Chinese character fuzzy query of MySQL database
![LeetCode 522 最长特殊序列II[枚举 双指针] HERODING的LeetCode之路](/img/b1/80a51b403dfb0611b87ef9aa3215af.png)
LeetCode 522 最长特殊序列II[枚举 双指针] HERODING的LeetCode之路

If you find any loopholes later, don't tell China!
随机推荐
面试突击60:什么情况会导致 MySQL 索引失效?
浅析基于边缘计算的移动AR实现(中)
一篇抄十篇,CVPR Oral被指大量抄袭
Ubuntu手动安装MySQL
ECMAScript 6(es6)
如何在 Methodot 中部署 JupyterLab?
Border affects the height of the parent element - solution
go-zero微服务实战系列(七、请求量这么高该如何优化)
Mongodb cross host database copy and common commands
LLVM系列(1)- LLVM简介
【TcaplusDB知识库】TcaplusDB业务数据备份介绍
What basic functions are required for live e-commerce application development? What is the future development prospect?
Eureka core source code analysis
【TcaplusDB知识库】Tmonitor单机安装指引介绍(一)
Learning notes - data set generation
2021 CSP J2 entry group csp-s2 improvement group round 2 video and question solution
Ci/cd automatic test_ 16 best practices for CI / CD pipeline to accelerate test automation
[tcapulusdb knowledge base] tcapulusdb Model Management Introduction
Analysis of mobile ar implementation based on edge computing (Part 2)
Go zero micro Service Practice Series (VII. How to optimize such a high demand)