News for hackers. Stuff that matters.
Re:Webhook Failure Scenarios by nonane on Friday September 15, 2023 @10:50AM (#37523929)
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.
Re:Webhook Failure Scenarios by 10000truths on Friday September 15, 2023 @07:07PM (#37530157)
WebSockets.
Re:Webhook Failure Scenarios by JuanPosadas on Saturday September 16, 2023 @08:11AM (#37534128)
Simple: cron job, one per minute, check for recently created (and/or updated) entries.
Re:Webhook Failure Scenarios by andenacitelli on Monday September 18, 2023 @01:36PM (#37559271)
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.