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

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.

主站蜘蛛池模板: 桃园市| 武清区| 广元市| 女性| 社会| 宜昌市| 连平县| 林甸县| 衡山县| 兰坪| 长葛市| 通榆县| 南漳县| 石棉县| 页游| 武城县| 崇信县| 虎林市| 浦东新区| 肥乡县| 沧源| 资中县| 新安县| 桦川县| 剑阁县| 封丘县| 阳原县| 新源县| 修武县| 牟定县| 阜南县| 灵武市| 柳河县| 虞城县| 湖南省| 象州县| 汉阴县| 施甸县| 土默特右旗| 泰安市| 道孚县|