Comments (1)
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)
- Dependency Dashboard
- Benchmark python strawberry HOT 2
- Benchmark Elixir / Absinthe HOT 1
- GraphQL Yoga results HOT 2
- Carry over to reality HOT 1
- Benchmarks don't run
- OCaml and Haskell examples
- Benchmark for Sangria stuck
- Warmup servers prior to executing benchmarks HOT 2
- Server `Date` is missing from crystal benchmarks
- Use codespaces for Benchmarks HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from benchmarks.