diff --git a/vac/2/images/batch.msc b/vac/2/images/batch.msc new file mode 100644 index 0000000..cad0c20 --- /dev/null +++ b/vac/2/images/batch.msc @@ -0,0 +1,14 @@ +# Alice and Bob: batch data sync +msc { + hscale="2", wordwraparcs=on; + + alice [label="Alice"], + bob [label="Bob"]; + + --- [label="batch data sync"]; + alice => alice [label="add messages to payload state"]; + alice >> bob [label="send payload with messages"]; + + bob => bob [label="add acks to payload state"]; + bob >> alice [label="send payload with acks"]; +} diff --git a/vac/2/images/batch.png b/vac/2/images/batch.png new file mode 100644 index 0000000..aa3449b Binary files /dev/null and b/vac/2/images/batch.png differ diff --git a/vac/2/images/interactive.msc b/vac/2/images/interactive.msc new file mode 100644 index 0000000..d37c67e --- /dev/null +++ b/vac/2/images/interactive.msc @@ -0,0 +1,20 @@ +# Alice and Bob: interactive data sync +msc { + hscale="2", wordwraparcs=on; + + alice [label="Alice"], + bob [label="Bob"]; + + --- [label="interactive data sync"]; + alice => alice [label="add offers to payload state"]; + alice >> bob [label="send payload with offers"]; + + bob => bob [label="add requests to payload state"]; + bob >> alice [label="send payload with requests"]; + + alice => alice [label="add requested messages to state"]; + alice >> bob [label="send payload with messages"]; + + bob => bob [label="add acks to payload state"]; + bob >> alice [label="send payload with acks"]; +} diff --git a/vac/2/images/interactive.png b/vac/2/images/interactive.png new file mode 100644 index 0000000..84e2450 Binary files /dev/null and b/vac/2/images/interactive.png differ diff --git a/vac/2/mvds.md b/vac/2/mvds.md index bba66d2..5281bff 100644 --- a/vac/2/mvds.md +++ b/vac/2/mvds.md @@ -97,7 +97,7 @@ Nodes MAY have two modes with which they can send records: `BATCH` and `INTERACT - All records that require retransmission are added to the payload, given `Send Epoch` has been reached.

- +
Figure 1: Delivery without retransmissions in interactive mode.

@@ -112,7 +112,7 @@ Nodes MAY have two modes with which they can send records: `BATCH` and `INTERACT

- +
Figure 2: Delivery without retransmissions in batch mode.