How does the group sharing system monitor the time for the group that is not full?
How does the group sharing system monitor the time for the group that is not full?
When I was working in the company last year, I used process monitoring software + curl to detect whether a group was formed or failed. The see time was 5 seconds, which is not a big difference. When doing group grouping, you should pay attention to using cache to control concurrency when joining a group, and do not exceed the limit. Sell it, and then join the group, form the group, fail, refund, send messages, etc., use swoole multi-threading to handle it. In this way, you will be refunded immediately if you fail, and the user will not think it is fake. This will be much better. The company's group grouping system is now All have been updated to 3.0. I have always been in charge. Please pay attention to the key points just mentioned
Give a group purchase a time duration, and use this duration to count down, should it be okay?