In the first part, we simulate the application sending the trade status and sending messages to the queue named Trade Status. In the following example, we simulate the two parts of a capital market exchange. This helps eliminate duplicates in referential systems such as those that manage pricing. Content-based deduplication allows SQS to distinguish the contents of one message from the contents of another message using the message body. In FIFO queues, Amazon SQS also provides content-based deduplication. The following diagram shows a financial use case, where Amazon SQS FIFO queues are used with different processing servers based on the type of messages being managed. Important: The name of a FIFO queue must end with the. These queues help ensure that trades are received in the correct order, and a book event is received before an update event or a cancel event. To preserve the order of messages, we use FIFO queues. The following diagram shows a sample architecture using an SQS queue with processing servers. You can use Amazon SQS to decouple the components of an application so that these components can run independently, as expected in a messaging use case.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |