当前位置:网站首页>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 .
边栏推荐
- 手机号国际区号JSON格式另附PHP获取
- 硬件开发笔记(十): 硬件开发基本流程,制作一个USB转RS232的模块(九):创建CH340G/MAX232封装库sop-16并关联原理图元器件
- Triple half circle progress bar, you can use it directly
- Analysis on urban transportation ideas of 2022 Zhongqing cup C
- ABAP 動態內錶分組循環
- [knife-4j quickly build swagger]
- The most complete deployment of mongodb in history
- 机械臂速成小指南(十):可达工作空间
- Use dumping to back up tidb cluster data to GCS
- [leetcode]Spiral Matrix II
猜你喜欢
1.19.11. SQL client, start SQL client, execute SQL query, environment configuration file, restart policy, user-defined functions, constructor parameters
【knife-4j 快速搭建swagger】
SSM+JSP实现企业管理系统(OA管理系统源码+数据库+文档+PPT)
C#使用西门子S7 协议读写PLC DB块
Practice Guide for interface automation testing (middle): what are the interface testing scenarios
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
运算放大器应用汇总1
【OA】Excel 文档生成器: Openpyxl 模块
kivy教程之设置窗体大小和背景(教程含源码)
Food Chem | in depth learning accurately predicts food categories and nutritional components based on ingredient statements
随机推荐
MySQL data loss, analyze binlog log file
Redis source code learning (31), dictionary learning, dict.c (1)
tflite模型转换和量化
使用切面实现记录操作日志
[record of question brushing] 2 Add two numbers
Implementation of map and set
Pyqt5 out of focus monitoring no operation timer
机械臂速成小指南(十):可达工作空间
EasyCVR平台接入RTMP协议,接口调用提示获取录像错误该如何解决?
C#使用西门子S7 协议读写PLC DB块
超越Postman,新一代国产调试工具Apifox,用起来够优雅
ABAP dynamic inner table grouping cycle
EasyCVR无法使用WebRTC进行播放,该如何解决?
Triple half circle progress bar, you can use it directly
Practice Guide for interface automation testing (middle): what are the interface testing scenarios
The most complete deployment of mongodb in history
The most complete learning rate adjustment strategy in history LR_ scheduler
Redis configuration and optimization of NoSQL
ABAP 動態內錶分組循環
二进制、八进制、十六进制