当前位置:网站首页>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 .
边栏推荐
- 【写给初发论文的人】撰写综述性科技论文常见问题
- How to write a resume that shines in front of another interviewer [easy to understand]
- Use br to back up tidb cluster to GCS
- Create commonly used shortcut icons at the top of the ad interface (menu bar)
- 主设备号和次设备号均为0
- 高薪程序员&面试题精讲系列120之Redis集群原理你熟悉吗?如何保证Redis的高可用(上)?
- [untitled]
- Implementation of map and set
- 史上最全MongoDB之Mongo Shell使用
- Some thoughts on cross end development of kbone and applet
猜你喜欢
NFT meta universe chain diversified ecosystem development case
Collection of idea gradle Lombok errors
史上最全MongoDB之Mongo Shell使用
Imitate Tengu eating the moon with Avatar
【knife-4j 快速搭建swagger】
Storage of data
Food Chem|深度学习根据成分声明准确预测食品类别和营养成分
视频融合云平台EasyCVR视频广场左侧栏列表样式优化
【ArcGIS教程】专题图制作-人口密度分布图——人口密度分析
Surpassing postman, the new generation of domestic debugging tool apifox is elegant enough to use
随机推荐
EasyUI export excel cannot download the method that the box pops up
[record of question brushing] 2 Add two numbers
True global ventures' newly established $146million follow-up fund was closed, of which the general partner subscribed $62million to invest in Web3 winners in the later stage
Ssm+jsp realizes the warehouse management system, and the interface is called an elegant interface
中青杯2022A题高校数学建模竞赛与课程教育思路分析
ERROR: Could not build wheels for pycocotools which use PEP 517 and cannot be installed directly
Redis source code learning (30), dictionary learning, dict.h
vim —- 自己主动的按钮indent该命令「建议收藏」
The most complete deployment of mongodb in history
机械臂速成小指南(十):可达工作空间
使用 BR 备份 TiDB 集群到 GCS
UltraEdit-32 温馨提示:右协会,取消 bak文件[通俗易懂]
OSCP工具之一: dirsearch用法大全
2022电工杯A题高比例风电电力系统储能运行及配置分析思路
Opencv third party Library
EasyCVR无法使用WebRTC进行播放,该如何解决?
ABAP 動態內錶分組循環
[system management] clear the icon cache of deleted programs in the taskbar
Simple implementation of AVL tree insertion and verification operations
高薪程序员&面试题精讲系列120之Redis集群原理你熟悉吗?如何保证Redis的高可用(上)?