官术网_书友最值得收藏!

  • 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.

主站蜘蛛池模板: 禹州市| 龙胜| 曲周县| 西平县| 沂水县| 封丘县| 嘉祥县| 宜章县| 琼海市| 峡江县| 平陆县| 蓬安县| 当阳市| 台南县| 上思县| 闻喜县| 张家界市| 广德县| 五河县| 中卫市| 阳信县| 天津市| 曲周县| 晋江市| 思南县| 丘北县| 桃园市| 苍梧县| 惠水县| 灵寿县| 盐城市| 广州市| 平昌县| 合作市| 富平县| 都兰县| 岳普湖县| 昭平县| 乐至县| 义马市| 许昌县|