News for hackers. Stuff that matters.
Re:You Cannot Have Exactly-Once Delivery by greggyb on Wednesday March 01, 2023 @07:20PM (#34990284)
Perhaps adding a UUID is too much overhead? If you have a very high throughput system with messages of less than 128 bits, then the addition of a UUID to every message would effectively cut throughput in half.

I do not have such a use case in mind, but the description above does not sound terribly unrealistic to me.

Re:You Cannot Have Exactly-Once Delivery by datadata on Wednesday March 01, 2023 @07:28PM (#34990368)
Also in order to track UUIDs that have been received, you would either need an infinite amount of memory, or have the system bounded in terms of how many messages out of order a message be delivered and still be processed correctly.
Re:You Cannot Have Exactly-Once Delivery by jongjong on Wednesday March 01, 2023 @07:57PM (#34990564)
You can use a database. Practically, most systems will keep a record of each message on disk in any case (at least they will have some logs) so it's not that outrageous. Safe to assume that the receiver can discard non-authenticated messages to avoid spam.
Re:You Cannot Have Exactly-Once Delivery by datadata on Saturday March 04, 2023 @09:45AM (#35021064)
It depends entirely on volume of messages vs available memory (ram or disk) how outrageous it is