Skip to content
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

Service discovery does not seem to load balance as expected #81

Open
noorulhaq opened this issue Jun 27, 2017 · 0 comments
Open

Service discovery does not seem to load balance as expected #81

noorulhaq opened this issue Jun 27, 2017 · 0 comments

Comments

@noorulhaq
Copy link

Hi,

I tried the spring-hello-hystrix example. There are three pods running for hello-hystrix with a service on the front.

I can see in the source code of spring-hello-hystrix project that it is trying to call hello-hystrix service with the name. Unfortunately, it does not round robbin the load and always prints the same pod name.

Whereas as when I tried to curl hello-hystrix service multiple times the load is uniformly distributed and I can see each pod name in response one after the other.

Is this behavior correct or am I missing anything here?

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

No branches or pull requests

1 participant