Skip to content
This repository has been archived by the owner on Mar 3, 2023. It is now read-only.

Renamed Exactly Once to Effectively Once #2254

Merged
merged 3 commits into from
Aug 29, 2017
Merged

Conversation

srkukarni
Copy link
Contributor

@srkukarni srkukarni commented Aug 29, 2017

The stateful processing in Heron relies on Distributed snapshotting method where state is periodically check pointed and restored when a failure occurs. However once a failure occurs and the last globally consistent checkpoint is restored, tuples which were already processed(but not check pointed) could be replayed. Thus it is possible that a tuple is processed more than once, however because all state information is stored in the state variable, the effects are applied once once. In other words, this mechanism is effectively once.
To achieve true exactly once processing where one needs to guarantee that every tuple is processed only once, one needs to adopt MillWheel Style approach where each incoming and outgoing tuple is stored and deduped.
This pr thus renames exactly once wordings with effectively once to reflect the thought above.

Copy link
Member

@sijie sijie left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

@srkukarni srkukarni merged commit 9df0e59 into master Aug 29, 2017
@srkukarni srkukarni deleted the sanjeevk/rename_ext1 branch August 29, 2017 16:58
nicknezis pushed a commit that referenced this pull request Sep 14, 2020
* Renamed Exactly Once to Effectively Once

* Substitute exactly once with effectively once

* Replaced exactly once with effectively once
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants