Update spring-cloud-commons.adoc (#991)

This commit is contained in:
Tiffany
2021-07-27 05:26:29 -04:00
committed by GitHub
parent 08b2e60704
commit b41d197c78

View File

@@ -914,7 +914,7 @@ The default setup includes `ttl` set to 35 seconds and the default `initialCapac
You can also altogether disable loadBalancer caching by setting the value of `spring.cloud.loadbalancer.cache.enabled`
to `false`.
WARNING: Although the basic, non-cached, implementation is useful for prototyping and testing, it's much less efficient than the cached versions, so we recommend always using the cached version in production.
WARNING: Although the basic, non-cached, implementation is useful for prototyping and testing, it's much less efficient than the cached versions, so we recommend always using the cached version in production. If the caching is already done by the `DiscoveryClient` implementation, for example `EurekaDiscoveryClient`, the load-balancer caching should be disabled to prevent double caching.
=== Zone-Based Load-Balancing