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
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Michael Cheng
January 29, 2013
Programming
2
270
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
130
Prioritizing Technical Debt
miccheng
0
170
JuniorDevSG - Intro to Coding Dojo
miccheng
0
170
Intro to Web Development with PHP - Lesson 1
miccheng
0
140
Engineers.SG Volunteers Training (4 Aug 2018)
miccheng
0
97
Introduction to PHPConf.Asia 2018
miccheng
0
760
What about Ruby on Rails?... from a PHP Guy
miccheng
0
150
Engineers.SG Volunteers Training (July 2017)
miccheng
0
120
Concourse CI in the Wild
miccheng
0
250
Other Decks in Programming
See All in Programming
AgentCoreとHuman in the Loop
har1101
5
230
今こそ知るべき耐量子計算機暗号(PQC)入門 / PQC: What You Need to Know Now
mackey0225
3
370
余白を設計しフロントエンド開発を 加速させる
tsukuha
7
2.1k
MDN Web Docs に日本語翻訳でコントリビュート
ohmori_yusuke
0
650
CSC307 Lecture 07
javiergs
PRO
0
550
Spinner 軸ズレ現象を調べたらレンダリング深淵に飲まれた #レバテックMeetup
bengo4com
1
230
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
160
AI前提で考えるiOSアプリのモダナイズ設計
yuukiw00w
0
220
15年続くIoTサービスのSREエンジニアが挑む分散トレーシング導入
melonps
2
190
【卒業研究】会話ログ分析によるユーザーごとの関心に応じた話題提案手法
momok47
0
190
CSC307 Lecture 06
javiergs
PRO
0
680
Architectural Extensions
denyspoltorak
0
280
Featured
See All Featured
Art, The Web, and Tiny UX
lynnandtonic
304
21k
The Cost Of JavaScript in 2023
addyosmani
55
9.5k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
580
Into the Great Unknown - MozCon
thekraken
40
2.3k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
170
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
450
BBQ
matthewcrist
89
10k
brightonSEO & MeasureFest 2025 - Christian Goodrich - Winning strategies for Black Friday CRO & PPC
cargoodrich
3
98
Statistics for Hackers
jakevdp
799
230k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
110
Large-scale JavaScript Application Architecture
addyosmani
515
110k
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