EfficiencyWith webhooks, you are only notified when an event actually occurs.
You can place incoming events onto a queue, and leverage autoscaling and event-driven services to adjust to load.With polling, you need to query our GraphQL endpoint for new events on an interval.
This leads to a tradeoff between latency and cost:
polling infrequently means that your software will be slower to react to events,
while polling too frequently wastes compute resources.