当前位置:网站首页>How to perform concurrent stress testing on RTSP video streams distributed by audio and video streaming servers?
How to perform concurrent stress testing on RTSP video streams distributed by audio and video streaming servers?
2022-06-24 16:38:00 【Tsingsee green rhino video】
For ordinary video sites , Concurrency quantity is a very valuable data , In part of the time , The number of concurrencies may be small , But it can also soar in a short period of time and there is no upper limit , At this point, the system needs to have good expansion ability and load balancing ability . So how to distribute for streaming media server RTSP Flow concurrent stress testing to understand the ability of the system ? I'd like to share with you our testing process .
By using multiple channels RTSP The client pulls the stream , Can achieve concurrent stress testing . about RTSP Client selection , You can choose open source OpenRTSP The client performs pull flow test .
OpenRTSP Is used as follows :
1、 Download the source code wget http://www.live555.com/liveMedia/public/live555-latest.tar.gz http://www.live555.com/liveMedia/#license
2、 Compile source code tar -xvf live555-latest.tar.gz cd live
make after Get into testProgs Catalog stay testProgs Generated in directory openRTSP Executable file
3、 How to use it is as follows
Pull from local server rtsp flow openRTSP -b 1024000 rtsp://127.0.0.1:554/live
Using concurrent pull streaming , You can do this by using scripts , Call it many times , Such as 100 The script is as follows :
If you want to modify the number of concurrent paths of the test , modify seq The following parameters are OK .
边栏推荐
- Principle analysis of robot hardware in the loop system
- Saying "Dharma" Today: the little "secret" of paramter and localparam
- Snowflake algorithm implemented in go language
- [security] graphical CSRF injection of Web Security (II)
- What does the router pin mean?
- What is a reptile
- Percona Toolkit series - Pt deadlock logger
- Handling of communication failure between kuberbetes pod
- Greenplum role-based fine-grained permission control
- [go] runtime package for concurrent programming and its common methods
猜你喜欢
A survey on model compression for natural language processing (NLP model compression overview)
ZOJ - 4104 sequence in the pocket
Advanced programmers must know and master. This article explains in detail the principle of MySQL master-slave synchronization
MySQL進階系列:鎖-InnoDB中鎖的情况
Problems encountered in the work of product manager
MySQL Advanced Series: Locks - Locks in InnoDB
There are potential safety hazards Land Rover recalls some hybrid vehicles
[go] concurrent programming channel
Applet - use of template
B. Terry sequence (thinking + greed) codeforces round 665 (Div. 2)
随机推荐
Comparison of jmeter/k6/locust pressure measuring tools (not completed yet)
Tencent on the other hand, I was puzzled by the "horse race" problem
Ps\ai and other design software pondering notes
Summer Challenge harmonyos - to do list with date effect
How to access tke cluster API interface with certificate or token
Finite element simulation in design
Abnormal dockgeddon causes CPU 100%
Pytorch transpose convolution
What can Lu yuanjiu Jiao buy?
A survey of training on graphs: taxonomy, methods, and Applications
[tke] analysis of CLB loopback in Intranet under IPVS forwarding mode
Principle analysis of robot hardware in the loop system
Coding's first closed door meeting on financial technology exchange was successfully held
AI structured intelligent security video monitoring technology, supporting the protective umbrella of the reserve / wild animals
API documents are simple and beautiful. It only needs three steps to open
AI video structured intelligent security platform easycvr intelligent security monitoring scheme for protecting community residents
What is a reptile
@There is a free copyright protection service for enterprises in Dawan District
C. Three displays codeforces round 485 (Div. 2)
Some adventurer hybrid versions with potential safety hazards will be recalled