Bidding control countdown data

bidding projects use the GatewayWorker framework and redis, within 10 seconds of the countdown, the customer is below the guaranteed price, blocking the deal! My idea is to plug a robot when multiple normal users compete for bids, how to control this countdown within 10 seconds can be normally plugged into the robot, without the end of the auction, the last winner is the normal user! If you use the queue, what if you control the final result? Thank you for guidance


doesn't understand why you need a robot.
for example, if you want to auction item A, there are two B and C bids respectively. B bids 100 and C bids 120. Each bid should send a request to the server to verify whether the bid is successful and return the current price, right? At the end of the last second, you have to settle the account, right? maybe there are still unprocessed requests in your redis queue. If the final price is 150, which is lower than the guaranteed price of 180, then you will return the price 180 or above, and both B and C will fail to bid.

Menu