API Design · Senior · Question 51 of 75

How do you choose between webhooks, SSE, WebSockets and polling for delivering updates?

Explanation

Consider infrastructure too: SSE works through most proxies as plain HTTP; WebSockets need connection-aware load balancing.

Further reading

Problem with a question

API Design · Senior · question 51

Test yourself

Take the API Design · Senior quiz: questions and options are shuffled, and you get a review of your mistakes at the end.

Take this quiz