, in addition, similar to taobao payment in 5 minutes I will cancel the order way out I this delay queue outside what? Don't say that Java's built-in that delayqueue, became even more afraid of OOM,CodePudding user response:
If afraid of server OOM, use redis queue data structure to store the order