Replies: 1 comment
-
Hello @Veljen I do not recommend using one Redis database for multiple applications - unless the apps share data, each should have it's own db. The reasoning is that you don't want the different apps competing on the database's resources, and do want to scale each app independently. If you're still going with a single db, I'd say prefixing keys per app is slightly better. The reason is that should you want to use Redis Cluster (not sentinel) in the future, you'll learn that it doesn't support numbered/index databases making the migration harder. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi Team,
We have single redis cluster with 4 pods with sentinel. We are planning to use this redis cluster as shared service for the different application.
Is it recommended to use the index number with useracl for each application.. say
image
is using index 1,video
is using index 2 .. etc..I heard some are using with prefix namespace/keyspace and use the default index only. we need to deploy this for production. can you kindly advice on this ?
Beta Was this translation helpful? Give feedback.
All reactions