- Mastering Concurrency in Python
- Quan Nguyen
- 149字
- 2021-06-10 19:23:58
Amdahl's Law
How do you find a balance between parallelizing a sequential program (by increasing the number of processors) and optimizing the execution speed of the sequential program itself? For example, which is the better option: Having four processors running a given program for 40% of its execution, or using only two processors executing the same program, but for twice as long? This type of trade-off, which is commonly found in concurrent programming, can be strategically analyzed and answered by applying Amdahl's Law.
Additionally, while concurrency and parallelism can be a powerful tool that provides significant improvements in program execution time, they are not a silver bullet that can speed up any non-sequential architecture infinitely and unconditionally. It is therefore important for developers and programmers to know and understand the limits of the speed improvements that concurrency and parallelism offer to their programs, and Amdahl's Law addresses those concerns.
- Vue.js 2 and Bootstrap 4 Web Development
- Microsoft Dynamics 365 Extensions Cookbook
- PHP 7底層設計與源碼實現
- Implementing Cisco Networking Solutions
- Java虛擬機字節碼:從入門到實戰
- Scala編程實戰(原書第2版)
- SQL基礎教程(第2版)
- OpenGL Data Visualization Cookbook
- Building Microservices with .NET Core
- Instant Zurb Foundation 4
- 會當凌絕頂:Java開發修行實錄
- Drupal 8 Development Cookbook(Second Edition)
- Neo4j 3.x入門經典
- Java設計模式深入研究
- 一步一步學Spring Boot:微服務項目實戰(第2版)