Tag:Task distribution

  • PHP using gearman to distribute tasks


    In this paper, an example of PHP using gearman to distribute tasks is given. The details are as follows: 1、 Installing gearman Download the gearman source package https://launchpad.net/gearmand/+download For example: gearmand-1.1.12.tar.gz Download the gearman extension package of PHP http://pecl.php.net/package/gearman For example: gearman-1.1.2.tgz Installing gearman > yum install boost-devel gperf libevent-devel libuuid-devel > tar xf gearmand-1.1.12.tar.gz […]