当前位置:网站首页>[tcapulusdb knowledge base] Introduction to tcapulusdb table data caching
[tcapulusdb knowledge base] Introduction to tcapulusdb table data caching
2022-06-13 11:47: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 .

边栏推荐
- break algorithm---dynamic planning(dp-func)
- How to open an account for your own stock trading? Is it safe and reliable?
- Model building process 1==miidock
- ARM64 上的性能怪兽:API 网关 Apache APISIX 在 AWS Graviton3 上的安装和性能测试
- 【TcaplusDB知识库】TcaplusDB-tcaplusadmin工具介绍
- F2. nearest beautiful number (hard version)
- 14、wpf之Border装饰器使用小记
- 22. Class E power amplifier design of ads usage record (Part 2)
- Performance monster on arm64: installation and performance test of API gateway Apache APIs IX on AWS graviton3
- Kubernetes deploying ActiveMQ
猜你喜欢

Auto.js 悬浮窗居中

Digital DP example

St table learning

致力超表面光子芯片产品研发与制造,山河光电完成数千万元Pre-A轮融资

Socket programming (medium)

camunda如何使用script脚本节点

Kubernetes deploying ActiveMQ
![[tcapulusdb knowledge base] tcapulusdb doc acceptance - table creation approval introduction](/img/a8/f99765c381bdd84ca3acd18a62dbf7.png)
[tcapulusdb knowledge base] tcapulusdb doc acceptance - table creation approval introduction

Camunda timer events example demo (timer events)

书籍+视频+学习笔记+技能提升资源库,面试必问
随机推荐
[tcapulusdb knowledge base] Introduction to tmonitor background one click installation (I)
Audio and video technology development weekly 𞓜 249
MCDF实验2
7.5.4:Spire Office for . NET New Version
web开发项目,web单页开发
Kubernetes deploying ActiveMQ
Interview skills Q & A
[tcapulusdb knowledge base] Introduction to tcapulusdb general documents
【TcaplusDB知识库】TcaplusDB分析型文本导出介绍
"Forget to learn again" shell Basics - 30. Use of SED command
Notes on the development of raspberry pie (16): Raspberry pie 4b+ install MariaDB database (MySQL open source branch) and test basic operations
1051. height checker
银行业务系统数据库设计与实现
『忘了再學』Shell基礎 — 30、sed命令的使用
How to open an account for your own stock trading? Is it safe and reliable?
Query the current number of computer CPU cores
Design and implementation of database for banking system
Adaptation of multi system docking and application of packaging mode
抖音如此重视直播销售外卖套餐,会不会是创业者巨大机会?
模型搭建过程1==MIIDock