JMU
Flow Control
An Introduction


Prof. David Bernstein
James Madison University

Computer Science Department
bernstdh@jmu.edu


Introduction
Stop-and-Wait Flow Control
Analysis of Stop-and-Wait

A UML Timing Diagram

images/flow-control_stop-and-wait.gif

Note: The arrows from Receiver to Transmitter should be parallel but the UML drawing tool that was used to create this figure has a bug.

Analysis of Stop-and-Wait (cont.)
Analysis of Stop-and-Wait (cont.)
Improving the Performance of Stop-and-Wait
Fixed Window Flow Control
Analysis of Fixed Window Flow Control
Analysis of Fixed Window Flow Control (cont.)
Sliding Window Flow Control
An Example of Sliding Window Flow Control
An Example of Sliding Window Flow Control (cont.)

Using a UML Sequence Diagram

images/flow-control_sliding-window.gif
Analysis of Sliding Window Flow Control