Distinguish push from pull at a specific boundary. When an event broker sends an HTTP request to a webhook, it pushes an event to the endpoint. When a worker calls a queue's receive API, it pulls a message from the queue. A single pipeline can use both: an event router pushes jobs into a queue, then workers pull them as processing slots open. Registering a subscription or opening a connection does not settle the question; what matters is whether the sender delivers work on its own or in response to a consumer's request for work.
Push lets a consumer react without running its own receive loop. For example, a storage notification can invoke a handler whenever a file arrives so the handler can update a catalog. A webhook endpoint must be reachable by the sender. Authentication is a separate concern: delivery can work without it, but production endpoints should verify the sender using a mechanism the service supports, such as signed requests or identity tokens. To absorb bursts, a handler can durably enqueue events before acknowledging them and let downstream workers process them at a sustainable rate.
Pull lets consumers decide when to receive more work and, where supported, how many items to request. A report generator can stop receiving jobs while all its processing slots are occupied. Repeated short polls can produce many empty responses when work is sparse, but increasing the time between requests can delay pickup of work that arrives just after a poll. Long polling is different: the server holds an outstanding receive request open and can return as soon as work arrives, reducing empty responses without making available work wait for the request's timeout. Pull can avoid the need for an inbound delivery endpoint, but it does not stop a backlog from growing during a sustained burst.
Azure Cosmos DB change feeds illustrate why the application interface and underlying transport can differ. The change feed processor polls the feed in the background and invokes an application callback with batches. This is push-style at the callback boundary, not a webhook initiated by the database. The processor uses a lease container to distribute feed ranges across instances and checkpoint progress. In pull mode, application code explicitly reads pages, chooses when and which feed ranges to read, and persists continuation tokens if it needs to resume after a restart. Use a processor for continuous handling with built-in coordination, or explicit pulls when a batch job needs control over read timing, ranges, or resume points.
Neither model guarantees ordering, durability, or exactly-once processing. A push sender may retry if it misses an acknowledgment after the handler has committed an update. A pull worker may likewise commit an update and then crash before recording its progress. Where retries or replay are possible, make processing idempotent and advance progress only once the work or its handoff is durable. Check the service's retry, retention, and replay behavior, and monitor the age of the oldest pending work or lag behind the source; successful requests alone do not show that consumers are keeping up.