On the run from the account of the user should be charged.
Keep the user's account as the transaction log:
| user_id | amount |
| 1 | 1000 |
| 1 | -150 |
| 1 | -240 |
and then the performance impact it does not (sequential write really fast.
and data you will never lose. And the balance on user's account can always be calculated as SUM(amount).
As to your question - it will be easier to use rabbitmq, but first you have performance issues or are you just having fun?
I'm just having fun, want to learn redis and select the task to which its use would be justified, googling led to the fact that all there stored session, but I have nothing stored... - alva8 commented on July 9th 19 at 10:47
in General, the disk space those 100K records take a lot of will not. - Allene_Crona78 commented on July 9th 19 at 10:50