利用网络服务器的能力收集统计数据的方法
我正在尝试制作一个用于网络服务器负载平衡的模拟工具。因此,我们的系统可以处理网络服务器的基本参数是特定服务器可以处理的最大负载。因此,为了模拟此类特定服务器,我需要能够对我已设置的 Web 服务器进行 DDOS,然后根据其 CPU 和服务器收集一些数据。 RAM 使用情况(我们的模拟系统也将能够在 JSP 和 PHP 服务器之间提供这些数据)。
我怎样才能提出一个模型以便我可以对其进行编码?可能是某个网络服务器可以处理的最大请求数之类的东西。
I'm trying to make a simulation tool for load balancing with web servers. So the basic parameters that our system can handle with web servers are the maximum load that a specific server that can handle. So to simulate such specific server, I need to be able to DDOS a web server that I've set up and then gather some data in response to its CPU & RAM usage (our simulation system will also be able to provide these data between JSP and PHP Servers).
How can I come up with a model so that I can code it? Probably the stuffs like maximum requests that a certain web server can handle.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
测试最大负载的一个方法就是我们 Jmeter http://jmeter.apache.org/
相当容易测试一些简单的东西。但是,如果您想对服务器进行负载测试,您需要确保您正在使用的客户端不会成为限制因素。所以要定期检查资源(cpu、内存、网络)。 Jmeter还具有从多台计算机同步测试的能力。
Jmeter 还支持数据收集,并且有一些开箱即用的漂亮图表:-)。
A way to test the maximum load is to us Jmeter http://jmeter.apache.org/
It is quite easy to test some simple things. However if you want to load test the server you need to make sure that the client you are using doesn't become the limiting factor. So check the resources (cpu, memory, network) regularly. Jmeter also has the ability to synchronize test from more than one computer.
Jmeter also supports data gathering and has some nice graphs out of the box :-).