当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
- B. protocal has 7000eth assets in one week!
- C++之异常捕获和处理
- Tips in Android Development: requires permission android.permission write_ Settings solution
- STS安装
- 非阻塞的无界线程安全队列 —— ConcurrentLinkedQueue
- How does pipedrive support quality publishing with 50 + deployments per day?
- 当我们聊数据质量的时候,我们在聊些什么?
- [200 interview experience], programmer interview, common interview questions analysis
- Using containers to store table data
- 分库分表的几种常见玩法及如何解决跨库查询等问题
猜你喜欢
Programmers should know the URI, a comprehensive understanding of the article
Web上的分享(Share)API
云计算之路-出海记-小目标:Hello World from .NET 5.0 on AWS
14. Introduction to kubenetes
Introduction to nmon
SAP S/4HANA 2020安装实录
How does semaphore, a thread synchronization tool that uses an up counter, look like?
接口测试工具Eolinker进行post请求
使用递增计数器的线程同步工具 —— 信号量,它的原理是什么样子的?
Python的特性与搭建环境
随机推荐
用两个栈实现队列
文件拷贝的实现
Concurrent linked queue: a non blocking unbounded thread safe queue
What are the basic requirements for big data posts?
C/C++编程笔记:指针篇!从内存理解指针,让你完全搞懂指针
表连接
How to get started with rabbitmq
Several common playing methods of sub database and sub table and how to solve the problem of cross database query
服务器性能监控神器nmon使用介绍
How to analyze Android anr problems
What courses will AI programming learn?
How does pipedrive support quality publishing with 50 + deployments per day?
通过canvas获取视频第一帧封面图
Chapter 5 programming
大数据软件学习入门技巧
装饰器(二)
国内三大云数据库测试对比
上线1周,B.Protocal已有7000ETH资产!
你有没有想过为什么交易和退款要拆开不同的表
老大问我:“建表为啥还设置个自增 id ?用流水号当主键不正好么?”