2 Respuestas
- Más nuevo
- Más votos
- Más comentarios
1
In a distributed system, race conditions can occur that make this possible, or better said, it is not impossible. Idempotency is the solution.
respondido hace un año
0
SQS was designed with the architecture you describe in mind - auto-scaled fleets of worker instances all consuming the same queue are a very common pattern. Receiving the same message is rare (I've never seen it when looking through logs); there's probably no guarantee though and this possibility is covered by the declared at-least-once delivery.
Contenido relevante
- OFICIAL DE AWSActualizada hace 3 años
- OFICIAL DE AWSActualizada hace 3 años
With standard queues this can happen. Maybe not a lot, but sure can.