Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abtris/php-rabbitmq-wkhtmltox-demo
Demo application using Zend Framework, RabbitMQ and wkhtmltox
https://github.com/abtris/php-rabbitmq-wkhtmltox-demo
Last synced: about 1 month ago
JSON representation
Demo application using Zend Framework, RabbitMQ and wkhtmltox
- Host: GitHub
- URL: https://github.com/abtris/php-rabbitmq-wkhtmltox-demo
- Owner: abtris
- Created: 2011-04-10T14:38:20.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-04-11T18:54:51.000Z (over 13 years ago)
- Last Synced: 2024-04-15T03:04:08.175Z (7 months ago)
- Language: PHP
- Homepage: http://blog.prskavec.net/2011/04/php-a-rabbitmq/
- Size: 636 KB
- Stars: 5
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Demo application for demostrate PHP, RabbitMQ and wkhtmltopdf
- PHP - [http://www.php.net](http://www.php.net)
- RabbitMQ - [http://www.rabbitmq.com/](http://www.rabbitmq.com/)
- wkhtmltopdf - [http://code.google.com/p/wkhtmltopdf/](http://code.google.com/p/wkhtmltopdf/)## Demo
Basic PHP application for creating PDF file from some url website by command line utility wkhtmltopdf. I can demostrate using RabbitMQ on this example.
## Install
For installing on Mac OS X i used [homebrew](http://mxcl.github.com/homebrew/).
brew install rabbitmq
brew install wkhtmltopdfFor notify using [growlnotify](http://growl.info/extras.php)
## DesignHere 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![design](https://github.com/abtris/php-rabbitmq-wkhtmltox-demo/raw/master/docs/design.png)
## Using
- start RabbitMQ server
- start consumer script (scripts/consumer.php)
- start application and proceed url## Tools
- [RabbitMQ managment tool](http://localhost:55672/mgmt/)
## Benchmark
Try test only with AB test tool
ab -n 300 -c 20 http://rabbit.dev/index/perform