AWS SQS
AWS SQS AWS SQS - Used to asychronously decouple application Suppports multiple producers and consumers The consumer polls the queue for messages. Once a consumer processes a messages, it deletes it from the queue using DeleteMessage API Unlimited number of messages in queue Max 10 messages recieved per batch (configured using MaxNumberOfMessages parameter in the ReceiveMessage API) Max message size - 256kb Consumers could be EC2 instances or Lamda function SQS cannot ingest data, it must be sent to the queue by the producer (use kinesis - kinesis data stream kds instead) Queue Types - Standard queue - Unlimited throughput (publish any number of message per second into the queue) Low latency (<10 ms on publish and recieve) Can have duplicate messages (at least once delivery) Can have out of order messages (best effort ording) Fifo queue - Limited throughput - 300 msg/s without batching (batch size=1) 3000 msg/s withour batching (batch s...