GithubHelp home page GithubHelp logo

Comments (1)

Haaroon avatar Haaroon commented on July 20, 2024

Ok so i used bombardier to test the async-graphql server, the starwars example, with a very simple query to get the name of id 1000, which is luke skywalker, and bombadier shows very impressive numbers of about 300k requests all HTTP 200. but these HTTP 200 are responses from the server, but the server has thus timed out and sends HTTP 200 with an error message inside of it.

I then wrote another benchmark with the "locust" python tool which does the same thing however it can check the result of the benchmark and my suspicious are indeed correct, there are plenty of failures. I ran this on an AWS box with 64 cores and 128GB of ram. Running the request remotely to the server. with 1000 users and a 100 user ramp up, after a few seconds it starts to fail.

I also then wrote yet another benchmark using artillery and again, the server starts to fall over.

In your benchmarking did you check the json response actually contained the correct data?

To add, have I done anything wrong? or am i looking at this the wrong way?

Seems im hitting tcp limits of the machine. but when adjusted i get much better results,, but stills caps around 5k a second

Edit: Clearly its an issue with the aws server i was usign, despite raising the ulimits to allow more open files it still does not allow a larger num of reqs, but if i use a bare metal server it has much more capacity.

from benchmarks.

Related Issues (12)

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.