Hi Dinos
Two ways to achieve your requirement:
1. Have multiple redis instances run on the same machine on different ports.
You can run multiple redis instances on the same machine, each
instance listening on a different port. Open redis.conf and search for
port. Create a separate conf file for each instance and specify a
different port number in each conf file. You may have to give the name
of the corresponding config file as a config parameter while starting
redis-server(s).
Each client application will have to "connect" to the specified redis
instance on the assigned port.
2. Have multiple databases on the same instance.
Redis supports multiple databases, by default 16. Please go through
the below link to get more information
http://rediscookbook.org/multiple_databases.html
In this case each application "selects" the right database after
connecting to the same server, similar to the mysql way.
Regards
Saradhi
> --
> You received this message because you are subscribed to the Google Groups
> "Redis DB" group.
> To view this discussion on the web visit
>
https://groups.google.com/d/msg/redis-db/-/juPBnSo40YEJ.
> To post to this group, send email to
redi...@googlegroups.com.
> To unsubscribe from this group, send email to
>
redis-db+u...@googlegroups.com.
> For more options, visit this group at
>
http://groups.google.com/group/redis-db?hl=en.