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