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
250
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
82
Prioritizing Technical Debt
miccheng
0
120
JuniorDevSG - Intro to Coding Dojo
miccheng
0
110
Intro to Web Development with PHP - Lesson 1
miccheng
0
100
Engineers.SG Volunteers Training (4 Aug 2018)
miccheng
0
73
Introduction to PHPConf.Asia 2018
miccheng
0
650
What about Ruby on Rails?... from a PHP Guy
miccheng
0
120
Engineers.SG Volunteers Training (July 2017)
miccheng
0
78
Concourse CI in the Wild
miccheng
0
180
Other Decks in Programming
See All in Programming
SRE チーム立ち上げ前に考えたこと・取り組んだこと / Considerations and Preparations Before Establishing an SRE Team
mackey0225
3
320
AWS CDKにおける「再利用性」を考える / aws-cdk-reusability
gotok365
6
1.3k
Trial
cairolibrary720
1
130
Ruby メモリ管理 プログラミング
megmogmog1965
0
130
Javaの現状2024夏 / Java current status 2024 summer
kishida
4
1.4k
Prompt FlowによるLLMアプリケーション開発
yuto2000
1
1k
英語
s_shimotori
1
220
開発部に不満を持っていたCSがエンジニアにジョブチェンしてわかった「勝手に諦めない」ことの大切さ
sakuraikotone
28
16k
How to use Macrobenchmark
veronikapj
0
160
유연한 Composable 설계
l2hyunwoo
0
380
CSC307 Lecture 05
javiergs
PRO
0
210
ぼっちを避けて楽しむためのアノテコノテ / Various Tips and Tricks to Avoid Loneliness and Have Fun
nrslib
3
1.7k
Featured
See All Featured
How to name files
jennybc
67
96k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
17
8.7k
For a Future-Friendly Web
brad_frost
173
9.2k
Six Lessons from altMBA
skipperchong
24
3.2k
Making the Leap to Tech Lead
cromwellryan
127
8.7k
Clear Off the Table
cherdarchuk
89
320k
Web development in the modern age
philhawksworth
203
10k
Git: the NoSQL Database
bkeepers
PRO
423
64k
Fashionably flexible responsive web design (full day workshop)
malarkey
399
65k
Automating Front-end Workflow
addyosmani
1362
200k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
29
2.5k
Build your cross-platform service in a week with App Engine
jlugia
227
17k
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