1. Number of users: about 5w
2. Business requirements:
5
3. Problems encountered:
mysql
redis
1. Number of users: about 5w
2. Business requirements:
5
3. Problems encountered:
mysql
redis
it is recommended to make an asynchronous queue. When a condition is triggered, the data is lost to the connection, and then the calculation is carried out. It is not necessary to wait until the early morning to calculate the dividend plan. On my side, when the user recharges, it is written to the queue and calculated asynchronously. I use beanstalked queues to support data persistence
I think you use asynchronous queues to calculate dividends, and then use scheduled tasks to pay dividends at the time you specify.
Previous: Looking for a vue plug-in, about the picture enlarged!
Next: Always prompt the signature error when doing the signature shared by Wechat
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 ...
suppose that the order is confirmed and then pushed to the remote server, and the API limits it to 70 times per minute. It thinks of the following solutions: 1. Each click will request an API, wait for the result to return and verify the result. Probl...
in the implementation of panic buying second kill function under high concurrency, I have a question, that is, the problem of data storage, when to store it. idea: 1. Judging that he snapped up successfully, he immediately wrote the generated order da...