Home > Back-end >  Redis Key expired to monitor events in the distributed system to prevent repeated processing
Redis Key expired to monitor events in the distributed system to prevent repeated processing

Time:12-10

Distributed service to monitor the redis timeout events, if prevent repeated the same key callback event,

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 you

CodePudding user response:

Distributed?? The application of the scene

CodePudding 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
  • Related