HNHacker News
TopNewBestAskShowJobs

HealthLab

2 karma · joined August 2, 2023

submissionscomments
HealthLab··on Is push/pop really not available as a Cloud Service?
Thanks for the reply ...

Perhaps ... there is one thing we did not see ...

Is there assurance in SQS to ensure that what is first processed is actually what is first? (i.e. process these in the order of the row number - not the order you receive them.)

Meaning - typically with outside systems we have a list of messages ... ("we need these 1000 messages processed in order") ...

... with push/pop - we could typically ensure the first message is the first message ...

... For SQS - how do we ever ensure the first message (and every subsequent message) is the actual order we desire? (Not the order the internet arbitrarily delivered them)

HealthLab··on Is push/pop really not available as a Cloud Service?
Thanks for those thoughts.

Our approach is that the sending system sends a numerical order for the messages.

We took this approach in healthcare and it helped for when reliability of queues needed to be 100%.

In that way we always knew if any message is missing in the queue.

Given how often developers need to process a stream of messages - and assure the order of processing is reliable - it seems like such a surprise that queues would not have that native functionality for reliability.