Code Monkey home page Code Monkey logo

Comments (6)

fafhrd91 avatar fafhrd91 commented on May 23, 2024

you can try techempower example

from examples.

Firstyear avatar Firstyear commented on May 23, 2024

Where is the techempower example? It would be good if you could provide a reference to this, because it doesn't seem to be part of this example repo ...

from examples.

Firstyear avatar Firstyear commented on May 23, 2024

https://github.com/TechEmpower/FrameworkBenchmarks/tree/master/frameworks/Rust/actix <<-- Is what I assume you mean here.

from examples.

 avatar commented on May 23, 2024

as a result, it run much better

$ wrk -t12 -c400 -d15s http://localhost:8080/
Running 15s test @ http://localhost:8080/
  12 threads and 400 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency    33.13ms    8.94ms 270.67ms   74.96%
    Req/Sec     0.99k   169.83     3.65k    80.23%
  175202 requests in 15.07s, 18.21MB read
Requests/sec:  11622.82
Transfer/sec:      1.21MB

from examples.

 avatar commented on May 23, 2024

As compare

vert.x + kotlin example

$ wrk -t12 -c400 -d30s http://127.0.0.1:8080
Running 30s test @ http://127.0.0.1:8080
  12 threads and 400 connections
  Thread Stats   Avg      Stdev     Max   +/- Stdev
    Latency     3.47ms    2.33ms 220.09ms   98.18%
    Req/Sec     9.75k     1.55k   59.36k    96.70%
  3474947 requests in 30.10s, 172.33MB read
Requests/sec: 115448.83
Transfer/sec:      5.73MB


from examples.

fafhrd91 avatar fafhrd91 commented on May 23, 2024

@netroby did you build actix example in release mode?

from examples.

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.