当前位置:网站首页>[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 .
边栏推荐
- 【TcaplusDB知识库】TcaplusDB-tcapsvrmgr工具介绍(一)
- [tcapulusdb knowledge base] tcapulusdb cluster management introduction
- Deep learning in finance in cross sectional sectional predictions for random forests
- Proe/Creo家电产品结构设计规范-电煎锅
- Analysis of mobile ar implementation based on edge computing (Part 2)
- Co jump
- 深入理解 happens-before 原则
- “互联网+”大赛命题火热对接中 | 一图读懂百度38道命题
- Feedforward feedback control system design (process control course design matlab/simulink)
- File name setting causes an error to be written to writelines: oserror: [errno 22] invalid argument
猜你喜欢

audiotrack与audioflinger

The tutor invites you to continue your doctoral study with him. Will you agree immediately?
![[tcapulusdb knowledge base] tcapulusdb tmonitor module architecture introduction](/img/85/39e54ebc613f6d1dc7f02168adaaee.png)
[tcapulusdb knowledge base] tcapulusdb tmonitor module architecture introduction

NAACL 2022 | TAMT:通过下游任务无关掩码训练搜索可迁移的BERT子网络

Future & CompletionService

What basic functions are required for live e-commerce application development? What is the future development prospect?

学习笔记之——数据集的生成

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

【TcaplusDB知识库】Tmonitor单机安装指引介绍(一)

How to deploy jupyterlab in methodot?
随机推荐
ECMAScript 6(es6)
go-zero微服务实战系列(七、请求量这么高该如何优化)
[noodle classic] Yunze Technology
VPT Model Video Explanation
基于swiftadmin极速后台开发框架,我制作了菜鸟教程[专业版]
Oracle-多表查询
15+城市道路要素分割应用,用这一个分割模型就够了!
【TcaplusDB知识库】TcaplusDB集群管理介绍
JS file upload and download
Frequently asked questions about closures
LeetCode 522 最长特殊序列II[枚举 双指针] HERODING的LeetCode之路
【TcaplusDB知识库】TcaplusDB OMS业务人员权限介绍
JS client storage
[tcapulusdb knowledge base] tcapulusdb Model Management Introduction
Memory compression for win10
If you find any loopholes later, don't tell China!
JS all network request modes
Leetcode 729. My schedule I (provides an idea)
Feedforward feedback control system design (process control course design matlab/simulink)
Leetcode 522 longest special sequence ii[enumeration double pointer] leetcode path of heroding