当前位置:网站首页>How to evaluate load balancing performance parameters?
How to evaluate load balancing performance parameters?
2022-07-07 01:13:00 【Don't bug, please】
How to evaluate load balancing performance parameters ?
At present , In the demand environment dominated by cloud computing and big data , Load balancing and application delivery have been developed for large enterprise data centers “ Escort ” It's a must-have for you . however , Load balancing as a comparison “ novel ” The equipment , Although its main functions are well known to relevant demand persons , But its various performance indicators are “ The flowers are getting more and more attractive ”, Most people think for a long time, so .
that , From what aspects should the performance indicators of load balancing products be evaluated ? The editor specially interviewed Mr. Yu Zhenbo, product director of Taiyi Xingchen, a domestic emerging application delivery enterprise . meanwhile , Not long ago, a batch of self-developed application delivery products passed the centralized purchase test of Unicom . As a top domestic operator , Unicom is very professional in testing the main functions and performance indicators of load balancing products . thus , Yu Zhenbo also made an in-depth interpretation of the performance parameters of load balancing in combination with Unicom's centralized purchase test .
Yu Zhenbo said , There are three main dimensions to evaluate the performance parameters of load balancing equipment , They are four / Layer 7 throughput 、 The rate of the maximum number of concurrent connections and the number of new connections in the fourth layer , The specific indicators of these three dimensions determine the performance effect of load balancing products .
One 、 Four / Layer 7 throughput , No more watching throughput, It depends on HTTPGoodput
1. What is throughput
Measuring the performance of load balancing products is the most common , The most basic indicator is “ throughput ”, This concept applies to routing devices 、 Firewall and other network equipment .
What is? “ throughput ”? Simply speaking , We can think of the load equipment as a pipe , The maximum flow that can pass through the pipeline in unit time is the throughput . therefore , The larger the flow that can pass per unit time , It means that the processing capacity of the load balancing device is higher . The so-called “ Four / Seven layer throughput ”, That is, when you turn on the four layer function and the seven layer function , Processing capacity of the equipment .
2. Standard measurement method of throughput
There are standard test methods for throughput , Traditional router 、 Firewalls are tested in different sizes per unit time UDP Data package to measure product performance , That's what we usually say “throughput”. However, this indicator has been applied to load balancing products “ Out of style ” 了 .
In the Unicom test , Operators use a more “ Strictly ” To consider the performance of load balancing products ——“HTTP Effective throughput (HTTPGoodput)”. because UDP The transmission of is too simple , It is far from the actual processing capacity of the equipment , In the real network , Most of the application protocols are through TCP Transmission of ,TCP The agreement has a more complex negotiation process , As a load balancing device closely combined with Applications , Traditional firewall UDP Throughput is not critical , The real ability to deal with application layer protocols is to see “ Zhenzhang ” The place of .
In the actual test , Operators will use professional test instruments to simulate real customers to launch HTTP request , After passing the load equipment , The simulation server will respond , In the process , Continue to increase the number of simulation clients , Until the load equipment appears and cannot be handled in time 、 Connection failure or response timeout 、 The maximum that can be handled without failure recorded on the test instrument HTTP Until the transmission traffic statistics .
With the traditional UDP Compared with throughput ,HTTP Effective throughput is closer to the actual environment in measuring the performance of load devices , Also more strict .
Two 、 Maximum number of concurrent connections
if , The throughput index measures a pipeline , Then the maximum number of concurrent connections is equivalent to one “ A bottle of water ”, The so-called maximum concurrent connection refers to what this bottle can hold “ water ” The capacity of , That is, the maximum number of connections that the load equipment can maintain .
Testing for concurrent connections , The tester needs to simulate HTTP The client sends connection requests to the load device at a certain rate , And keep the connection uninterrupted . In this process, gradually increase the number of connections , Until the load device fails to process , Then count the maximum number of connections that the load equipment can carry .
Although this parameter is important , But it was not deliberately emphasized in the Unicom test . The reason is simple , This indicator only depends on the memory capacity of the device , To put it bluntly , The number of concurrent connections is determined by the size of memory , And now the number of memory devices can carry connections has already exceeded most practical scenarios .
3、 ... and 、 The number and rate of new connections on the fourth floor (L4 CPS)
In the Unicom test , The new connection rate per second of the fourth layer is highly valued , The concept of connection is also strictly defined : There needs to be three complete handshakes (SYN,ACK/SYN,ACK), once HTTP The request and response of , as well as TCP Connection closed (FIN,ACK,FIN,ACK) The process —— This operation is to simulate the actual application as much as possible .
Four layer connection rate , It is to send connection requests to devices at the highest possible rate , After completing the connection data transmission , And quickly close the connection , To avoid the impact of packet size on the final result , The data transmitted by the connection is set to 64 byte , Unicom system fully tests the number of connections that the equipment can handle per second in this way . For operator users , This indicator is very important for application delivery products to cope with sudden large number of connections . It's a bit like the subway entrance around us , Although the subway transportation capacity is very strong , But if the entrance repair is too small , During rush hours, many passengers still can't walk in smoothly !
边栏推荐
- UI控件Telerik UI for WinForms新主题——VS2022启发式主题
- Batch obtain the latitude coordinates of all administrative regions in China (to the county level)
- Come on, don't spread it out. Fashion cloud secretly takes you to collect "cloud" wool, and then secretly builds a personal website to be the king of scrolls, hehe
- 动态规划思想《从入门到放弃》
- 《安富莱嵌入式周报》第272期:2022.06.27--2022.07.03
- Atomic in golang, and cas Operations
- paddlehub应用出现paddle包报错的问题
- 【JVM调优实战100例】05——方法区调优实战(下)
- [牛客] B-完全平方数
- STM32开发资料链接分享
猜你喜欢
第六篇,STM32脉冲宽度调制(PWM)编程
Part IV: STM32 interrupt control programming
省市区三级坐标边界数据csv转JSON
Force buckle 1037 Effective boomerang
Boot - Prometheus push gateway use
城联优品入股浩柏国际进军国际资本市场,已完成第一步
【JVM调优实战100例】04——方法区调优实战(上)
UI control telerik UI for WinForms new theme - vs2022 heuristic theme
Chapter II proxy and cookies of urllib Library
Dell笔记本周期性闪屏故障
随机推荐
Summary of being a microservice R & D Engineer in the past year
pyflink的安装和测试
批量获取中国所有行政区域经边界纬度坐标(到县区级别)
The MySQL database in Alibaba cloud was attacked, and finally the data was found
[100 cases of JVM tuning practice] 04 - Method area tuning practice (Part 1)
ESP Arduino (IV) PWM waveform control output
SuperSocket 1.6 创建一个简易的报文长度在头部的Socket服务器
第七篇,STM32串口通信编程
[Batch dos - cmd Command - Summary and Summary] - String search, find, Filter Commands (FIND, findstr), differentiation and Analysis of Find and findstr
迈动互联中标北京人寿保险,助推客户提升品牌价值
【批处理DOS-CMD命令-汇总和小结】-跳转、循环、条件命令(goto、errorlevel、if、for[读取、切分、提取字符串]、)cmd命令错误汇总,cmd错误
Dell笔记本周期性闪屏故障
NEON优化:性能优化经验总结
Realize incremental data synchronization between MySQL and ES
斗地主游戏的案例开发
力扣1037. 有效的回旋镖
「笔记」折半搜索(Meet in the Middle)
JTAG principle of arm bare board debugging
Configuring the stub area of OSPF for Huawei devices
View remote test data and records anytime, anywhere -- ipehub2 and ipemotion app