Eureka Parameter Configuration -> Server-side parameters

1, the basic parameters

parameter Defaults Explanation
eureka.server.enable-self-preservation
true Whether to enable self-protection mode
eureka.server.renewal-percent-threshold
0.85 Threshold specified number of minutes per contract received
eureka.instance.registry.expected-number-of-renews-per-min (obsolete)
1 Specifies the number of times per minute required to renew received, the actual value which is written in the dead to count * 2, the other will be updated
eureka.server.renewal-threshold-update-interval-ms
15 minutes UpdateRenewalThreshold timing of scheduling of tasks specified frequency to dynamically update expectedNumber OfRenewsPerMin, numberOfRenewsPerMinThreshold value
eureka.server.eviction-interval-timer-in-ms
60*1000 EvictionTask specified frequency scheduling regular tasks for instance remove expired

2, response cache parameters (Eureka Server in order to improve their performance REST API interface provided two buffers, one based readOnlyCacheMap ConcurrentMap, one is based on the Guava Cache readWriteCacheMap)

parameter Defaults Explanation
eureka.server.use-read-only-response-cache
true Whether to use read-only response-cache
eureka.server.response-cache-update-interval-ms
30*1000 Provided CacheUpdateTask schedule interval for updating data from readWriteCacheMap readOnlyCacheMap, only eureka.server.use-read-only-response-cache is true when it is to take effect
eureka.server.response-cache-auto-expiration-in-seconds
180 Set expireAfterWrite parameters readWriteCacheMap, specifying how long after writing expired

3, peer-related parameters

parameter Defaults Explanation
eureka.server.peer-eureka-nodes-update-interval-ms
10 minutes PeersUpdateTask specified scheduled time interval for refreshing the configuration information peerEurekaNodes node (eureka.client.serviceUrl associated zone configuration) from the configuration file
eureka.server.peer-eureka-status-refresh-time-interval-ms
30*1000 Specify the information to update the status of peer nodes interval

4, http parameters

parameter Defaults Explanation
eureka.server.peer-node-connect-timeout-ms
200 Connection timeout
eureka.server.peer-node-read-timeout-ms
200 Read timeout
eureka.server.peer-node-total-connections
1000 The maximum number of active connections pool (MaxTotal) connection
eureka.server.peer-node-total-connections-per-host
500 Maximum number of connections for each host can be used (DefaultMaxPerRoute)
eureka.server.peer-node-connection-idle-timeout-seconds
30 Connection idle time connections in the pool (connectionIdleTimeout)

Guess you like

Origin www.cnblogs.com/idoljames/p/11487750.html