Backend, Data & Security More detail C · Industry convention Platform: Web

At-Least-Once Delivery

At-least-once delivery tries to keep a message from being lost, but the same message may arrive more than once. The consumer must handle repeats safely.

See how it works
You might call it at least once deliveryduplicate deliveryredelivery semantics

See how it works

Original worked exampleAt-Least-Once Delivery
State & recoveryAt-Least-Once Deliverydeliver -> process -> acknowledge/delete; missing acknowledgement -> redeliver; event ID -> dedupe
ORDER EVENTevt_784
DELIVERY 1✓receipt saved
ACK×reply lost
DELIVERY 2=same event
2 deliveries1 saved receipt
KEEP SAFEA stable message ID guards the business effect.RECOVERA repeated delivery reads the saved result and acknowledges it.
deliver -> process -> acknowledge/delete; missing acknowledgement -> redeliver; event ID -> dedupeJOB
At-Least-Once DeliveryBackend reliability

Another example

A worker saves receipt `evt-42` but stops before deleting the Amazon SQS message. SQS later delivers the same message again. The next worker sees the saved event ID and returns the existing receipt instead of making a second one.

Main parts

  1. 01Stable message ID
  2. 02Delivery attempt
  3. 03Result made by the worker
  4. 04Acknowledgement or delete
  5. 05Redelivery path
  6. 06Duplicate record

Use it when

Use this rule when losing one job is worse than handling it twice. Give every message a stable ID. A repeated message must not charge, email, or save twice.

Do not use it when

Delivery does not mean the work succeeded. Do not promise exactly one result. Charges or outside actions need their own duplicate guard.

Name used in code

deliver -> process -> acknowledge/delete; missing acknowledgement -> redeliver; event ID -> dedupe

Before you ship

Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback.

Request you can copy

Outcome: Design or review At-Least-Once Delivery for this system while keeping data correct, secure, and easy to operate. User context: A worker saves receipt `evt-42` but stops before deleting the Amazon SQS message. SQS later delivers the same message again. The next worker sees the saved event ID and returns the existing receipt instead of making a second one. Technical concept or control: At-Least-Once Delivery. Why it fits: Use this rule when losing one job is worse than handling it twice. Give every message a stable ID. A repeated message must not charge, email, or save twice. Do not use it when: Delivery does not mean the work succeeded. Do not promise exactly one result. Charges or outside actions need their own duplicate guard. Engineering requirements: Define inputs, outputs, contracts, and rules that must always hold. Set authorization and input checks. Define failures, timeouts, retries, one-time effects, data moves, and compatibility limits. Operations: Add useful signals and logs that hide sensitive data. Set capacity limits and write an operator guide. Test recovery and rollback. Acceptance criteria: Contract and failure-path tests pass. Data and authorization rules still hold during retries and partial failures. Check performance limits, monitoring, recovery, and rollback. Evidence and limits (evidence boundary): No single official standard controls the whole term. Its meaning may change across teams, platforms, or frameworks. Unknowns to confirm: Where the code runs, data stores, traffic shape, consistency needs, and the security boundary. Also confirm the compatibility period, service goals, and rollback limits.

Check this request

Review the current use of At-Least-Once Delivery. Definition: At-least-once delivery tries to keep a message from being lost, but the same message may arrive more than once. The consumer must handle repeats safely. Release checks: Check contracts and invariants, authorization, and input limits. Test retries, one-time effects, timeouts, and partial failures. Verify data integrity, compatibility, monitoring, recovery, and rollback. Before changing code, report the evidence you found, gaps, severity, and the smallest safe fix.

C
How official is this term?

Industry convention

People often use this term at work. The listed sources may support practice or limitations. They do not define every part of the term.

No single official standard controls the whole term. Its meaning may change across teams, platforms, or frameworks.

Scope
Cross-platform at-least-once-delivery engineering convention; Amazon SQS only supports the cited Standard queue behavior
Document status
stable
Checked on
2026-07-30

Evidence sources & scope

Authority source + Term reference · Amazon Web Services · stable Amazon SQS at-least-once delivery Scope: Amazon SQS Standard queue duplicate-delivery behavior used only as context for the cross-platform at-least-once-delivery convention; not a broker-neutral guarantee Role here: Direct term reference Source covers: canonical name, definition, semantics, implementation, usage guidance, avoidance guidance

Copy it yourself

The browser could not copy this. Select the request below and copy it yourself.