Asynchronous Programming — Part 1
9 min readMay 15, 2018
Programming Models
In single threaded synchronous model, all tasks coming to the thread gets executed one task at a time. For example, in a traditional single threaded server, any request coming into the server get executed first before processing new requests.
This is the simplest style of programming. Each task is performed one at a time, with one finishing completely before another is started. And if the tasks are always performed in a definite order, the implementation of a later task can assume that all earlier tasks have…