P
P
PAJCH2015-12-07 11:47:15
MongoDB
PAJCH, 2015-12-07 11:47:15

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

2 answer(s)
P
Pavel Ivanov, 2015-12-08
@eastywest

MongoDB supports sharding out of the box, this is well documented in the documentation.

F
FaionWeb, 2015-12-09
@FaionWeb

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 question

Ask a Question

731 491 924 answers to any question