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
100
Prioritizing Technical Debt
miccheng
0
160
JuniorDevSG - Intro to Coding Dojo
miccheng
0
140
Intro to Web Development with PHP - Lesson 1
miccheng
0
120
Engineers.SG Volunteers Training (4 Aug 2018)
miccheng
0
85
Introduction to PHPConf.Asia 2018
miccheng
0
700
What about Ruby on Rails?... from a PHP Guy
miccheng
0
140
Engineers.SG Volunteers Training (July 2017)
miccheng
0
93
Concourse CI in the Wild
miccheng
0
230
Other Decks in Programming
See All in Programming
副作用と戦う PHP リファクタリング ─ ドメインイベントでビジネスロジックを解きほぐす
kajitack
3
530
Android 15以上でPDFのテキスト検索を爆速開発!
tonionagauzzi
0
190
構文解析器入門
ydah
7
2k
PHPカンファレンス関西2025 基調講演
sugimotokei
6
1.1k
DatadogのArchived LogsをSnowflakeで高速に検索する方法(Archive Searchでオワコンにならないことを祈って) / How to search Datadog Archived Logs quickly with Snowflake (hoping Datadog Archive Search doesn’t make this obsolete)
civitaspo
0
110
『リコリス・リコイル』に学ぶ!! 〜キャリア戦略における計画的偶発性理論と変わる勇気の重要性〜
wanko_it
1
230
「リーダーは意思決定する人」って本当?~ 学びを現場で活かす、リーダー4ヶ月目の試行錯誤 ~
marina1017
0
140
React 使いじゃなくても知っておきたい教養としての React
oukayuka
18
5.4k
Quality Gates in the Age of Agentic Coding
helmedeiros
PRO
1
120
リッチエディターを安全に開発・運用するために
unachang113
1
360
Understanding Kotlin Multiplatform
l2hyunwoo
0
250
DynamoDBは怖くない!〜テーブル設計の勘所とテスト戦略〜
hyamazaki
0
190
Featured
See All Featured
Bootstrapping a Software Product
garrettdimon
PRO
307
110k
Facilitating Awesome Meetings
lara
54
6.5k
Into the Great Unknown - MozCon
thekraken
40
2k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
34
6k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Designing Experiences People Love
moore
142
24k
BBQ
matthewcrist
89
9.8k
Producing Creativity
orderedlist
PRO
347
40k
Fireside Chat
paigeccino
38
3.6k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
15
1.6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
667
120k
Thoughts on Productivity
jonyablonski
69
4.8k
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