I have deployed cometd 3.0.1 on tomcat 7. I have planned to do load testing with this setup.
我在tomcat 7上部署了cometd 3.0.1。我计划用这个设置进行负载测试。
Can anyone help on how to go about this?
任何人都可以帮忙解决这个问题吗?
Will testing using demos given here will be good enough? (I will start my cometd setup and try to connect these demo example to my cometd server deployed in tomcat)
使用这里给出的演示测试是否足够好? (我将启动我的cometd设置并尝试将这些演示示例连接到我在tomcat中部署的cometd服务器)
1 个解决方案
#1
CometD ships benchmark modules with load generation tools, see https://github.com/cometd/cometd/blob/master/README.md and the modules at https://github.com/cometd/cometd/tree/master/cometd-java/cometd-java-benchmark.
CometD提供了带有负载生成工具的基准模块,请参阅https://github.com/cometd/cometd/blob/master/README.md以及https://github.com/cometd/cometd/tree/master/cometd上的模块-java /的cometd-java的基准。
You can reuse the client benchmark module as is, but for the server you will need to replicate in Tomcat what has been done on the server benchmark module.
您可以按原样重用客户端基准测试模块,但对于服务器,您需要在Tomcat中复制已在服务器基准测试模块上完成的操作。
If you need to build a custom load test tool with your own messages and logic, then by all means start by looking very carefully at what the CometD benchmark modules do, and how they do it. They are the result of years of tuning and best practices.
如果您需要使用自己的消息和逻辑构建自定义负载测试工具,那么首先要仔细查看CometD基准模块的功能以及它们是如何执行的。它们是多年调整和最佳实践的结果。
#1
CometD ships benchmark modules with load generation tools, see https://github.com/cometd/cometd/blob/master/README.md and the modules at https://github.com/cometd/cometd/tree/master/cometd-java/cometd-java-benchmark.
CometD提供了带有负载生成工具的基准模块,请参阅https://github.com/cometd/cometd/blob/master/README.md以及https://github.com/cometd/cometd/tree/master/cometd上的模块-java /的cometd-java的基准。
You can reuse the client benchmark module as is, but for the server you will need to replicate in Tomcat what has been done on the server benchmark module.
您可以按原样重用客户端基准测试模块,但对于服务器,您需要在Tomcat中复制已在服务器基准测试模块上完成的操作。
If you need to build a custom load test tool with your own messages and logic, then by all means start by looking very carefully at what the CometD benchmark modules do, and how they do it. They are the result of years of tuning and best practices.
如果您需要使用自己的消息和逻辑构建自定义负载测试工具,那么首先要仔细查看CometD基准模块的功能以及它们是如何执行的。它们是多年调整和最佳实践的结果。