You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's practical but not recommended. From the perspective of data security, you should use different MongoDB clusters for different environments.
If you still want to use the same MongoDB cluster for different environments, remember to configure different databases for different environments. e.g.:
mongodb://localhost:27017/my-app-qa
mongodb://localhost:27017/my-app-uat
mongodb://localhost:27017/my-app-prod
那么redis使用同一个,database也使用同一个是否会有问题?还是redis必须隔离?
It's not practical to use the same Redis instance for different environments because some keys will conflict.
Though Redis supports switching to different databases (0~15), we don't plan to support it because it is an error-prone practice for engineers, and it's insecure too, while deploying another Redis instance/cluster should be quite easy.
So it's recommended to deploy another Redis instance/cluster.
生产环境和预发环境使用同一个mongodb,注册中心使用不同的注册中心,那么redis使用同一个,database也使用同一个是否会有问题?还是redis必须隔离?
The text was updated successfully, but these errors were encountered: