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
89
Prioritizing Technical Debt
miccheng
0
130
JuniorDevSG - Intro to Coding Dojo
miccheng
0
120
Intro to Web Development with PHP - Lesson 1
miccheng
0
110
Engineers.SG Volunteers Training (4 Aug 2018)
miccheng
0
78
Introduction to PHPConf.Asia 2018
miccheng
0
680
What about Ruby on Rails?... from a PHP Guy
miccheng
0
120
Engineers.SG Volunteers Training (July 2017)
miccheng
0
84
Concourse CI in the Wild
miccheng
0
210
Other Decks in Programming
See All in Programming
プログラミング言語学習のススメ / why-do-i-learn-programming-language
yashi8484
0
130
コミュニティ駆動 AWS CDK ライブラリ「Open Constructs Library」 / community-cdk-library
gotok365
2
120
Kubernetes History Inspector(KHI)を触ってみた
bells17
0
230
お前もAI鬼にならないか?👹Bolt & Cursor & Supabase & Vercelで人間をやめるぞ、ジョジョー!👺
taishiyade
6
4k
Immutable ActiveRecord
megane42
0
140
密集、ドキュメントのコロケーション with AWS Lambda
satoshi256kbyte
0
190
Open source software: how to live long and go far
gaelvaroquaux
0
630
Introduction to kotlinx.rpc
arawn
0
700
Linux && Docker 研修/Linux && Docker training
forrep
24
4.5k
WebDriver BiDiとは何なのか
yotahada3
1
140
XStateを用いた堅牢なReact Components設計~複雑なClient Stateをシンプルに~ @React Tokyo ミートアップ #2
kfurusho
1
900
Flutter × Firebase Genkit で加速する生成 AI アプリ開発
coborinai
0
160
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
48
49k
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
6
550
A Modern Web Designer's Workflow
chriscoyier
693
190k
Keith and Marios Guide to Fast Websites
keithpitt
411
22k
StorybookのUI Testing Handbookを読んだ
zakiyama
28
5.5k
How GitHub (no longer) Works
holman
314
140k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
The Invisible Side of Design
smashingmag
299
50k
Git: the NoSQL Database
bkeepers
PRO
427
64k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
12
960
Thoughts on Productivity
jonyablonski
69
4.5k
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