[英]How to load test an asynchronous pipeline?
I have the following pipeline in AWS我在 AWS 中有以下管道
API-Gateway -> Lambda -> Kafka(Amazon MSK) -> Consumers
I need to load test the entire pipeline and each component in the pipeline (to identify bottlenecks)我需要对整个管道和管道中的每个组件进行负载测试(以识别瓶颈)
I don't have any prior experience in load testing.我之前没有任何负载测试经验。 So, didn't know where to start.所以,不知道从哪里开始。 Some blogs mentioned JMeter
can be used to do the load testing.一些博客提到JMeter
可以用来做负载测试。 But later got to know that the pipeline is asynchronous and it can't be done using JMeter
.但是后来才知道pipeline是异步的,用JMeter
是不行的。
How can I load test the pipeline?如何对管道进行负载测试? Is there any standard way to do it?有没有标准的方法来做到这一点?
Any help is greatly appreciated.任何帮助是极大的赞赏。 Thanks!谢谢!
You can use any load testing tool which is capable of sending message to the API gateway and then reading it from Kafka.您可以使用任何能够将消息发送到 API 网关然后从 Kafka 读取消息的负载测试工具。
When it comes to JMeter
it's capable of both:当涉及到JMeter
时,它有两种能力:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.