Hacker News new | ask | show | jobs
by mbrevda1 1802 days ago
I'd argue against long/persistent polling. Webhooks allows for zero resource usage until a message needs to be delivered.
2 comments

> Webhooks allows for zero resource usage until a message needs to be delivered.

Doesn't that only work in the case where the server treats each webhook delivery as ephemeral? If you're keeping a queue to allow reliable / repeatable delivery, that's definitely not "zero resource usage", right?

On the sender side, sure. On the receiver side? You have to have a service listening 0-24.