I want to use Redis as a cache repository for multiple applications on the same physical machine.
I know at least two ways to do this:
- by running multiple instances of Redis on different ports;
- using different Redis databases for different applications.
But I donβt know which one is better for me.
What are the advantages and disadvantages of these methods?
Is there a better way to do this?
source share