Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Achieving exactly-once delivery with Ably (ably.io)
2 points by yannoninator on Jan 17, 2021 | hide | past | favorite | 1 comment


We achieved this at Hotmail 2 decades ago by trading latency for correctness.

Publisher: do at least once delivery, but only up to the next k minutes.

Each subscriber has a bitset of received IDs, filtering out redeliveries. Every 2*k minutes, bitset can be GC’d.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: