Commit 33dd35e7 authored by Aral Balkan's avatar Aral Balkan
Browse files

Documented the Message-Acknowledge-Delete (MAD) pattern.

parent 8622e97f
......@@ -116,6 +116,20 @@ Example:
1980-10-14T00_59_59-04_00__confirm_new_device
## Message-Acknowledge-Delete (MAD) pattern
Messaging in the Teleportation API uses the MAD pattern:
1. First party writes a message
2. Second party writes an acknowledgement message
3. First party deletes the message (now that it has been acknowledged)
The second party should only acknowledge the message once it has safely received it and loaded it into memory to act on it.
Acknowledgement messages have the form:
<datetime>__ack__<originalMessageDatetime>__<originalMessageName>
## From Waystone to a person
### Adding a new device.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment