Category Archives: Gearman

Gearman shell script

Gearman shell script : This is gearman worker server demo script for getting job done from workers on distributed systems. Scripts generate pdf report using wkhtmltopdf utility and upload them to S3 server. Symphony command : app/console company:command pdf-report /tmp/gearman/wkhtmltopdf/pdfs … Continue reading

Posted in Gearman, Shell Script | Tagged , | Leave a comment

Integrate gearman with php

First Install Gearman Install Gearman PHP Extension: The Gearman PHP Extension allows you to write Gearman clients and workers using PHP. Gearman PHP Extension available for download at http://pecl.php.net/package/gearman #sudo apt-get install -y php5-dev libgearman-dev # wget http://pecl.php.net/get/gearman-1.0.3.tgz #tar -zxf gearman-1.0.3.tgz … Continue reading

Posted in Gearman | Tagged | Leave a comment

Install Gearman on Ubuntu

Install Gearman on Ubuntu. What is Gearman? Gearman provides a generic application framework to farm out work to other machines or processes that are better suited to do the work. It allows you to do work in parallel, to load … Continue reading

Posted in Gearman | Tagged | Leave a comment

Monitoring services with Monit

Monitoring services with Monit Check all running service on you machine with their port no, #netstat -atlpvn | grep LISTEN Get and install Monit, #sudo apt-get install monit OR #cd /home/ #wget http://mmonit.com/monit/dist/monit-5.5.tar.gz #tar -zxvf monit-5.5.tar.gz #cd monit-5.5 #./configure #make … Continue reading

Posted in Apache, Gearman, Memcached, MongoDB, Monit, Mysql, Node.js, Redis, Sphinx | Tagged , , , , , , , , | Leave a comment