Please enable JavaScript.
Coggle requires JavaScript to display documents.
SQS Simple Queue Service (Visibility time out (message processed during…
SQS
Simple Queue Service
message queue
supplier pushs
consumer pulls (
two types of queues
standard queue
mainly same order
nearly unlimited messages per second
fifo
ordered
300 messages / second
based on polling no push
long polling
returns only if a message arrives/exists
timeout is possible
short polling
returns immediately even if queue is empty
retention time of messages
default is 4 days
longest is 14 days
shortest retention is 1 Minute
message size is 256Kb
with java sqs sdk up to 2GB
decoupling applications
message oriented
need to ensure processing is only done once
guarantees that message is processed at least once
Visibility time out
maximum 12 h
when reader picks up a message --> timeout starts
message is not visible in the queue
message processed during Visibility Time Out?
yes
message will be deleted from queue
no
message becomes visible again
can be picked up by another reader
reason why a message could be delivered twice
Amazon MQ
designed as drop in
you have already legacy systems communicated with MQ
fully managed implementation of Apache Active MQ
MQTT, JMS, NMS
full Acrive MQ API
Message Broker
Use SQS for new
USE Amazon MQ as drop in /use your software as is