fixes #1524#1525
Conversation
|
The amount of throuput we do, we've run into this issue numerous times, and it effects us hitting our SLA. So yes, this has had a significant impact on performance. In an ideal world, there wouldn't be so many errors, but they are out of our control. |
|
Hi @bbakerman, thanks for looking at this. I was working with @wasche on this and at the time I had hooked up VisualVM to get some CPU profiles. The way I ran this test was to throw a bunch of queries at our GraphQL service. Each query fetched a few hundred items from one service, and then went to a few supplementary services to fill in the fields for those items. I took one of those supplementary services offline to see how the system responded. The issue we were seeing is that if one of those services went down, GraphQL's CPU usage would spike and the service would be severely degraded. Sadly I don't have the full results anymore but I do have this screenshot (below) showing that within my test, of all the time used by I had added a workaround in our service when we were running 9.2, but now that we're upgrading to 12.0, our workaround no longer works (we were relying on the public constructor of |
* fixes graphql-java#1524 * fixes graphql-java#1524


before:
AddError.benchMarkAddError ss 5 1.079 ± 0.064 s/op
after:
AddError.benchMarkAddError ss 5 0.131 ± 0.059 s/op