Giter VIP home page Giter VIP logo

Comments (3)

 avatar commented on August 23, 2024

Seems ok with the --no-web flag. RPS on the server and Locust are about 80 RPS out.

from boomer.

myzhan avatar myzhan commented on August 23, 2024
  1. Hatch rate is the growth rate of goroutines in boomer, or gevent coroutines in locust.
  2. Request increase rate is the growth rate of request that boomer can generate per second.

If you want precise RPS control, --request-increase-rate is enough.

go run urlbash.go --request-increase-rate 10 --max-rps 1000

And set a 1000 users with a hatch rate of 1000.

$ go run server.go
2018/06/25 17:58:16 Rate: 1
2018/06/25 17:58:17 Rate: 10
2018/06/25 17:58:18 Rate: 21
2018/06/25 17:58:19 Rate: 29
2018/06/25 17:58:20 Rate: 41
2018/06/25 17:58:21 Rate: 49
2018/06/25 17:58:22 Rate: 61
2018/06/25 17:58:23 Rate: 69
2018/06/25 17:58:24 Rate: 80
2018/06/25 17:58:25 Rate: 90
2018/06/25 17:58:26 Rate: 100

BTW, stats data is reported to locust every 3 second, acting like a locust SlaveRunner in python. The RPS in Web UI is an average value. See this https://github.com/locustio/locust/blob/master/locust/stats.py#L307

from boomer.

 avatar commented on August 23, 2024

Thanks for the clarification. I'll think I'll run with --no-web and amend the calculations on the go server.

from boomer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.