N
N
nepster-web2014-01-27 02:27:41
MongoDB
nepster-web, 2014-01-27 02:27:41

Transactions in Mongo

There is a node.js game and a Mongo database.
Sometimes there is such a bug that the game hangs due to packet loss (most likely this happens when the host fails with the connection and packets are lost). This happens quite often, for example, if you play 20 parties, then in 2 - 3 such a bug will be stable and all because of packet loss.
Since mongo doesn't support transactions, if any way out of my situation ?
I realized that changing the hoster by 100% will not solve the problem, since there are glitches, failures, etc. everywhere. The project has already been written with mongo and rewriting it under mysql will be costly both in time and in finance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
likejavascript, 2014-01-27
@likejavascript

TokuMX supports transactions but within the same database instance.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question