当前位置:网站首页>EasyCVR集群重启导致其他服务器设备通道状态离线情况的优化
EasyCVR集群重启导致其他服务器设备通道状态离线情况的优化
2022-07-06 21:44:00 【EasyCVR】
EasyCVR在近期发布了集群功能,技术人员也一直在不断对其进行测试和优化,不断完善平台功能和提升用户体验。我们在此前的文章中和大家介绍过关于EasyCVR服务器集群的相关技术文章,包括如何在一台服务器上部署多个EasyCVR等等,感兴趣的用户可以翻阅我们的历史文章进行了解。

我们在测试中发现,多个EasyCVR集群后,重启其中一个会导致其它服务器上的通道全部重新连接。针对该情况,我们立刻做了优化。
EasyCVR在重新启动时,会先在数据库里将设备和通道设置为离线状态,然后重新连接所有通道,导致其它服务器上的通道也会重启一次。所以我们更新了此处的逻辑,在启动时判断,如果开启了集群功能,则只将当前服务器上的设备和通道设置为离线,然后重启当前服务器下的所有通道。

按此逻辑进行优化后,再次测试,在演示中,重启153服务器,123设备状态仍然在线:

关于集群的部署操作,EasyCVR可支持将不同的服务器数据库绑定在一起,实现数据库的共享与调用,以此来分摊单个服务器的压力。EasyCVR的集群能力可以解决项目中海量的视频接入与大并发需求,保障平台的流畅、稳定运行。平台的集群版本已经上线一段时间了,部署简单、兼容性高,感兴趣的用户可以前往演示平台进行体验或部署测试。
边栏推荐
- Opencv third party Library
- 2022年电工杯B 题 5G 网络环境下应急物资配送问题思路分析
- 二进制、八进制、十六进制
- ABAP Dynamic Inner table Group cycle
- Mongo shell, the most complete mongodb in history
- Golang calculates constellations and signs based on birthdays
- Class constant pool and runtime constant pool
- See Gardenia minor
- Formation continue en robotique (automatisation) - 2022 -
- 如何编写一个程序猿另一个面试官眼前一亮的简历[通俗易懂]
猜你喜欢

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
![[ArcGIS tutorial] thematic map production - population density distribution map - population density analysis](/img/82/8f5b6f388d5676cb7ff902ba80d9d2.jpg)
[ArcGIS tutorial] thematic map production - population density distribution map - population density analysis

NFT meta universe chain diversified ecosystem development case

用头像模仿天狗食月
![[multi threading exercise] write a multi threading example of the producer consumer model.](/img/8a/4a2836f905968f42e0ef339d900b19.jpg)
[multi threading exercise] write a multi threading example of the producer consumer model.

leetcode:面试题 17.24. 子矩阵最大累加和(待研究)

Five years of automated testing, and finally into the ByteDance, the annual salary of 30W is not out of reach

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

数据的存储

【写给初发论文的人】撰写综述性科技论文常见问题
随机推荐
Ssm+jsp realizes enterprise management system (OA management system source code + database + document +ppt)
Create commonly used shortcut icons at the top of the ad interface (menu bar)
SSM+jsp实现仓库管理系统,界面那叫一个优雅
Formation continue en robotique (automatisation) - 2022 -
Unity3d can change colors and display samples in a building GL material
NFT meta universe chain diversified ecosystem development case
The first introduction of the most complete mongodb in history
POJ培训计划2253_Frogger(最短/floyd)
Learn how to use js to merge two objects into one object assign()
运算放大器应用汇总1
CUDA Programming
Collection of idea gradle Lombok errors
ABAP 动态内表分组循环
Allow public connections to local Ruby on Rails Development Server
Analysis on urban transportation ideas of 2022 Zhongqing cup C
科兴与香港大学临床试验中心研究团队和香港港怡医院合作,在中国香港启动奥密克戎特异性灭活疫苗加强剂临床试验
idea gradle lombok 报错集锦
二叉搜索树的实现
[leetcode]Spiral Matrix II
【写给初发论文的人】撰写综述性科技论文常见问题