MongoDB有必要读写分离吗

2026年09月21日 00:07
有1个网友回答
网友(1):

就是配置两个mongodb的配置,然后用 onWriteConnection 这个方法。具体怎么你可以看官网,这里就不复述了