Skip to content
This repository has been archived by the owner on Apr 27, 2019. It is now read-only.

/v1/agent/services need over 200ms #99

Open
mojinxun opened this issue Oct 30, 2017 · 3 comments
Open

/v1/agent/services need over 200ms #99

mojinxun opened this issue Oct 30, 2017 · 3 comments

Comments

@mojinxun
Copy link

have some solution?
first time when I get services, the requesttime all over 200ms

@highlyunavailable
Copy link
Contributor

Hi,

Thanks for reporting this. Can you let me know if you use cURL to request the same URL from Consul, does it report back in 200ms-ish or is it faster? Also, is this against a local agent or something else?

@mojinxun
Copy link
Author

Thanks for your reply.

Here is the test result:

url: http://127.0.0.1:8500/v1/agent/services
cURL: 5ms
_client.Agent.Services().Result.RequestTime: 150 ~ 180 ms

Oh... Why I can't upload the png....

@mojinxun
Copy link
Author

Sorry, I should to say, this result based 0.7.2.3

I tried the git master, about 80 ~ 110ms

something good !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants