- Learning Scala Programming
- Vikash Sharma
- 119字
- 2021-06-30 19:07:46
Asynchronous versus parallel versus concurrent programming
Asynchronous programming involves some calculations time-intensive tasks, which on the one hand are engaging a thread in the background but do not affect the normal flow of the program.
Parallel programming incorporates several threads to perform a task faster and so does concurrent programming. But there's a subtle difference between these two. The program flow in parallel programming is deterministic whereas in concurrent programming it's not. For example, a scenario where you send multiple requests to perform and return responses regardless of response order is said to be concurrent programming. But where you break down your task into multiple sub-tasks to achieve parallelism can be defined as the core idea of parallel programming.
推薦閱讀
- 數據庫系統原理及MySQL應用教程(第2版)
- Web前端開發技術:HTML、CSS、JavaScript(第3版)
- Learning Cython Programming(Second Edition)
- Mastering AWS Lambda
- Learning Docker
- Instant 960 Grid System
- Python 3網絡爬蟲實戰
- Spring Cloud、Nginx高并發核心編程
- Python數據分析(第2版)
- Python預測分析與機器學習
- Python物理建模初學者指南(第2版)
- ROS機器人編程實戰
- SQL Server 2012 數據庫應用教程(第3版)
- PHP Microservices
- Python趣味創意編程