Розробка моделі паралельного програмування на PHP
Євген Володимирович Крилов, Володимир Костянтинович Анікін, Владимир Игоревич Стельмах · Адаптивні системи автоматичного управління · 2015
We consider the development of models of parallelization of code in PHP to improve performance of Web applications. To implement parallel execution model is taken as a basis for the transfer of messages and propose a method of its use in PHP. For the distribution of load process has a simple circuit block distribution. For the experiment, taken calculation of Pi, by numerical integration, since the increase in accuracy is greatly increased number of iterations. By implementing the parallel execution of calculations was proven ability PHP interpreter to execute code in parallel. Based on the results of the experiment determined, that the execution of code using the message passing model increases its speed by 72%. But in excess of the number of cores when calculating starting to grow again, proving inappropriate use of parallelization on a single processor (single core) systems.
Cited by 0 works. doi:10.20535/1560-8956.26.2015.45509 Open-access PDF