Giter Club home page Giter Club logo

gatling-grpc's People

Contributors

macchiatow avatar thinkerou avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

gatling-grpc's Issues

performance imporve

service resource have many rich.

Get the following data using Helloworld program which have not handle db/cache:

  • Async: QPS < 2.5w
  • Sync: QPS < 6k
  • BUT use gatling test http, QPS > 5w
================================================================================
---- Global Information --------------------------------------------------------
> request count                                    1000000 (OK=1000000 KO=0     )
> min response time                                    100 (OK=100    KO=-     )
> max response time                                  39059 (OK=39059  KO=-     )
> mean response time                                 21825 (OK=21825  KO=-     )
> std deviation                                       6123 (OK=6123   KO=-     )
> response time 50th percentile                      22521 (OK=22522  KO=-     )
> response time 75th percentile                      24805 (OK=24858  KO=-     )
> response time 95th percentile                      28557 (OK=28556  KO=-     )
> response time 99th percentile                      32369 (OK=32368  KO=-     )
> mean requests/sec                                22222.222 (OK=22222.222 KO=-     )
---- Response Time Distribution ------------------------------------------------
> t < 800 ms                                         22199 (  2%)
> 800 ms < t < 1200 ms                               11107 (  1%)
> t > 1200 ms                                       966694 ( 97%)
> failed                                                 0 (  0%)
================================================================================

================================================================================
---- Global Information --------------------------------------------------------
> request count                                     200000 (OK=200000 KO=0     )
> min response time                                      0 (OK=0      KO=-     )
> max response time                                    453 (OK=453    KO=-     )
> mean response time                                     0 (OK=0      KO=-     )
> std deviation                                          1 (OK=1      KO=-     )
> response time 50th percentile                          0 (OK=0      KO=-     )
> response time 75th percentile                          0 (OK=0      KO=-     )
> response time 95th percentile                          1 (OK=1      KO=-     )
> response time 99th percentile                          1 (OK=1      KO=-     )
> mean requests/sec                                5882.353 (OK=5882.353 KO=-     )
---- Response Time Distribution ------------------------------------------------
> t < 800 ms                                        200000 (100%)
> 800 ms < t < 1200 ms                                   0 (  0%)
> t > 1200 ms                                            0 (  0%)
> failed                                                 0 (  0%)
================================================================================

throttle not work in gatling-grpc plugin

I write "setUp" like this, but throttle not work, the Running really produce 777 request, as expectation is reachRps*holdFor = 50 request. why? please answer my question, thank you.

setUp(scn.inject(atOnceUsers(777)))
.throttle(
reachRps(5) in (1 second),
holdFor(10 seconds)
)
.protocols(protocol)

run error

according to your readme, the follow errors:

➜  gatling-charts-highcharts-bundle-2.3.1 sh bin/gatling.sh
GATLING_HOME is set to /Users/thinkerou/Downloads/gatling-charts-highcharts-bundle-2.3.1
16:30:02.222 [ERROR] i.g.c.ZincCompiler$ - /Users/thinkerou/Downloads/gatling-charts-highcharts-bundle-2.3.1/user-files/simulations/computerdatabase/BasicGrpcSimulation.scala:22: not found: value FundsServiceGrpc
16:30:02.224 [ERROR] i.g.c.ZincCompiler$ -       FundsServiceGrpc.bindService((_: FundsRequest) => Future.successful(FundsResponse(300)),ExecutionContext.global))
16:30:02.224 [ERROR] i.g.c.ZincCompiler$ -       ^
16:30:02.225 [ERROR] i.g.c.ZincCompiler$ - /Users/thinkerou/Downloads/gatling-charts-highcharts-bundle-2.3.1/user-files/simulations/computerdatabase/BasicGrpcSimulation.scala:22: not found: type FundsRequest
16:30:02.225 [ERROR] i.g.c.ZincCompiler$ -       FundsServiceGrpc.bindService((_: FundsRequest) => Future.successful(FundsResponse(300)),ExecutionContext.global))
16:30:02.225 [ERROR] i.g.c.ZincCompiler$ -                                        ^
16:30:02.226 [ERROR] i.g.c.ZincCompiler$ - /Users/thinkerou/Downloads/gatling-charts-highcharts-bundle-2.3.1/user-files/simulations/computerdatabase/BasicGrpcSimulation.scala:22: not found: value FundsResponse
16:30:02.226 [ERROR] i.g.c.ZincCompiler$ -       FundsServiceGrpc.bindService((_: FundsRequest) => Future.successful(FundsResponse(300)),ExecutionContext.global))
16:30:02.226 [ERROR] i.g.c.ZincCompiler$ -                                                                           ^
16:30:02.230 [ERROR] i.g.c.ZincCompiler$ - /Users/thinkerou/Downloads/gatling-charts-highcharts-bundle-2.3.1/user-files/simulations/computerdatabase/BasicGrpcSimulation.scala:26: not found: type FundsRequest
16:30:02.230 [ERROR] i.g.c.ZincCompiler$ -   val feeder: Feeder[FundsRequest] = Iterator.continually(Map(
16:30:02.230 [ERROR] i.g.c.ZincCompiler$ -                      ^
16:30:02.312 [ERROR] i.g.c.ZincCompiler$ - /Users/thinkerou/Downloads/gatling-charts-highcharts-bundle-2.3.1/user-files/simulations/computerdatabase/BasicGrpcSimulation.scala:27: not found: value FundsRequest
16:30:02.313 [ERROR] i.g.c.ZincCompiler$ -     ("fundsRequest", FundsRequest(Seq("adr")))
16:30:02.313 [ERROR] i.g.c.ZincCompiler$ -                      ^
16:30:02.621 [ERROR] i.g.c.ZincCompiler$ - 5 errors found
16:30:02.623 [ERROR] i.g.c.ZincCompiler$ - Compilation crashed
sbt.compiler.CompileFailed: null

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.