-
Notifications
You must be signed in to change notification settings - Fork 5
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
Displayed time in Kreya is significantly longer than the actual gRPC API response time. #130
Comments
Could you post the content of the "Trace" tab (with confidental information removed)? Kreya measures the total time it takes to call the gRPC method, which includes things like DNS resolution. But a discrepancy of over 3 seconds is indeed quite large. |
@CommonGuy, the Trace tab is empty. Does it need to be explicitly enabled? There should be no DNS resolution, I am running everything on Localhost for now: |
Very strange. Traces should always be displayed. Localhost still uses DNS resolution and may be a cause for delays, see #78. Is the behaviour consistent? What happens if you change the endpoint to |
If you invoke the operation multiple times, does the delay persist? Or is it only with the first call? If you first select the Trace tab and then send the operation, does anything show up at all? Could you share the contents of |
@CommonGuy As a further test, I uninstalled Kreya, deleted the %APPDATA%\Kreya folder, and verified that C:\Program Files\Kreya was deleted during uninstall. I then downloaded a clean copy of Kreya and installed it. After this there was zero change in behavior:
|
This behaviour also happens for me. The Kreya response time has ~+3s added to it. If it helps debug any further, when I tried to change my connection to an ip address I had a failed SSL certificate warning which also responded in +3s I also have no Trace information and no recently updated kreya.log file. I've just updated today to v1.10.0. |
So far, I wasn't able to reproduce this... Do you have any special configuration on your machine that you know of? Are the gRPC servers which you are calling hosted locally or on a different machine? |
I have docker+wsl2 installed locally and I have multiple network interfaces. I haven't seen any kind of local connection delays outside of Kreya though? I'm also not seeing anything in the Trace tab for both failed or successful queries? |
We just released Kreya 1.10.1, which should fix the delayed response time. If you still do not see traces in the Trace tab, please open a new separate issue so we can investigate that (couldn't reproduce it yet). |
Describe the bug
Displayed time in Kreya is significantly longer than the actual gRPC API response time. The timer in Kreya continues to increase after the results are displayed.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
I would expect the displayed time in Kreya to be closer to the logged API response time (with some overhead).
Screenshots
Time displayed in Kreya:
Response time in console log:
Environment (if possible, copy the information from the error dialog or the About menu):
{
"kreyaVersion": "1.9.0",
"platform": "Win32",
"userAgent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36 Edg/109.0.1518.78"
}
Additional context
The displayed response time in BloomRPC is much closer to the logged time:
The text was updated successfully, but these errors were encountered: