- Learning Concurrency in Kotlin
- Miguel Angel Castiblanco Torres
- 112字
- 2021-08-05 10:46:41
CPU-bound and I/O-bound
Bottlenecks are the most important thing to understand when it comes to optimizing the performance of applications, because they will indicate the points in which any type of throttling occurs. In this section we will talk about how concurrency and parallelism can affect the performance of an algorithm based on whether it's bound to the CPU or to I/O operations.
You aren't always going to need or even benefit from writing concurrent code. Understanding the bottlenecks of your code, how threads and coroutines work, and the differences between concurrency and parallelism is required to be able to make a correct assessment of when and how to implement concurrent software.
推薦閱讀
- C語言程序設計(第2版)
- Visual Basic程序設計(第3版):學習指導與練習
- Java 9 Programming Blueprints
- 面向STEM的Scratch創新課程
- SSM輕量級框架應用實戰
- C語言程序設計
- Android Wear Projects
- 區塊鏈技術與應用
- Kivy Cookbook
- 移動增值應用開發技術導論
- 微信小程序開發實戰:設計·運營·變現(圖解案例版)
- Practical Microservices
- C++程序設計
- Developing Java Applications with Spring and Spring Boot
- PHP 7 Programming Blueprints