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

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.

主站蜘蛛池模板: 申扎县| 曲麻莱县| 涞源县| 文水县| 峨边| 周宁县| 民勤县| 汤原县| 大邑县| 永寿县| 湖南省| 金平| 平度市| 海南省| 韩城市| 桑日县| 青铜峡市| 玉门市| 孙吴县| 星子县| 成武县| 攀枝花市| 城固县| 陕西省| 吉林市| 平度市| 宜兴市| 岚皋县| 简阳市| 道真| 江安县| 湾仔区| 米脂县| 隆尧县| 巴南区| 阳东县| 鱼台县| 聊城市| 台南县| 当雄县| 林甸县|