Answer the question
In order to leave comments, you need to log in
mongodb scaling?
Hello! Can you please tell me how to implement the mongodb structure? For example, I will record about a billion messages per day (the total number of messages of all users per day), how should I record them to reduce the load, but I will not record them in one collection, etc., how to implement the correct approach for recording such kind of data?
Answer the question
In order to leave comments, you need to log in
MongoDB supports sharding out of the box, this is well documented in the documentation.
habrahabr.ru/post/217393 excellent article on practice
https://docs.mongodb.org/manual/tutorial/deploy-re... documentation on the replica, you can also find jsman.ru/mongo-book/Glava
sharding there -7-Proizvoditelnost-i-ins... Chapter 7 of a great book for a beginner to get into the scaling process
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question