当前位置:网站首页>EasyCVR集群重启导致其他服务器设备通道状态离线情况的优化
EasyCVR集群重启导致其他服务器设备通道状态离线情况的优化
2022-07-06 21:44:00 【EasyCVR】
EasyCVR在近期发布了集群功能,技术人员也一直在不断对其进行测试和优化,不断完善平台功能和提升用户体验。我们在此前的文章中和大家介绍过关于EasyCVR服务器集群的相关技术文章,包括如何在一台服务器上部署多个EasyCVR等等,感兴趣的用户可以翻阅我们的历史文章进行了解。
我们在测试中发现,多个EasyCVR集群后,重启其中一个会导致其它服务器上的通道全部重新连接。针对该情况,我们立刻做了优化。
EasyCVR在重新启动时,会先在数据库里将设备和通道设置为离线状态,然后重新连接所有通道,导致其它服务器上的通道也会重启一次。所以我们更新了此处的逻辑,在启动时判断,如果开启了集群功能,则只将当前服务器上的设备和通道设置为离线,然后重启当前服务器下的所有通道。
按此逻辑进行优化后,再次测试,在演示中,重启153服务器,123设备状态仍然在线:
关于集群的部署操作,EasyCVR可支持将不同的服务器数据库绑定在一起,实现数据库的共享与调用,以此来分摊单个服务器的压力。EasyCVR的集群能力可以解决项目中海量的视频接入与大并发需求,保障平台的流畅、稳定运行。平台的集群版本已经上线一段时间了,部署简单、兼容性高,感兴趣的用户可以前往演示平台进行体验或部署测试。
边栏推荐
- SSM+jsp实现仓库管理系统,界面那叫一个优雅
- Continuous learning of Robotics (Automation) - 2022-
- One of oscp tools: dirsearch usage Encyclopedia
- Use facet to record operation log
- Food Chem|深度学习根据成分声明准确预测食品类别和营养成分
- 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)?
- 【编码字体系列】OpenDyslexic字体
- HW notes (II)
- idea gradle lombok 报错集锦
- AVL树插入操作与验证操作的简单实现
猜你喜欢
Food Chem | in depth learning accurately predicts food categories and nutritional components based on ingredient statements
Quick completion guide of manipulator (10): accessible workspace
[knife-4j quickly build swagger]
【刷题记录】2. 两数相加
Kotlin Android environment construction
Tflite model transformation and quantification
【OA】Excel 文档生成器: Openpyxl 模块
Create commonly used shortcut icons at the top of the ad interface (menu bar)
接口自动化测试实践指导(中):接口测试场景有哪些
机械臂速成小指南(十):可达工作空间
随机推荐
EasyUI export excel cannot download the method that the box pops up
1.19.11.SQL客户端、启动SQL客户端、执行SQL查询、环境配置文件、重启策略、自定义函数(User-defined Functions)、构造函数参数
Web service performance monitoring scheme
tflite模型转换和量化
Ggplot facet detail adjustment summary
Implementation of binary search tree
Allow public connections to local Ruby on Rails Development Server
Implementation of map and set
Hangzhou Electric 3711 binary number
【写给初发论文的人】撰写综述性科技论文常见问题
Mysql-数据丢失,分析binlog日志文件
Redis source code learning (31), dictionary learning, dict.c (1)
Summer 2022 daily question 1 (1)
Create commonly used shortcut icons at the top of the ad interface (menu bar)
Surpassing postman, the new generation of domestic debugging tool apifox is elegant enough to use
NanopiNEO使用开发过程记录
什么是 CGI,什么是 IIS,什么是VPS「建议收藏」
Simple implementation of AVL tree insertion and verification operations
如何编写一个程序猿另一个面试官眼前一亮的简历[通俗易懂]
2022中青杯C题城市交通思路分析