Hacker News new | ask | show | jobs
by nonane 1001 days ago
Any suggestions to alternative to webhooks? I feel a ‘pull’ based model with cursors and long polling would be simpler and more reliable than webhooks.
3 comments

Webhooks tend to make a lot more sense in event-driven applications . They introduce additional complexity when it comes to all sorts of edge cases - agree that a pull system is probably much easier to do error handling for, my only concern would probably be performance.
Simple: cron job, one per minute, check for recently created (and/or updated) entries.
WebSockets.