当前位置:网站首页>Optimization of channel status offline of other server devices caused by easycvr cluster restart
Optimization of channel status offline of other server devices caused by easycvr cluster restart
2022-07-07 04:21:00 【EasyCVR】
EasyCVR Recently released the cluster function , Technicians have also been testing and optimizing it , Constantly improve platform functions and improve user experience . In our previous article, we introduced to you about EasyCVR Server cluster related technical articles , Including how to deploy multiple servers on one server EasyCVR wait , Interested users can read our historical articles to learn about .

We found in the test , Multiple EasyCVR After cluster , Restarting one of them will cause all channels on other servers to reconnect . In this case , We optimized it immediately .
EasyCVR On reboot , The device and channel will be set offline in the database first , Then reconnect all channels , As a result, the channels on other servers will restart . So we updated the logic here , Judge at startup , If the cluster function is enabled , Then only the devices and channels on the current server are set offline , Then restart all channels under the current server .

After optimization according to this logic , The test again , In the demonstration , restart 153 The server ,123 Device status is still online :

About cluster deployment ,EasyCVR It can support binding different server databases , Realize the sharing and calling of database , To share the pressure of a single server .EasyCVR The clustering capability of can solve the massive video access and concurrency requirements in the project , Ensure the smoothness of the platform 、 Stable operation . The cluster version of the platform has been online for some time , Simple deployment 、 High compatibility , Interested users can go to the demonstration platform for experience or deployment testing .
边栏推荐
- Hangzhou Electric 3711 binary number
- leetcode:面试题 17.24. 子矩阵最大累加和(待研究)
- Golang compresses and decompresses zip files
- Dab-detr: dynamic anchor boxes are better queries for Detr translation
- SSM+jsp实现仓库管理系统,界面那叫一个优雅
- 2022年电工杯B 题 5G 网络环境下应急物资配送问题思路分析
- Implementation of map and set
- Five years of automated testing, and finally into the ByteDance, the annual salary of 30W is not out of reach
- 别样肉客联手德克士在全国部分门店推出别样汉堡
- Operational amplifier application summary 1
猜你喜欢

In cooperation with the research team of the clinical trial center of the University of Hong Kong and Hong Kong Gangyi hospital, Kexing launched the clinical trial of Omicron specific inactivated vacc

见到小叶栀子

视频融合云平台EasyCVR视频广场左侧栏列表样式优化

Opencv third party Library

Imitate Tengu eating the moon with Avatar

opencv第三方库

Hardware development notes (10): basic process of hardware development, making a USB to RS232 module (9): create ch340g/max232 package library sop-16 and associate principle primitive devices

超越Postman,新一代国产调试工具Apifox,用起来够优雅

史上最全MongoDB之Mongo Shell使用

Antd Comment 递归循环评论
随机推荐
【OA】Excel 文档生成器: Openpyxl 模块
Collection of idea gradle Lombok errors
Why does WordPress open so slowly?
UltraEdit-32 warm prompt: right association, cancel bak file [easy to understand]
[OA] excel document generator: openpyxl module
AVL树插入操作与验证操作的简单实现
PHP 实现根据概率抽奖
How to manage the expiration of enterprise distribution certificates- How to manage Enterprise Distribution certificate expiration?
[on automation experience] the growth path of automated testing
Food Chem|深度学习根据成分声明准确预测食品类别和营养成分
PHP implements lottery according to probability
Antd comment recursive loop comment
Ssm+jsp realizes the warehouse management system, and the interface is called an elegant interface
What is CGI, IIS, and VPS "suggested collection"
Binary, octal, hexadecimal
cuda编程
超越Postman,新一代国产调试工具Apifox,用起来够优雅
[system management] clear the icon cache of deleted programs in the taskbar
Unity3d can change colors and display samples in a building GL material
杭州电 3711 Binary Number