Thanks a lot for your help.
I did not know the concept of database inside Redis.
I have tried to configure the Meteor.Settings of my first app like this :
We also reuse Redis instances between environments by using separate databases. I’m not sure about the port/host/database config, we just use a redis://-based URL in the url field and a /N suffix.
They advise to use separate instance/server for different database. I think for the moment i will use 2 instances on 2 different ports.
Thanks @radekmie and @rjdavid
We do have two Redis instances: one for production and one for non-production environments (more than 5). I agree that performance wise it’d be better to have one each, but… The production one uses roughly 2% CPU and 60MB of RAM (and we use it for Apollo Server cache as well).
Hello,
I would also prefer to have only one server for all my instances (not for performance reason but more for maintenance and simplicity of management reasons) but i was not able to isolate messages as you did. I tried using different db but when I change a document in one app I saw the other app receiving the update notification as well.
I’m wondering now: @rjdavid are you using oplogtoredis or changestream-to-redis? Because we are, and maybe there’s a problem with the builtin Redis publisher?
We are using only redis-oplog. I need to ask our DevOps what they did since I realized we moved all our instances to ioredis and are running a forked version. For what it’s worth, we have a group of apps using 7 shared redis DBs in production.