Comment by qaq

Comment by qaq 6 hours ago

5 replies

Well pretty confused. You can't get exactly once delivery using proposed solution in general case because you can not have infinite memory for dedupe.

lisper 6 hours ago

You apparently missed this part:

"Just for the sake of completeness I should point out that removing duplicates at the receiver is a pretty extreme oversimplification of what you would do in practice to provide exactly-once delivery. A complete solution would almost certainly be an example of Greenspun's Tenth Law applied to the TCP protocol rather than Common Lisp."

  • two_handfuls 5 hours ago

    Can you explain this point? I think you are trying to say the application would include an implementation of TCP? I don't see how this is related to memory.

    • lisper 4 hours ago

      I was responding to this:

      > You can't get exactly once delivery using proposed solution in general case because you can not have infinite memory for dedupe.

      That is a specific criticism of a specific and highly oversimplified algorithm for de-duplication that I described purely for illustrative purposes, not as a suggestion for how de-duplication should actually be implemented. Actual implementation of de-duplication is much more complicated, but a solved problem that I didn't think I needed to rehash. A real implementation doesn't require infinite memory.

      (Actually, even the naive algorithm doesn't require infinite memory, just unbounded memory. Those are not the same.)

      • qaq 2 hours ago

        You certainly do need to rehash it or provide a link to it being solved without constraints on time window, msgs rates and msgs sizes. You also most certainly want to build it and provide it as service because no existing product claims this capability in unbounded case.

[removed] 4 hours ago
[deleted]