Answer the question
In order to leave comments, you need to log in
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
TokuMX supports transactions but within the same database instance.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question