当前位置:网站首页>File queue in Bifrost (1)
File queue in Bifrost (1)
2020-11-09 00:28:00 【Boo】
In order to solve the problem of table synchronization, set parallel synchronization , Share one Binlog Parsing thread , Because of some synchronization error and other reasons Binlog Resolve the blocking situation .
stay Bifrost v1.2.1 Version start , Bifrost Added a file queue function , When table synchronization is blocked , Auto start file queue , Does not affect Binlog analysis , It does not affect other table data synchronization .
To put it simply As long as all synchronization is fast enough , Just use the pure memory queue , As long as one synchronization fails , To make sure you make a mistake , No effect Other tables are synchronized , Current synchronization thread , A file queue that is automatically enabled .
File queues , It's a synchronization problem , To keep pace with Binlog When analyzing the speed , Automatically activated , You don't need a human interface to click to start . At present Management system interface Points provide methods Let the user click force start !
File queue configuration
# Whether to turn on the file queue function true|false
file_queue_usable=true
# Count whether the file queue is started or not , Unit millisecond
file_queue_usable_count_time_diff=5000
#file_queue_usable_count_time_diff The number of times the memory queue has been filled in time
file_queue_usable_count=10
If the configuration file_queue_usable = false , No matter what , Does not enable file queuing
By default , The file queue is in 5000ms Inside The memory queue is continuously full 10 Time , Auto start , It doesn't need any human operation in the management interface
File queues , It is started according to the synchronization configuration of the table , in other words , If a table is configured with 10 Synchronization , The first configuration synchronization is to synchronize to Redis, Syncing to Redis Synchronization is slow in synchronization , In the case of memory queue blocking , A file queue is enabled , For buffering Synchronize to the current table to Redis
版权声明
本文为[Boo]所创,转载请带上原文链接,感谢
边栏推荐
- Installation record of SAP s / 4hana 2020
- Review of API knowledge
- 写时复制集合 —— CopyOnWriteArrayList
- STS安装
- VIM 入门手册, (VS Code)
- APP 莫名崩溃,开始以为是 Header 中 name 大小写的锅,最后发现原来是容器的错!
- Nodejs中request出现ESOCKETTIMEDOUT解决方案
- What courses will AI programming learn?
- Copy on write collection -- copyonwritearraylist
- Decorator (2)
猜你喜欢
Why need to use API management platform
如何让脚本同时兼容Python2和Python3?
实现图片的复制
Decorator (2)
First development of STC to stm32
A few lines of code can easily transfer traceid across systems, so you don't have to worry about losing the log!
App crashed inexplicably. At first, it thought it was the case of the name in the header. Finally, it was found that it was the fault of the container!
VIM Introduction Manual, (vs Code)
The vowels in the inverted string of leetcode
上线1周,B.Protocal已有7000ETH资产!
随机推荐
移动大数据自有网站精准营销精准获客
教你如何 分析 Android ANR 问题
Decorator (1)
Leetcode-11: container with the most water
API部分的知识点复习
STC转STM32第一次开发
写时复制集合 —— CopyOnWriteArrayList
leetcode之反转字符串中的元音字母
salesforce零基础学习(九十八)Salesforce Connect & External Object
Octave基本语法
How to analyze Android anr problems
C + + adjacency matrix
How does semaphore, a thread synchronization tool that uses an up counter, look like?
APP 莫名崩溃,开始以为是 Header 中 name 大小写的锅,最后发现原来是容器的错!
基于链表的有界阻塞队列 —— LinkedBlockingQueue
Fiddler can't grab requests from browsers like Google_ Solution
Web上的分享(Share)API
Flink's datasource Trilogy 3: customization
Five factors to consider before choosing API management platform
C/C++编程笔记:指针篇!从内存理解指针,让你完全搞懂指针