You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We started to see performance problems in our consul infrastructure because we observed all our java microservices are using the full pool of connections. We are using sping boot cloud consul library that uses your "consul-api" library as an interface with consul.
Running netstat in consul host, we can observe all of the servers are in the maximum number of connections allowed by this library:
Hi,
We started to see performance problems in our consul infrastructure because we observed all our java microservices are using the full pool of connections. We are using sping boot cloud consul library that uses your "consul-api" library as an interface with consul.
Running netstat in consul host, we can observe all of the servers are in the maximum number of connections allowed by this library:
Spring-cloud-consul have an issue closed that seems related to this issue spring-cloud/spring-cloud-consul#549
After a further reading around the Internet, we found this issue in httpclient library https://issues.apache.org/jira/browse/HTTPCLIENT-2007
Seems that httpclient library is not reusing the https connections, so we implemented:
With this patch, the connections used by spring-boot-consul dropped down from 500 to 2 after 30 minutes of testing.
We are not experts with the httpclient library but seems there's some problem with the implementation of the pool.
The text was updated successfully, but these errors were encountered: