Hacker News new | ask | show | jobs
by boubiyeah 3494 days ago
Webhook only makes sense if you don't care a single bit about missing updates. If not, it's deeply flawed.

A pull model (polling, long-polling, SSE, etc) is strictly superior for synchronisation. You just can't "miss" updates, can restart from the beginning again and reinterpret past events in a different light, the client goes at its own pace, etc.

2 comments

To expand on icebraining's comment, you can use weebhooks as notifications to poll.
Luckily they aren't incompatible, you can take advantage of both.