- PHP - http://www.php.net
- RabbitMQ - http://www.rabbitmq.com/
- wkhtmltopdf - http://code.google.com/p/wkhtmltopdf/
Basic PHP application for creating PDF file from some url website by command line utility wkhtmltopdf. I can demostrate using RabbitMQ on this example.
For installing on Mac OS X i used homebrew.
brew install rabbitmq
brew install wkhtmltopdf
For notify using growlnotify
Here is basic design of applicatin
- user make SET of URLs
- URLs are proceed by wkhtmlpdf
- user are notify about jobs done and file are ready to download
- start RabbitMQ server
- start consumer script (scripts/consumer.php)
- start application and proceed url
Try test only with AB test tool
ab -n 300 -c 20 http://rabbit.dev/index/perform