Parallel - (Synchronous|Asynchronous) - Asynchrony

> (Data|State) Management and Processing > (Concurrency|Parallel|Asynchronous) programming

1 - About

Asynchronous programming is notoriously difficult because the order of operations is highly unpredictable.


3 - Type

3.1 - Synchronous

The application thread waits while the server (such as IO device) performs a request and returns a status code when the request is complete.

3.2 - Asynchronous

Asynchronous allows an application to issue multiple requests and continue executing while the server performs the request. This type of request can improve an application’s throughput because it allows the application thread to continue with other work while an request operation is in progress.

See Parallel

Asynchronous task are particularly useful for heavy UI elements that aren’t initially visible, like Modals and Panels.

4 - Management

4.1 - Retrieve computation

The result of an asynchronous computation is called a future.

data/concurrency/synchronous.txt · Last modified: 2019/11/12 15:19 by gerardnico