logoalt Hacker News

georaatoday at 1:48 PM1 replyview on HN

IRC as transport is great until you need delivery guarantees. It's at-most-once - agent disconnects, whatever happened in between is gone. For chat that's fine, for an agent processing real work you want at-least-once with dedup. SSE is a nice middle ground. Persistent like IRC, works through any proxy, and you can layer ack/redelivery on top. Agent crashes, reconnects, unacked items show up again.


Replies

monsieurbananatoday at 2:49 PM

IRC bouncers have been a thing since forever, at-least-once isn't a technical problem

show 2 replies