CodePudding user response:
His ever deal with maintenance a map of judgment,CodePudding user response:
Do a queue, put to deal with the key in the queue, then consumption,CodePudding user response:
How is your problem solved?? I'd like to ask this question of thank youCodePudding user response:
Distributed?? The application of the sceneCodePudding user response:
Deal with according to failure when the key to generate a unique ID (at the same time expired events, all the node receives the same key generated ID must be the same), call redis setNx, call succeeds node processing, then setNx data retention, can clear interval of time