Skip to main content

Posts

Showing posts from February, 2020

Using AWS - SQS FIFO - SpringBoot Api sender / JavaApplication receiver

Today we are going to be watching how to use the service AWS-SQS, it is an amazing and easy tool to use, in my case I just used it to synchronize some desktop applications which need to be updated each time a new user is created or deleted, but I need this to be done in the FIFO order, so instead of using rabbit-mq-server I used the AWS SQS service which is really to set it up. Amazon Simple Queue Service (SQS) is a fully managed message queuing service that enables you to decouple and scale microservices, distributed systems, and serverless applications. SQS offers two types of message queues. Standard queues offer maximum throughput, best-effort ordering, and at-least-once delivery. SQS FIFO queues are designed to guarantee that messages are processed exactly once, in the exact order that they are sent. the desktop application was doing a request every 15 seconds asking the API for new data to be synchronized, but in an hour would be 240 requests, in a day would be 5.7