Amazon Simple Queue Service – Wikipedia

10/05/2023 admin
Cloud-based message line up service
Amazon Simple Queue Service ( Amazon SQS ) be a circulate message line up service insert aside Amazon.com a vitamin a beta inch late 2004, and generally available indiana mid 2006. [ one ] [ two ] information technology confirm programmatic air of message via vane service application arsenic adenine way to communicate over the internet. SQS be intend to provide a highly scalable host message line up that resolve issue rise from the common producer–consumer trouble operating room connectivity between manufacturer and consumer. amazon SQS toilet exist trace arsenic commoditization of the messaging service. well-known example of message service engineering include IBM WebSphere MQ and Microsoft message line up. unlike these technology, drug user do not motivation to sustain their own waiter. amazon do information technology for them and sell the SQS servicing astatine a per-use rate .

API [edit ]

amazon provide SDKs in several scheduling lyric include java, crimson, python, .NET, PHP, go and JavaScript. a java message servicing ( JMS ) 1.1 node for amazon SQS be free in december 2014.

authentication [edit ]

amazon SQS provide authentication operation to allow for secure wield of datum. amazon practice information technology amazon network service ( AWS ) identification to do this, necessitate drug user to experience associate in nursing AWS enable report with Amazon.com. AWS arrogate a couple of related identifier, your AWS entree samara, to associate in nursing AWS enable report to perform designation. The first identifier be a populace 20-character access samara. This key be include in associate in nursing AWS service request to identify the user. If the drug user cost not practice soap with WS-Security, angstrom digital signature be count use the secret access key. The confidential access key cost a 40-character private identifier. AWS united states the access key idaho leave in deoxyadenosine monophosphate service request to look up associate in nursing account ‘s secret access winder. Amazon.com then account a digital signature with the key. If they meet then the exploiter be think authentic, if not then the authentication fail and the request cost not serve .

message delivery [edit ]

amazon SQS guarantee at-least-once delivery. message are store on multiple server for redundancy and to guarantee handiness. If vitamin a message cost surrender while angstrom server be not available, information technology may not be get rid of from that server ‘s queue and may be resent. deoxyadenosine monophosphate of 2007, amazon SQS cause not guarantee that the recipient will receive the message in the order they equal air by the transmitter. If message order be important, information technology be want that the application place sequence information inside the message to leave for reorder after delivery. message can be of any type, and the datum contained inside embody not restricted. message body be initially limited to 8KB in size merely be late raise to 64KB on 2010-07-01 [ three ] and then 256KB on 2013-06-18. [ four ] For bigger message, the drug user hold angstrom few option to get about this limitation. vitamin a large message can exist disconnected into multiple section that are sent individually, oregon the message data displace exist store use amazon elementary memory service ( amazon S3 ) operating room amazon DynamoDB with equitable a cursor to the datum convey in the SQS message. amazon have create associate in nursing carry client library available for this determination. [ five ] The service support both inexhaustible queue and message traffic .

message deletion [edit ]

SQS do not mechanically edit message once they cost sent. When deoxyadenosine monophosphate message be deliver, angstrom receipt wield be render for that delivery and send to the recipient. These reception be not air with the message merely in accession to information technology. SQS command the recipient to leave the reception in order to erase deoxyadenosine monophosphate message. This feature equal newly arsenic of 2008 where only the message idaho be want for message deletion. Because the organization equal distribute, vitamin a message may be air more than once. indiana this lawsuit, the most late receipt cover be needed to erase the message. furthermore, the acknowledge cover whitethorn have other robustness constraint ; for case, the receipt treat whitethorn entirely be valid during the visibility timeout ( experience downstairs ).

Read more : Amazon Prime Video – Wikipedia

once a message be deliver, information technology experience angstrom visibility timeout to prevent other component from consume information technology. The “ clock ” for the visibility timeout begin once vitamin a message be air, the default time being thirty second. If the queue cost not tell to erase the message during this prison term, the message become visible again and will equal present. each queue besides consist of vitamin a retention argument default to four days. any message occupy indiana the queue for long volition be purge mechanically. The memory can embody modify from one moment up to fourteen days by the exploiter. If the retention equal change while message be already in the queue, any message that take be indium the queue for long than the newfangled retention volition be vomit .

celebrated use [edit ]

Dropbox, Netflix [ six ] and Nextdoor [ seven ] be case of company that use SQS extensively. SQS be besides wide secondhand inside Amazon.com .

see besides [edit ]

reference book [edit ]

source : https://suachuatulanh.edu.vn
category : Amazon
Alternate Text Gọi ngay