从根本上讲,我想确保我们的直播节目一次就能有1万名观众。以下几项工作正在顺利进行:
这样做可以用本地机器完成,我读本地机器不能产生这么多的请求。
我是否需要购买额外的高级平台,或它可以做单独使用计量器。
发布于 2021-10-18 06:14:15
Do this can be done using local machine -我们不知道,这取决于你的机器硬件规格。我将采取以下步骤:- set up monitoring of the machine's resources consumption like CPU, RAM, etc. If you don't have better alternatives - you can go for [JMeter PerfMon Plugin](https://www.blazemeter.com/blog/how-monitor-your-server-health-performance-during-jmeter-load-test)- make sure to follow [JMeter Best Practices](https://jmeter.apache.org/usermanual/best-practices.html)- start with 1 virtual user and gradually increase the load till 10 000 at the same time looking at the resources consumption- when any of monitored resources starts exceeding reasonable threshold, i.e. 90% of total available capacity stop the test and check how many users were online at this stage via i.e. [Active Threads Over Time](https://jmeter-plugins.org/wiki/ActiveThreadsOverTime/) plugin--这是您可以从特定的机器中模拟特定测试的用户数量。如果它是10,000 -你可以使用一个,如果它是更少-除以10,000你能够模仿的用户的数量,这将是你需要的硬件规格的机器的数目,用于测试
https://stackoverflow.com/questions/69610845
复制相似问题