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

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

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

关于集群的部署操作,EasyCVR可支持将不同的服务器数据库绑定在一起,实现数据库的共享与调用,以此来分摊单个服务器的压力。EasyCVR的集群能力可以解决项目中海量的视频接入与大并发需求,保障平台的流畅、稳定运行。平台的集群版本已经上线一段时间了,部署简单、兼容性高,感兴趣的用户可以前往演示平台进行体验或部署测试。
边栏推荐
- Class constant pool and runtime constant pool
- Ssm+jsp realizes enterprise management system (OA management system source code + database + document +ppt)
- Mysql-数据丢失,分析binlog日志文件
- Using thread class and runnable interface to realize the difference between multithreading
- map和set的实现
- 【自动化经验谈】自动化测试成长之路
- Restore backup data on GCS with tidb lightning
- 杭州电 3711 Binary Number
- How to write a resume that shines in front of another interviewer [easy to understand]
- Kbone与小程序跨端开发的一些思考
猜你喜欢

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

ABAP dynamic inner table grouping cycle

Mysql-数据丢失,分析binlog日志文件

Imitate Tengu eating the moon with Avatar

Kbone与小程序跨端开发的一些思考

1.19.11.SQL客户端、启动SQL客户端、执行SQL查询、环境配置文件、重启策略、自定义函数(User-defined Functions)、构造函数参数

NoSQL之Redis配置与优化

SSM+JSP实现企业管理系统(OA管理系统源码+数据库+文档+PPT)

【编码字体系列】OpenDyslexic字体

史上最全MongoDB之Mongo Shell使用
随机推荐
【写给初发论文的人】撰写综述性科技论文常见问题
Ssm+jsp realizes enterprise management system (OA management system source code + database + document +ppt)
The most complete learning rate adjustment strategy in history LR_ scheduler
The most complete deployment of mongodb in history
手机号国际区号JSON格式另附PHP获取
Unity3d can change colors and display samples in a building GL material
vim —- 自己主动的按钮indent该命令「建议收藏」
2022 middle school Youth Cup mathematical modeling question B fertility policy research ideas under the background of open three children
[record of question brushing] 2 Add two numbers
NanopiNEO使用开发过程记录
HW notes (II)
Enter the rough outline of the URL question (continuously updated)
Class constant pool and runtime constant pool
leetcode:面试题 17.24. 子矩阵最大累加和(待研究)
[leetcode]Spiral Matrix II
POJ培训计划2253_Frogger(最短/floyd)
UltraEdit-32 温馨提示:右协会,取消 bak文件[通俗易懂]
SSM+JSP实现企业管理系统(OA管理系统源码+数据库+文档+PPT)
[hcie TAC] question 3
buildroot的根文件系统提示“depmod:applt not found”