Response time vs took

Elastic search performing very slow it will almost took 3 seconds to return a response, however when i look to took attribute it's within 100 ms.
Not sure why response time is higher? and what does it mean?.

It might be the network time. What are you measuring exactly?

We are observing a slowness on search query, I was looking to optimize a search performance. when I closely look to a search response, I found it response time is always higher compare to took.

Yes you are right. It is related to network latency. I check a complete end to end request. Tcp & SSL handshaking took around 800 ms, Thanks for point it out.

If you are running this from Kibana Dev Tools

Response time is the total round trip time... took is the time of the actual query took when executed on elasticsearch

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.