engineering
Designing Long-Running Job Status APIs: Polling, Webhooks, and Server-Sent Events
Some operations take longer than a request-response cycle can hold. A status API has to tell the customer what is happening without keeping the connection open. The three patterns are polling, webhooks, and SSE, and they fit different customer profiles.