R
Railway•2y ago
iKingNinja

Does Railway support multiple redis databases

Basically Redis supports splitting 1 instance in 16 databases. Does Railway support this feature too?
8 Replies
Percy
Percy•2y ago
Project ID: N/A
iKingNinja
iKingNinjaOP•2y ago
N/A
Solution
luna
luna•2y ago
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.
Brody
Brody•2y ago
oh i did not know this, thank you! 🙂
iKingNinja
iKingNinjaOP•2y ago
Yea but I'm currently testing on GitHub codespaces so I can't really do that
luna
luna•2y ago
why not just use a single db with a prefix?
iKingNinja
iKingNinjaOP•2y ago
i'd like to keep things separated
Want results from more Discord servers?
Add your server