1 - About
From a classic computing perspective, “concurrent” and “parallel” are clearly synonyms but:
Two process can run in parallel without being concurrent on any data structure.
Parallel does not mean always that your process will use another CPU. Two processes can run in parallel using only one CPU
Parallelism use is only going to increase because:
- Multi-core processors are standard,
- and networks are getting faster.
Parallel tasking is a concurrency design
Asynchronous programming is notoriously difficult because the order of operations is highly unpredictable.
The five functions of functional programming hold a key to simplifying asynchronous programming.
2 - Model
- Concurrency - Communicating sequential processes (Tony Hoare’s CSP paper) No Shared State, communication using channel
3 - Documentation / Reference
- Transactional Data Structure Libraries - Alexander Spiegelman, Guy Golan-Gueta, Idit Keidar. Transactions into libraries of concurrent data structures; such transactions can be used to ensure atomicity of sequences of data structure operations