Grokking the System Design Interview
Ask Author
Back to course home

0% completed

Polling vs Long-Polling vs Webhooks

Polling, long-polling, and webhooks are three techniques used in applications for getting updates or information, each with its own mechanism and use case.


  • Definition: Polling is a technique where the client repeatedly requests (polls) a server at regular intervals to get new or updated data.
  • Characteristics:
    • Regular Requests: The client makes requests at fixed intervals (e.g., every 5 seconds).
    • Client-Initiated: The client initiates each request.




Like the course? Get enrolled and start learning!