FIIDA 中文 Contact
Home / Engineering journal / Should a status update poll or wait for a webhook?

Should a status update poll or wait for a webhook?

Comparisons and alternatives

A caller waiting on the line and a customer waiting for a later notification need different delivery patterns.

Two observations of one ticketDuring callRead statusAfter changeSend event
Two observations of one ticket

A lookup at the desk

When a caller asks whether a repair is ready, the agent can read the ticket and report the last update time. Polling every few seconds consumes request capacity without necessarily improving the answer. If the repair takes an afternoon, agree how the next update will reach the customer.

A notification after hang-up

When quality inspection finishes, the repair system emits an event. The receiver records its ID before creating a notification task, using the same ID to recognize redelivery. If the upstream cannot push events, periodically query only outstanding tickets. Both patterns need the last confirmed state to distinguish a repair still underway from an unsuccessful lookup.