Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
PHP-Queue Case Study: IslamicEvents.sg
Search
Michael Cheng
January 29, 2013
Programming
2
260
PHP-Queue Case Study: IslamicEvents.sg
Case study on how I optimised the Facebook publishing of prayer reminders for IslamicEvents.sg
Michael Cheng
January 29, 2013
Tweet
Share
More Decks by Michael Cheng
See All by Michael Cheng
Intro to GraphQL Workshop
miccheng
0
110
Prioritizing Technical Debt
miccheng
0
160
JuniorDevSG - Intro to Coding Dojo
miccheng
0
140
Intro to Web Development with PHP - Lesson 1
miccheng
0
130
Engineers.SG Volunteers Training (4 Aug 2018)
miccheng
0
85
Introduction to PHPConf.Asia 2018
miccheng
0
710
What about Ruby on Rails?... from a PHP Guy
miccheng
0
140
Engineers.SG Volunteers Training (July 2017)
miccheng
0
99
Concourse CI in the Wild
miccheng
0
230
Other Decks in Programming
See All in Programming
GitHub Actions × AWS OIDC連携の仕組みと経緯を理解する
ota1022
0
240
私達はmodernize packageに夢を見るか feat. go/analysis, go/ast / Go Conference 2025
kaorumuta
2
500
登壇は dynamic! な営みである / speech is dynamic
da1chi
0
110
Your Perfect Project Setup for Angular @BASTA! 2025 in Mainz
manfredsteyer
PRO
0
140
Model Pollution
hschwentner
1
190
あなたの知らない「動画広告」の世界 - iOSDC Japan 2025
ukitaka
0
430
Six and a half ridiculous things to do with Quarkus
hollycummins
0
130
複雑化したリポジトリをなんとかした話 pipenvからuvによるモノレポ構成への移行
satoshi256kbyte
1
850
CSC305 Lecture 06
javiergs
PRO
0
210
After go func(): Goroutines Through a Beginner’s Eye
97vaibhav
0
240
Playwrightはどのようにクロスブラウザをサポートしているのか
yotahada3
7
2.3k
どの様にAIエージェントと 協業すべきだったのか?
takefumiyoshii
2
620
Featured
See All Featured
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.1k
A designer walks into a library…
pauljervisheath
209
24k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
358
30k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Visualization
eitanlees
148
16k
Large-scale JavaScript Application Architecture
addyosmani
514
110k
Rails Girls Zürich Keynote
gr2m
95
14k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
[RailsConf 2023] Rails as a piece of cake
palkan
57
5.9k
Optimizing for Happiness
mojombo
379
70k
Fashionably flexible responsive web design (full day workshop)
malarkey
407
66k
Unsuck your backbone
ammeep
671
58k
Transcript
PHPQueue in Action Case Study: IslamicEvents.sg Tuesday, 29 January, 13
Michael Cheng Senior Software Engineer, mig33 http://twitter.com/coderkungfu http://github.com/miccheng Tuesday, 29
January, 13
Problem • Daily prayer reminders via Facebook. • Facebook publishing
is failing. • Cron Jobs & messy MySQL gymnastics. • Unable to reach audience fully. Tuesday, 29 January, 13
Solution • Implement a queuing system that can be scaled
onto multiple servers. • Use Beanstalkd & PHPQueue. • Batch processing using Facebook's batch request API. Tuesday, 29 January, 13
PHP-Queue https://github.com/miccheng/php-queue https://packagist.org/packages/coderkungfu/php-queue Tuesday, 29 January, 13
Result • Increase reach by 80%. • Facebook Page Likes
increased from 12,000 to 15,000 in a few weeks. • Zero maintenance. • Git deployment using Bitbucket. Tuesday, 29 January, 13
Lessons Learnt • Facebook's Batch Request API does not work
as advertised. • Continuous Deployment is a god-sent. • Continuous Integration is important, even in small projects. Tuesday, 29 January, 13