Skip to content

abtris/php-rabbitmq-wkhtmltox-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo application for demostrate PHP, RabbitMQ and 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.

brew install rabbitmq
brew install wkhtmltopdf

For notify using growlnotify

Design

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

design

Using

  • start RabbitMQ server
  • start consumer script (scripts/consumer.php)
  • start application and proceed url

Tools

Benchmark

Try test only with AB test tool

ab -n 300 -c 20 http://rabbit.dev/index/perform

About

Demo application using Zend Framework, RabbitMQ and wkhtmltox

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages