Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
RabbitMQ + PHP
Search
Piotr Plenik
July 30, 2013
Technology
220
3
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
RabbitMQ + PHP
When and how you could use queue, using PHP and RabbitMQ.
Piotr Plenik
July 30, 2013
Other Decks in Technology
See All in Technology
2026-10-01_MagicPod_QAハーネスエンジニアリングとQA組織の未来像
ynisqa1988
1
330
AI駆動開発、viviONの1年 ── うまくいったこと・いかなかったこと
vivion
0
130
キャリアLT今日までそして明日から
kentapapa
1
140
OpenClawでAzure DevOpsのWiki更新を自動化する - クラウドAIだけでは届かない場所へ
yutakaosada
0
140
Mastering Agentic Development: Harness Engineering for Effective Coding Agents
konippi
3
670
DORA_Metrics.pdf
wagnerfusca
1
140
1万名の社員が使う認証基盤で どう信頼性を担保するか?
kairim0
0
170
人にやさしく、AIにやさしく、書き手を選ばないIaCのガードレール再考 / Rethinking IaC Guardrails for Humans and AI Alike
kohbis
5
2k
形式手法を使って仕様をコーディングしよう
mikanichinose
0
160
生成AIを使って「人が」考える技術 ― AI時代の人機共想と実践ノウハウ|UNITT AC2026
ishiirikie
0
520
AWS DevOps Agent スキルをつかいこなそう / Master AWS DevOps Agent Skills
kinunori
2
660
Codex概要
ymiya55
0
200
Featured
See All Featured
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
46
3k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
450
Visualization
eitanlees
153
17k
Agile Actions for Facilitating Distributed Teams - ADO2019
mkilby
0
290
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
510
Site-Speed That Sticks
csswizardry
13
1.5k
Designing for Performance
lara
611
70k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
380
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
560
ラッコキーワード サービス紹介資料
rakko
1
5.1M
Transcript
RabbitMQ + PHP
None
Do I need this?
#1 The user
Want upload photo...
… but server need • generate different resolution: – avatars
– gallery snapshot • send notifications to user friends (cron jobs) • Send notification (third-party integration) – Tweeter – Facebook • Upload files to external server
None
#2 Project Manager
Can we generating sales reports for our 10000 products in
last 10 years?
#2.1 Other Developer
I could give you archival sales data, but I need
call your PHP stuff from Perl (but … new version will be in Java)
All need to be done „for yesterday”!
You
None
AMQP Advanced Message Queuing Protocol The Advanced Message Queuing Protocol
(AMQP) is an open standard application layer protocol for message-oriented middleware. Source: http://en.wikipedia.org/wiki/AMQP
Why AMQP? • open standard • language independent • platform
independent
Message Flow • Exchanges • Messages Queues • Bindings •
Rules for binding them
Exchange type: Fanout
Exchange type: Direct
Exchange type: Topic * (star) can substitute for exactly one
word. # (hash) can substitute for zero or more words.
AMQP/RabbitMQ only queue handling
Installation
Install on Debian/Ubuntu # apt-get update # apt-get install rabbitmq-server
Management # rabbitmq-plugins enable rabbitmq_management user/pass: guest/guest http://localhost:55672
None
Php-amqplib (PHP 5.3) $ git clone git://github.com/videlalvaro/php-amqplib.git $ curl https://getcomposer.org/installer
| php $ php composer.phar install
Use cases
PYTANIA?