Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rkuhn/messagedeliveryguarantees
https://github.com/rkuhn/messagedeliveryguarantees
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rkuhn/messagedeliveryguarantees
- Owner: rkuhn
- Created: 2014-11-05T16:18:05.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-17T14:15:35.000Z (about 10 years ago)
- Last Synced: 2023-03-23T17:27:19.896Z (almost 2 years ago)
- Size: 148 KB
- Stars: 8
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
MessageDeliveryGuarantees
=========================This repository hosts several different branches showing different implementations of a sender and a receiver that communicate over an artificially unreliable network connection.
In particular:
* the `starting-point` branch just sets up the minimal environment for starting the experimentation
* the `at-most-once` branch shows the inherent messaging semantics of Akka (not minimal in its implementation but instead minimizing the diff to the following two branches for easy comparison)
* the `at-least-once` branch uses the AtLeastOnceDelivery support trait and allows you to try different failure modes to observe duplication or out of order reception of messages
* the `exactly-once` branch then shows the equivalent of what is commonly called “guaranteed delivery”, but feel free to place `fail()` statements in strategic places to exhibit cases where this does not hold (just as in every other commercial implementation as well)