mongoose - Mongodb queires are slow as write and read goes to primary -
i have 1 primary , 2 replicas created. issue need realtime info , info needs upto date client. so, in order accomplish default reads goes primary. slowing performance reads , writes going primary. please allow me know there other way can improve performance balancing load or other way?
replica set used deal failovers , in case don't need real time data, secondary can serve read operations.
in case, improve performance, need set sharded clusters instead. see in mongo difference between sharding , replication?
mongodb mongoose mongodb-query
No comments:
Post a Comment