Sunday, 26 January 2020

Asynchronous vs synchronous execution, what does it really mean?

In a nutshell, synchronization refers to two or more processes' start and end points, NOT their executions. In this example, Process A's endpoint is synchronized with Process B's start point:
SYNCHRONOUS
   |--------A--------|
                     |--------B--------|

Asynchronous processes, on the other hand, do not have their start and endpoints synchronized:
ASYNCHRONOUS
   |--------A--------|
         |--------B--------|





Share: