Skip to content

Commit 6aac90c

Browse files
committed
Merge branch 'patch-6' of https://github.com/shpathak-msft/azure-docs into fxl---Update-cache-best-practices-memory-management-
2 parents bfd8e48 + 7351542 commit 6aac90c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

articles/azure-cache-for-redis/cache-best-practices-connection.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,10 +85,10 @@ Apply design patterns for resiliency. For more information, see [How do I make m
8585

8686
## Idle timeout
8787

88-
Azure Cache for Redis currently has a 10-minute idle timeout for connections, so the idle timeout setting in your client application should be less than 10 minutes. Most common client libraries have a configuration setting that allows client libraries to send Redis `PING` commands to a Redis server automatically and periodically. However, when using client libraries without this type of setting, customer applications themselves are responsible for keeping the connection alive.
88+
Azure Cache for Redis has a 10-minute timeout for idle connections. This allows the server to automatically clean up connections that have been leaked or orphaned by their client application. Most Redis client libraries have a built-in capability to send "heartbeat" or "keepalive" commands periodically to prevent connections from being closed even if there are no requests from the client application. If there is any risk of your connections being idle for 10 minutes, configure the "keepalive" interval to a value less than 10 minutes. If your application is using a client library that doesn't have native support for "keepalive" functionality, you can implement it in your application by periodically sending a PING command.
8989

9090
## Next steps
9191

9292
- [Best practices for development](cache-best-practices-development.md)
9393
- [Azure Cache for Redis development FAQ](cache-development-faq.yml)
94-
- [Failover and patching](cache-failover.md)
94+
- [Failover and patching](cache-failover.md)

0 commit comments

Comments
 (0)