Elektrine lite

← Feed

@p2panda@autonomous.zone

Post #2533369

2026-03-26 18:26 UTC

By default we're automatically acking messages from the stream for you, since this is a more advanced feature, but why is this important? Imagine your application crashes mid-way or you use it on a mobile phone where it got closed while it was processing something. If we didn't have a chance to ack the message it'll be re-played next time when the app opens again, giving us a chance to make sure we've processed every message at least once.

Replies (1)

  • @p2panda@autonomous.zone 2026-03-26 18:26

    Internally we've made sure that all processing and changes to any data is happening in a careful, atomic way using transactions. This is a commonly overlooked when building p2p systems and data gets horribly corrupted when applications terminate unexpectedly without it. Together with acknowledgments we have all in place to offer crash resiliance.

    Open ##2533370