S
S
Stricker2014-12-30 15:59:41
PHP
Stricker, 2014-12-30 15:59:41

What is the best way to store message history \ game history?

Hello everyone. In general, I wondered how best and best to store the history of messages and the history of games in the game. Store as I think I will be in MongoDB where the rest of the main data is. And what is the best way to store them and is it worth storing them in Mongo at all? It is supposed to store simply for both users the same history, without the possibility of deleting the selected messages. But with the history of games, which stores at least the text of characters for 1000 well, and small values ​​​​such as the user ID. It is supposed to store them in any form and subsequent work with this data on the client.
Tell me which is better.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Vasiliev, 2014-12-31
@qmax

Document size limit in mongo - 16Mb
The main thing is not to forget to create the necessary indexes.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question