Skip to content

Design Document

TUSHAR GOYAL edited this page Feb 5, 2021 · 6 revisions

Design

Capture1111

Discussion

Why Use Webhooks Instead of Polling an API?

  • Webhooks are far more efficient than polling, from a resource and communication standpoint
  • Webhooks are superior to polling in terms of freshness of data, the efficiency of communication, and infrastructure costs.

We recommend against the use of polling due to HTTP traffic and server load concerns. Let's say you set up a job running every minute that polls an API, This job runs 24 hours a day, 365 days a year. That’s over 500,000 queries per year to the service when in reality there are probably only 20 to 30 calls per day or most of the calls are in one particular month only.

Clone this wiki locally