I'm using Rails with redis.
From the introduction of Redis, I found such information:
start redis server:
redis-server
use redis client:
> redis-cli
redis> set key value
OK
redis> get key
"value"
From the sample, I have a question:
Is a redis instance can only work for 1 project? You can see, there is no "database" or "collection" or similar things. If two different projects use the same redis, they may change the same key to invalid value.
So, do I need to create different instances with different ports for different Rails projects?