Does Railway support multiple redis databases
Basically Redis supports splitting 1 instance in 16 databases. Does Railway support this feature too?
Solution:Jump to solution
yes it does, but see luna's message below
https://discord.com/channels/713503345364697088/1112745141795557416/1112950634006712402...
8 Replies
Project ID:
N/A
N/A
Solution
yes it does, but see luna's message below
https://discord.com/channels/713503345364697088/1112745141795557416/1112950634006712402
For what its worth this is considered really bad practise by redis.
Although multiple databases work fine, this has become a deprecated feature, so we do not recommend that you use it in production. It has been deprecated because it is, in general, better to launch multiple Redis servers on the same machine rather than using multiple databases. Redis is single threaded.
oh i did not know this, thank you! 🙂
Yea but I'm currently testing on GitHub codespaces so I can't really do that
why not just use a single db with a prefix?
i'd like to keep things separated