Re:Show HN: An SQS Alternative on Postgres
by peter_l_downs on Friday May 10, 2024 @04:06AM
(#40316485)
You should let the Apache Flink team know, they mention exactly-once processing on their home page (under "correctness guarantees") and in their list of features.
[1] https://flink.apache.org/what-is-flink/flink-applications/#b...
Re:Show HN: An SQS Alternative on Postgres
by sethammons on Friday May 10, 2024 @05:06AM
(#40316815)
A common mistake:
Exactly once delivery is not the same as exactly once processing.
Exactly once delivery is an impossibility; see the two generals problem. Exactly once processing is usually at-least-once delivery coupled with deduplication or an otherwise idempotent action
Re:Show HN: An SQS Alternative on Postgres
by Fire-Dragon-DoL on Friday May 10, 2024 @12:14PM
(#40320666)
They are not the first or the last.
You CAN have "at most once" processing, since there is always the option of processing zero messages due to systems being down, but it's a joint effort, nobody is able to offer it "for free" (as in, no effort to implement it)
And the fact is that what you describe is a performance optimization, I still have to write my code so that it is idempotent, so that optimization does not affect me in any other way, because exactly once is not a thing.
All of this to say, I'm not even sure it's worth mentioning?