当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- AQS 都看完了,Condition 原理可不能少!
- Travel notes of csp-s 2020
- A bunch of code forgot to indent? Shortcut teach you carefree!
- 一堆代码忘了缩进?快捷方式教你无忧无虑!
- How to make scripts compatible with both Python 2 and python 3?
- Are there many Python application scenarios?
- A few lines of code can easily transfer traceid across systems, so you don't have to worry about losing the log!
- A few lines of code can easily transfer traceid across systems, so you don't have to worry about losing the log!
- 深度优先搜索和广度优先搜索
- 程序员都应该知道的URI,一文帮你全面了解
猜你喜欢

服务器性能监控神器nmon使用介绍

How does semaphore, a thread synchronization tool that uses an up counter, look like?

LeetCode-11:盛水最多的容器

Leetcode-11: container with the most water

Linked blocking queue based on linked list

大数据岗位基础要求有哪些?

接口测试工具Eolinker进行post请求

How to make scripts compatible with both Python 2 and python 3?

SAP S/4HANA 2020安装实录

A few lines of code can easily transfer traceid across systems, so you don't have to worry about losing the log!
随机推荐
Introduction and application of swagger
国内三大云数据库测试对比
23张图,带你入门推荐系统
一堆代码忘了缩进?快捷方式教你无忧无虑!
How to reduce the resource consumption of istio agent through sidecar custom resource
使用递增计数器的线程同步工具 —— 信号量,它的原理是什么样子的?
Aprelu: cross border application, adaptive relu | IEEE tie 2020 for machine fault detection
A bunch of code forgot to indent? Shortcut teach you carefree!
几行代码轻松实现跨系统传递 traceId,再也不用担心对不上日志了!
Have you ever thought about why the transaction and refund have to be split into different tables
Chapter 5 programming
非阻塞的无界线程安全队列 —— ConcurrentLinkedQueue
第五章编程
Combine theory with practice to understand CORS thoroughly
链表
Salesforce connect & external object
Leetcode-11: container with the most water
Fiddler无法正常抓取谷歌等浏览器的请求_解决方案
几行代码轻松实现跨系统传递 traceId,再也不用担心对不上日志了!
14. Introduction to kubenetes