使用siege vs wrk进行负载测试和基准测试 [英] Load Testing and Benchmarking With siege vs wrk

查看:293
本文介绍了使用siege vs wrk进行负载测试和基准测试的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在寻找可以帮助我进行负载测试和基准测试的工具.我发现了一些类似的夫妇: https://github.com/wg/wrk

I have been looking around for tools that can help me to do load testing and benchmarking. I found couples like: https://github.com/wg/wrk , http://www.joedog.org/siege-home/ , https://github.com/rakyll/boom . I'm wondering if anyone has any experience with these tools and have any feedback pros vs cons of these tools. My load stress will include different test cases using DELETE, PUT, GET, POST... headers

谢谢

推荐答案

我使用了wrk和siege,siege是一个非常易于使用的工具,但是我不确定是否可以使用siege测试DELETE或PUT.

I've used wrk and siege, siege is a really easy to use tool, but I'm not sure if you can test DELETE or PUT with siege.

Wrk可以使用提供的lua脚本生成请求,因此DELETE和PUT不会成为问题. AND wrk是一种可以超越NGINX静态文件服务器的工具,因此我认为它足够快进行通用负载测试.

Wrk can use provided lua script to generate requests, so DELETE and PUT won't be a problem. AND wrk is a tool that can overpower NGINX static file server, so I think it's fast enough for general purpose load testing.

我从未使用过@Direvius建议的boom或Yandex.tank,基本上是因为wrk很简单并且可以满足我们的需求.但是JMeter对我来说太复杂了.

I've never used boom or Yandex.tank suggested by @Direvius, basically because wrk is simple enough and fit our needs. But JMeter is too complex for me.

这篇关于使用siege vs wrk进行负载测试和基准测试的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆