0

My HTTP server can't take load tests... It gives really high latency when multiple connections are made.

Server Configuration: 5 instances of (CPU 0.5vCore, Memory 512MB, Disk 20GB) A load balancer 10G shared bandwidth

When I transfer a 3.5mb zip, it takes about 1second when there is only one connection. However, when over 30 connections are made, it goes up to 20~50 seconds.

I am testing with JMeter on my laptop. Is there a possibility that my testing environment interferes with the load-testing?

If so, what would be a solution to improve my testing environment?

4

1 回答 1

2

首先,您需要监控并确定问题。

从获取这四个层的信息开始:

  • CPU使用率
  • 内存使用情况
  • 网络使用
  • 输入输出使用

所有这些都在操作系统层上。(监控工具会因您的操作系统而异)。

一旦你有了这些数据,你就可以缩小问题路径(CPU 限制、网络延迟、I/O 延迟或其他任何东西),答案就会出现。也这样做(如果这是你第一次尝试测试你的应用程序)将帮助您获得有关您的环境和一般应用程序的扩展信息。

于 2013-09-03T07:07:33.053 回答