Tencent QQ Game user points how to do?

Tencent"s qq generally consumes points when fighting landlords. His qq coins are usually stored in memory.
in addition, he also has recharged qq coins, if stored in memory, how to ensure that after each successful recharge, the currency of memory will be relatively increased?
is his user data finally landed on db?

Mar.09,2021

must have landed on db, or how to persist it. That's what you got from rmb. It's fun to have a power outage in memory.
it's just recharge, consumption points, which are not necessarily stored in DB after each operation.
you may use other technologies to delay putting them into the database, as long as you ensure the final consistency of the database

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e99c9b-1788.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e99c9b-1788.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?