- 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.
- Mastering Entity Framework Core 2.0
- Python 3.7網絡爬蟲快速入門
- 自己動手寫搜索引擎
- TypeScript Blueprints
- Visual Studio 2012 Cookbook
- Implementing Cisco Networking Solutions
- PHP+MySQL+Dreamweaver動態網站開發實例教程
- C++ 從入門到項目實踐(超值版)
- Redmine Cookbook
- JavaEE架構與程序設計
- Java自然語言處理(原書第2版)
- Android開發權威指南(第二版)
- Learning Zimbra Server Essentials
- 區塊鏈原理、架構與應用(第2版)
- Kudu:構建高性能實時數據分析存儲系統