amazon sqs overview
DESCRIPTION
TRANSCRIPT
![Page 1: Amazon SQS overview](https://reader033.vdocuments.mx/reader033/viewer/2022050720/54c17cc64a79599b398b4575/html5/thumbnails/1.jpg)
\._./ Hello!
![Page 2: Amazon SQS overview](https://reader033.vdocuments.mx/reader033/viewer/2022050720/54c17cc64a79599b398b4575/html5/thumbnails/2.jpg)
Amazon SQSMUHAMMAD NEGM
![Page 3: Amazon SQS overview](https://reader033.vdocuments.mx/reader033/viewer/2022050720/54c17cc64a79599b398b4575/html5/thumbnails/3.jpg)
What’s Amazon Simple Queue ?
A message queue service offers reliable and scalable hosted queues for storing messages as they travel between computers.
![Page 4: Amazon SQS overview](https://reader033.vdocuments.mx/reader033/viewer/2022050720/54c17cc64a79599b398b4575/html5/thumbnails/4.jpg)
![Page 5: Amazon SQS overview](https://reader033.vdocuments.mx/reader033/viewer/2022050720/54c17cc64a79599b398b4575/html5/thumbnails/5.jpg)
Why Amazon SQS ? By using Amazon SQS, you can move data between distributed components of your applications that perform different tasks without losing messages or requiring each component to be always available.
![Page 6: Amazon SQS overview](https://reader033.vdocuments.mx/reader033/viewer/2022050720/54c17cc64a79599b398b4575/html5/thumbnails/6.jpg)
Life Cycle
![Page 7: Amazon SQS overview](https://reader033.vdocuments.mx/reader033/viewer/2022050720/54c17cc64a79599b398b4575/html5/thumbnails/7.jpg)
Advantages of message queues: Asynchronous: Queue it now, run it later.
Decoupling: Separates application logic.
Resilience: Won't take down your whole application if part of it fails.
Redundancy: Can retry jobs if they fail.
Guarantees: Makes sure that jobs will be processed.
Scalable: Many workers can process individual jobs in a queue.
Profiling: Can aid in identifying performance issues.
![Page 8: Amazon SQS overview](https://reader033.vdocuments.mx/reader033/viewer/2022050720/54c17cc64a79599b398b4575/html5/thumbnails/8.jpg)
Disadvantages of message queues:
Asynchronous: you have to wait until a job is complete.
Load: each job in the queue must wait its turn before it can be processed. If one job overruns, it affects each subsequent job.
Architecture: the application needs to be designed with queues in mind.
![Page 9: Amazon SQS overview](https://reader033.vdocuments.mx/reader033/viewer/2022050720/54c17cc64a79599b398b4575/html5/thumbnails/9.jpg)
Use cases of message queues: Sending/receiving data from a third-party APIs
Sending an e-mail
Generating reports
![Page 10: Amazon SQS overview](https://reader033.vdocuments.mx/reader033/viewer/2022050720/54c17cc64a79599b398b4575/html5/thumbnails/10.jpg)
Example Queues IronMQ Amazon SQS RabbitMQ Beanstalkd
![Page 11: Amazon SQS overview](https://reader033.vdocuments.mx/reader033/viewer/2022050720/54c17cc64a79599b398b4575/html5/thumbnails/11.jpg)
Communication Protocols PUSH RESTFUL Pubsubhubbub Other 3rd Party protocols
![Page 12: Amazon SQS overview](https://reader033.vdocuments.mx/reader033/viewer/2022050720/54c17cc64a79599b398b4575/html5/thumbnails/12.jpg)