Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in Web Technology by (32.9k points)

Differentiate between webhooks and polling.

1 Answer

0 votes
by (31.8k points)

Webhooks and polling are two common methods for communication and data transfer in web applications.

Polling involves an application repeatedly requesting data from a server at regular intervals to check for updates. This can be resource-intensive, as it requires the server to respond to multiple requests, even if no updates are available.

Webhooks, on the other hand, are a more efficient and real-time approach. Instead of constantly polling the server for updates, the server sends a request to a specified URL when an event occurs. This eliminates the need for constant requests and reduces server load, allowing for more efficient communication and faster updates.

Overall, while polling can be effective for certain applications, webhooks provide a more efficient and real-time approach for communication and data transfer in modern web applications.

If you want to learn about Webhook, then check out the below video for more information -

Related questions

0 votes
1 answer
0 votes
1 answer
asked May 2, 2023 in Web Technology by vyeshma (32.3k points)
0 votes
1 answer
asked May 2, 2023 in Web Technology by neelimakv (32.5k points)
0 votes
1 answer

Browse Categories

...