Last active
May 31, 2022 17:13
-
-
Save iamabhishek-dubey/fe08f98f313c57ddd930c96f669b7bcc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Config Option | Value | Description | |
---|---|---|---|
maxmemory | 70% of the system | maxmemory should be 70 percent of the system so that it will not take all the resource of the server. | |
maxmemory-policy | volatile-lru | It adds a random key with an expiry time | |
loglevel | notice | Loglevel should be notice so that log will not take too much resource | |
timeout | 300 | There should be a timeout value as well in redis configuration which prevents redis from spending too much time on the connection. It closes the connection of the client if it is ideal for more than 300 seconds. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment