New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
listenerThreaded in Elasticsearch 5.0 #21349
Comments
so i see this being documented as breaking change in 2.x here: https://www.elastic.co/guide/en/elasticsearch/reference/2.3/breaking_20_java_api_changes.html#_automatically_thread_client_listeners But we still run into the same problem as mentioned in #10766 where most of the time is actually spent on |
Also we are using |
Threads in that state are basically parked, waiting for work to do. This isn't a bug or a feature request so I'm closing it. If you'd like to discuss it further head to discuss.elastic.co. |
Sure @nik9000 .. Let me take this over to discuss.elastic.co. The problem is not them being parked .. the problem is transport client being the bottle neck of not being able to handle many concurrent requests. VisualVM profiler tells us that almost all the time, the threads are waiting on the Here's the gatling report. |
I am sad that met with this problem. |
Elasticsearch version: 5.0
Plugins installed: [x-pack]
JVM version: 1.8
OS version: Mac OS
Description of the problem including expected versus actual behavior: We were doing some performance test with Gatling and XPack transport client on localhost. The results were poles apart when the number of concurrent requests were increased (about 60 tps).
On profiling (visualVM) we found out that the bottle neck was
BaseFuture$Sync.get()
. On digging more I found this post here: #10766I wanted to try out the exact same scenario with
listenerThreaded(true)
but seems like it is not available in Elasticsearch 5.0 transport client?So, is that API still around to try? or is there a workaround?
The text was updated successfully, but these errors were encountered: