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

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.

主站蜘蛛池模板: 留坝县| 和静县| 铜山县| 临桂县| 徐州市| 三台县| 胶南市| 昌吉市| 原平市| 公安县| 陆良县| 龙江县| 威信县| 斗六市| 二连浩特市| 龙陵县| 信丰县| 吉林省| 措美县| 定远县| 延吉市| 宁安市| 寿宁县| 赤峰市| 安塞县| 类乌齐县| 嘉禾县| 广安市| 神木县| 正蓝旗| 南木林县| 依安县| 辽源市| 云霄县| 青岛市| 黄陵县| 资兴市| 林口县| 汽车| 佛山市| 南城县|