当前位置:网站首页>[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 .

边栏推荐
- Socket programming (Part 1)
- 2022.2:EyeshotPro EyeshotUltimate EyeshotFem
- TS进阶之条件类型
- 1051. height checker
- Meta universe land: what makes digital real estate valuable
- 多系统对接的适配与包装模式应用
- Wallys/Network_Card/DR-NAS26/AR9223/2x2 MIMO
- break algorithm---multi-interface
- 【TcaplusDB知识库】TcaplusDB集群管理介绍
- 【TcaplusDB知识库】TcaplusDB-tcapsvrmgr工具介绍(一)
猜你喜欢
【TcaplusDB知识库】TcaplusDB集群管理介绍
Adaptation of multi system docking and application of packaging mode
Kubernetes deploying ActiveMQ
塔米狗股权项目分享:北京化大化新科技股份有限公司163.79万股股份转让
[tcapulusdb knowledge base] tcapulusdb doc acceptance - table creation approval introduction
How camunda uses script script nodes
Seccloud and trend technology jointly release the overall solution of container cloud platform and GPU resource pooling
Meta universe land: what makes digital real estate valuable
camunda如何使用script脚本节点
Anonymity in Web3 and NFT
随机推荐
Type de condition pour ts Advanced
如何使用 DATAX 以 UPSERT 语义更新下游 ORACLE 数据库中的数据?
『忘了再學』Shell基礎 — 30、sed命令的使用
面试技巧问答
MCDF Experiment 2
(幼升小信息-03)批量模板制作 幼儿基本信息收集文件夹(包含PDF、Word、证件文件夹)
Interval modification multiplication and addition (a good example of understanding lazy tags)
socket编程(上)
How to use dataX to update the data in the downstream Oracle database with the update semantics?
Query the current number of computer CPU cores
Interview questions MySQL database
[tcapulusdb knowledge base] Introduction to tcapulusdb general documents
树莓派开发笔记(十六):树莓派4B+安装mariadb数据库(mysql开源分支)并测试基本操作
轻量级实时语义分割:ENet & ERFNet
【TcaplusDB知识库】TcaplusDB-tcapulogmgr工具介绍(一)
Camunda定时器事件示例Demo(Timer Events)
致力超表面光子芯片产品研发与制造,山河光电完成数千万元Pre-A轮融资
Ipdu handling caused by mode change of COM
The leader said he would go online tomorrow, but he didn't know the development process at all
Apache apisik v2.14.1 exploratory release to expand into more fields