当前位置:网站首页>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 .
边栏推荐
- Simple implementation of AVL tree insertion and verification operations
- 2022中青杯C题城市交通思路分析
- EasyCVR集群版本添加RTSP设备提示服务器ID错误,该如何解决?
- Ssm+jsp realizes the warehouse management system, and the interface is called an elegant interface
- Quick completion guide of manipulator (10): accessible workspace
- POJ training plan 2253_ Frogger (shortest /floyd)
- [coded font series] opendyslexic font
- 二叉搜索树的实现
- Opencv third party Library
- ABAP 动态内表分组循环
猜你喜欢
buildroot的根文件系统提示“depmod:applt not found”
[coded font series] opendyslexic font
Food Chem | in depth learning accurately predicts food categories and nutritional components based on ingredient statements
Do you choose pandas or SQL for the top 1 of data analysis in your mind?
5年自动化测试,终于进字节跳动了,年薪30w其实也并非触不可及
Mysql-数据丢失,分析binlog日志文件
ABAP 动态内表分组循环
机械臂速成小指南(十):可达工作空间
视频融合云平台EasyCVR视频广场左侧栏列表样式优化
【ArcGIS教程】专题图制作-人口密度分布图——人口密度分析
随机推荐
Different meat customers joined hands with Dexter to launch different hamburgers in some stores across the country
Simple implementation of AVL tree insertion and verification operations
How to manage the expiration of enterprise distribution certificates- How to manage Enterprise Distribution certificate expiration?
Unity3d can change colors and display samples in a building GL material
cuda编程
EasyUI export excel cannot download the method that the box pops up
Practice Guide for interface automation testing (middle): what are the interface testing scenarios
Five years of automated testing, and finally into the ByteDance, the annual salary of 30W is not out of reach
1.19.11. SQL client, start SQL client, execute SQL query, environment configuration file, restart policy, user-defined functions, constructor parameters
【自动化经验谈】自动化测试成长之路
Kotlin compose text supports two colors
leetcode 53. Maximum Subarray 最大子数组和(中等)
[on automation experience] the growth path of automated testing
科兴与香港大学临床试验中心研究团队和香港港怡医院合作,在中国香港启动奥密克戎特异性灭活疫苗加强剂临床试验
使用 TiDB Lightning 恢复 GCS 上的备份数据
Highly paid programmers & interview questions. Are you familiar with the redis cluster principle of series 120? How to ensure the high availability of redis (Part 1)?
Food Chem | in depth learning accurately predicts food categories and nutritional components based on ingredient statements
See Gardenia minor
Operational amplifier application summary 1
Implementation of map and set