Hey, everyone.
And welcome back.
Now, in today's video, we are going to discuss about the Amazon skew skew types.
Now, whenever you create a skew, you will have to select one of the cue types.
It can be a standard cue or it can be a fee for cue.
Each one comes with its own set of advantages, which will be discussing in just a moment.
However, before we go ahead and understand about each one of them, let's quickly look into it.
Now, whenever you create an excuse.
Q You see you have two options.
You can create a standard queue and you can create a fee for.
Q One of the primary difference between both of them is related to the message ordering.
Now, when we discuss about the standard queue in this type of an approach, occasionally messages are
delivered in an order different from which they were sent.
So this can be understood with this diagram where you see that the messages that have been received,
you have one, two, five, three, three, four, etc. So these are not in orders and there are also
duplicates that are involved.
So you see here, three is a duplicate.
So this is one of the things in standard queue when we discuss about the fee for queue, the order in
which the messages are sent and received is strictly preserved.
So if you look into this diagram, you have one, two, three, four, five.
So this order is strictly maintained in the fifth queue.
So this is one of the important difference.
Now also let's look into the high level differences here.
First, primary difference is related to throughput.
When we discuss about standard queue, standard queue supports nearly unlimited number of API calls
per second related to send, message, receive message or delete message.
However, when we discuss about the fifth queue fee, full queue supports up to 300 API calls per second
related to send message, receive message and delete message.
Second one is related to the delivery.
This is also important part where in standard queue a message is delivered at least once but occasionally
more than one copy of messages delivered.
So your duplicates is involved.
So even in this diagram we are seeing that the number three is duplicated.
So this is something that you might see in the standard queue.
However, in the fifth queue, a message is delivered once and duplicates are not introduced in the
queue.
This is also a second important characteristic.
Third one is related to ordering.
This is something that we have already seen.
So this is the very high level overview about the queue types.
Now, generally when we discuss about a production environment, you will see both the standard as well
as the fee for queue being extensively used.
Again, it all depends upon applications to applications.
If you have a use case and an application where duplicates cannot be introduced in such cases you can
use fee for.
However, in most of the cases where I have seen, standard queues are extensively used.
So with this will conclude today's video.