• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Integrating RabbitMQ with PHP
 

Integrating RabbitMQ with PHP

on

  • 30,147 views

Talk for the conference at IPC Spring Edition 2010 - Berlin

Talk for the conference at IPC Spring Edition 2010 - Berlin

Statistics

Views

Total Views
30,147
Views on SlideShare
30,011
Embed Views
136

Actions

Likes
39
Downloads
318
Comments
3

10 Embeds 136

http://www.slideshare.net 58
http://phpperformance.de 45
http://nanha.com 20
http://pinterest.com 5
http://www.nanha.com 3
http://coderwall.com 1
https://twitter.com 1
https://home.jolicloud.com 1
http://portal.manager.apm.local 1
http://fr.pinterest.com 1
More...

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel

13 of 3 previous next Post a comment

  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
  • Try asking your question here: https://lists.rabbitmq.com/cgi-bin/mailman/listinfo/rabbitmq-discuss

    Also 500k a day is nothing. WIth RabbitMQ you can easily do 10k/second
    Are you sure you want to
    Your message goes here
    Processing…
  • you said 500, 000 + messages routed in a day. What kind of app have you created. I myself am trying to create a message generator in php. and using that message I am planning on creating an app using RabbitMQ to send messages to users. I am at square 1. what should I do? what should be my design.
    Are you sure you want to
    Your message goes here
    Processing…
  • The video on how to install/run RabbitMQ is here: http://www.vimeo.com/10254034
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Integrating RabbitMQ with PHP Integrating RabbitMQ with PHP Presentation Transcript

    • Integrating RabbitMQ with PHP Álvaro Videla June 2010 - IPC Spring Edition - Berlin Wednesday, June 2, 2010
    • About Me • Lead Developer at TheNetCircle.com • Writing “RabbitMQ in Action” for Manning • Twitter: @old_sound • Blog: http://obvioushints.blogspot.com/ Wednesday, June 2, 2010
    • The Interoperability Problem Wednesday, June 2, 2010
    • The Problem Movie Publisher Wednesday, June 2, 2010
    • The Problem Movie New Movie Publisher Wednesday, June 2, 2010
    • The Problem Java WebService XML Movie New Movie Publisher Wednesday, June 2, 2010
    • The Problem Java WebService XML C++ Image Thumbnail Generator Movie New Movie Publisher Wednesday, June 2, 2010
    • The Problem Java WebService XML C++ Image Thumbnail Generator Movie New Movie Publisher PHP PHP Cache Generator Wednesday, June 2, 2010
    • The Problem Java WebService XML C++ Image Thumbnail Generator Movie New Movie Publisher PHP PHP Cache Generator PHP Static HTML Publisher Wednesday, June 2, 2010
    • The Problem Java WebService XML C++ Image Thumbnail Generator Movie New Movie Publisher PHP PHP Cache Generator PHP Static HTML Publisher C++ Trailers Generator Wednesday, June 2, 2010
    • The Problem SYSTEMS WebService XML Image Thumbnail Generator PHP Cache Generator Static HTML Publisher Trailers Generator Wednesday, June 2, 2010
    • The Problem SYSTEMS WebService XML Written In Different Languages Image Thumbnail Generator PHP Cache Generator Static HTML Publisher Trailers Generator Wednesday, June 2, 2010
    • The Problem SYSTEMS WebService XML Written In Different Languages Image Different Operating Systems Thumbnail Generator PHP Cache Generator Static HTML Publisher Trailers Generator Wednesday, June 2, 2010
    • The Problem SYSTEMS WebService XML Written In Different Languages Image Different Operating Systems Thumbnail Generator Written By Different People PHP Cache Generator Static HTML Publisher Trailers Generator Wednesday, June 2, 2010
    • The Problem SYSTEMS WebService XML Written In Different Languages Image Different Operating Systems Thumbnail Generator Written By Different People PHP Cache Generator They Need To Share Information Static HTML Publisher Trailers Generator Wednesday, June 2, 2010
    • The Problem SYSTEMS WebService XML Written In Different Languages Image Different Operating Systems Thumbnail Generator Written By Different People PHP Cache Generator They Need To Share Information Static They Need Real Time Data HTML Publisher Trailers Generator Wednesday, June 2, 2010
    • The Problem SYSTEMS WebService XML Written In Different Languages Image Different Operating Systems Thumbnail Generator Written By Different People PHP Cache Generator They Need To Share Information Static They Need Real Time Data HTML Publisher They Need To Scale Trailers Generator Wednesday, June 2, 2010
    • Is There a Solution? Wednesday, June 2, 2010
    • AMQP and RabbitMQ Wednesday, June 2, 2010
    • AMQP • Advanced Message Queuing Protocol • Suits Interoperability • Completely Open Protocol • Binary Protocol • AMQP Model • AMQP Wire Format Wednesday, June 2, 2010
    • AMQP Model • Exchanges • Message Queues • Bindings • Rules for binding them Wednesday, June 2, 2010
    • AMQP Wire Protocol • Functional Layer • Transport Layer Wednesday, June 2, 2010
    • Message Flow http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/1.0/html/Messaging_Tutorial/chap-Messaging_Tutorial-Initial_Concepts.html Wednesday, June 2, 2010
    • Exchange Types • Fanout • Direct • Topic Wednesday, June 2, 2010
    • Default Exchanges • amqp.fanout • amqp.direct • amqp.topic Wednesday, June 2, 2010
    • http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/1.0/html/Messaging_Tutorial/sect-Messaging_Tutorial-Initial_Concepts- Fanout_Exchange.html Wednesday, June 2, 2010
    • http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/1.0/html/Messaging_Tutorial/sect-Messaging_Tutorial-Initial_Concepts- Direct_Exchange.html Wednesday, June 2, 2010
    • http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/1.0/html/Messaging_Tutorial/sect-Messaging_Tutorial-Initial_Concepts- Topic_Exchange.html Wednesday, June 2, 2010
    • Sample usage Wednesday, June 2, 2010
    • Sample Usage II Wednesday, June 2, 2010
    • Other Advantages • Fire and Forget • Stop/Start consumers safely (no need for last processed id) • No need for Cronjobs locks • Load Distribution • Transactions Wednesday, June 2, 2010
    • RabbitMQ Wednesday, June 2, 2010
    • RabbitMQ • Enterprise Messaging System • Open Source MPL • Written in Erlang/OTP • Commercial Support Wednesday, June 2, 2010
    • Features • Reliable and High Scalable • Easy To install • Easy To Cluster • Runs on: Windows, Solaris, Linux, OSX • AMQP 0.8 Wednesday, June 2, 2010
    • Client Libraries • Java • .NET/C# • Erlang • Ruby, Python, PHP, Perl, AS3, Lisp, Scala Wednesday, June 2, 2010
    • Docs/Support • http://www.rabbitmq.com/documentation.html • http://dev.rabbitmq.com/wiki/ • #rabbitmq at irc.freenode.net • http://www.rabbitmq.com/email-archive.html Wednesday, June 2, 2010
    • Our Setup: Publishers - 28 PHP Frontend Machines 2 PHP Machines running 24 consumers each Wednesday, June 2, 2010
    • Our Setup • Deployed in mid 2009 • Reduced site SPOF • 500.000+ messages routed a day (and increasing) • Very easy to install/deploy Wednesday, June 2, 2010
    • Easy To Install? Wednesday, June 2, 2010
    • Easy To Install? http://gist.github.com/334219 Wednesday, June 2, 2010
    • PHP Integration • http://code.google.com/p/php-amqplib/ • http://code.google.com/p/php-amqp/ • http://code.google.com/p/php-rabbit/ Wednesday, June 2, 2010
    • Show me the code! Wednesday, June 2, 2010
    • RabbitMQ “Hello World!” Wednesday, June 2, 2010
    • AMQP Producer Wednesday, June 2, 2010
    • AMQP Producer Wednesday, June 2, 2010
    • AMQP Producer Wednesday, June 2, 2010
    • AMQP Producer Wednesday, June 2, 2010
    • AMQP Producer Wednesday, June 2, 2010
    • AMQP Consumer Wednesday, June 2, 2010
    • AMQP Consumer Wednesday, June 2, 2010
    • AMQP Consumer Wednesday, June 2, 2010
    • AMQP Consumer Wednesday, June 2, 2010
    • AMQP Consumer Wednesday, June 2, 2010
    • AMQP Consumer Wednesday, June 2, 2010
    • AMQP Consumer Wednesday, June 2, 2010
    • RabbitMQ RPC Example Wednesday, June 2, 2010
    • RPC Client Wednesday, June 2, 2010
    • RPC Client Wednesday, June 2, 2010
    • RPC Client Wednesday, June 2, 2010
    • RPC Client Wednesday, June 2, 2010
    • RPC Client Wednesday, June 2, 2010
    • RPC Server Wednesday, June 2, 2010
    • RPC Server Wednesday, June 2, 2010
    • RPC Server Wednesday, June 2, 2010
    • RPC Server Wednesday, June 2, 2010
    • RPC Server Wednesday, June 2, 2010
    • RPC Server Wednesday, June 2, 2010
    • RPC Server Wednesday, June 2, 2010
    • Resources: • http://www.rabbitmq.com/ • https://www.amqp.org/confluence/display/AMQP/About+AMQP • http://www.redhat.com/docs/en-US/Red_Hat_Enterprise_MRG/1.0/html/ Messaging_Tutorial/index.html • http://wso2.org/library/articles/using-axis2-c-amqp-transport-part-i • http://www.skaag.net/2010/03/12/rabbitmq-for-beginners/ • http://github.com/bkw/php-amqp Wednesday, June 2, 2010
    • Questions? Wednesday, June 2, 2010
    • Thanks! Alvaro Videla http://twitter.com/old_sound http://www.slideshare.net/old_sound Wednesday, June 2, 2010