Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

> Webhooks are great for producers of events, and I'd argue that it's too cumbersome for them to provide an '/events' endpoint primary because of scaling. With webhooks, they can offload events at their own pace.

TBF they could do something similar with `/events`, instead of pushing events to a webhooks-sending queue just push them to the events buffer, which could even be a circular buffer just to point out that the essay is completely wrong. TFA is not asking for /events, they're asking for a very specific kind of /events with a large non-drained buffer. Something which would only ever work for low number of events: $dayjob's github integration takes in several events per second.

A proper event stream would be nice though, github's webhooks delivery system is not exactly reliable.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: