Exactly-once semantics is a processing guarantee that ensures each action, message, or event in a distributed system is executed and its effect is applied precisely one time, despite potential failures, retries, or network duplicates. This guarantee is fundamental for maintaining deterministic state and transactional integrity in systems where duplicate processing could cause data corruption, financial errors, or logical inconsistencies. It is a stricter guarantee than at-least-once or at-most-once delivery.
