当前位置:网站首页>How does easydss use go fastdfs distributed file servers to reduce service pressure?
How does easydss use go fastdfs distributed file servers to reduce service pressure?
2022-06-24 10:44:00 【Tsingsee green rhino video】
EasyDSS As RTMP Protocol video platform , In the case of multi-channel video stream access , The pressure ratio of video rotation EasyNVR、EasyGBS Much more . To slow down EasyDSS This kind of pressure , We decided to use a distributed transcoding server , At this time, you need to use a distributed file server . For this demand , We intend to adopt go-fastdfs.
go-fastdfs yes github The last one was based on http Distributed file system of protocol , Distributed deployment can be realized , Ready to use . As a very easy-to-use file server ,go-fastdfs Use pure Go Language writing , The design is very simple, which makes its operation, maintenance and expansion easier , It has high performance 、 Highly reliable 、 No center 、 Maintenance free, etc , Support multi platform installation , Include Windows,Linux,Docker Such as platform .
Git Address :https://github.com/sjqzhang/go-fastdfs
Go Code usage examples
Go The end can use http Request mode upload / Download and delete files :
Upload file example :
Download sample files :
Delete file example :
EasyDSS There is no need to install plug-ins to watch video streaming live broadcast on the video platform , Web pages can be played directly , Enter the platform through the browser to configure , For users , Convenient and controllable , There is no need to build another server , Have a great advantage .
Play a RTMP Protocol streaming media needs to go through the following steps : handshake , Set up a network connection , Set up network flow 、 Play . Only one network connection can be established between the server and the client , But based on this connection, you can create many network flows , This is also RTMP A feature of Streaming Protocol . Because many project teams have requirements for streaming , Therefore, we often encounter these situations , I will introduce you EasyDSS, That is, a streaming media server suitable for streaming platform . So if you have similar needs , Welcome to learn or test .
边栏推荐
猜你喜欢

MYSQL_精讲数据库数据类型

Leetcode-2221: triangular sum of arrays

Spark submission parameter -- use of files

机械臂速成小指南(二):机械臂的应用

Spark提交参数--files的使用

Fashionable pop-up mode login registration window

2022 the most complete and detailed JMeter interface test tutorial and detailed interface test process in the whole network - JMeter test plan component (thread < user >)

Canvas infinite scan JS special effect code

The difference between the sleep () method and the wait () method of a thread

P5.js paper crane animation background JS special effect
随机推荐
Uniapp implements the function of clicking to make a call
突然想到老家的木屋
JMeter接口测试工具基础— 取样器sampler(二)
Baidu online disk download has been in the process of requesting solutions
线程运行原理
88.合并有序数组
Leetcode-1051: height checker
88. merge ordered arrays
[resource sharing] the 5th International Conference on civil, architectural and environmental engineering in 2022 (iccaee 2022)
程序员在技术之外,还要掌握一个技能——自我营销能力
Flink checkPoint和SavePoint
5. dish management business development
Leetcode-1823: find the winner of the game
Web site development, lazy image loading
Uniapp implementation forbids video drag fast forward
【IEEE出版】2022年服务机器人国际研讨会(IWoSR 2022)
Leetcode-929: unique email address
用扫描的方法分发书稿校样
Spark submission parameter -- use of files
Flink集群搭建以及企业级yarn集群搭建