- Parallel Programming with Python
- Jan Palach
- 236字
- 2021-07-16 11:22:19
Why use parallel programming?
Since computing systems have evolved, they have started to provide mechanisms that allow us to run independent pieces of a specific program in parallel with one another, thus enhancing the response and the general performance. Moreover, we can easily verify that the machines are equipped with more processors and these with plenty of more cores. So, why not take advantage of this architecture?
Parallel programming is a reality in all contexts of system development, from smart phones and tablets, to heavy duty computing in research centers. A solid basis in parallel programming will allow a developer to optimize the performance of an application. This results in enhancement of user experience as well as consumption of computing resources, thereby taking up less processing time for the accomplishment of complex tasks.
As an example of parallelism, let us picture a scenario in which an application that, amongst other tasks, selects information from a database, and this database has considerable size. Consider as well, the application being sequential, in which tasks must be run one after another in a logical sequence. When a user requests data, the rest of the system will be blocked until the data return is not concluded. However, making use of parallel programming, we will be allowed to create a new worker that which will seek information in this database without blocking other functions in the application, thus enhancing its use.
- Flink SQL與DataStream入門、進階與實戰
- ASP.NET動態網頁設計教程(第三版)
- MySQL數據庫管理與開發(慕課版)
- Mastering Git
- PyQt編程快速上手
- Java Web開發教程:基于Struts2+Hibernate+Spring
- Apache Kafka 1.0 Cookbook
- 秒懂算法:用常識解讀數據結構與算法
- Python從入門到項目實踐(超值版)
- Selenium WebDriver自動化測試完全指南
- 嵌入式網絡編程
- 接口自動化測試持續集成:Postman+Newman+Git+Jenkins+釘釘
- Vue.js從入門到精通
- 超簡單:用Python讓Excel飛起來·核心模塊語法詳解篇
- C語言入門很輕松(微課超值版)