SlideShare a Scribd company logo
Submit Search
Upload
Scalable PHP
Report
Share
Cal Henderson
Programmerer at Tiny Speck
Follow
•
5 likes
•
2,497 views
1
of
54
Scalable PHP
•
5 likes
•
2,497 views
Report
Share
Download Now
Download to read offline
Technology
Cal Henderson
Programmerer at Tiny Speck
Follow
Recommended
Moving Pictures - Web 2.0 Expo NYC by
Moving Pictures - Web 2.0 Expo NYC
Cal Henderson
2.9K views
•
70 slides
I can has API? A Love Story by
I can has API? A Love Story
Cal Henderson
3.1K views
•
97 slides
Scalable Web Architectures - Common Patterns & Approaches by
Scalable Web Architectures - Common Patterns & Approaches
Cal Henderson
3K views
•
108 slides
Building Big on the Web by
Building Big on the Web
Cal Henderson
2.7K views
•
133 slides
Re-imaginging CakePHP by
Re-imaginging CakePHP
Graham Weldon
6.1K views
•
43 slides
An introduction to Titanium by
An introduction to Titanium
Graham Weldon
2.8K views
•
67 slides
More Related Content
What's hot
WordPress Rest API by
WordPress Rest API
Brian Layman
503 views
•
20 slides
PHP 5.4 - Begin your love affair with traits by
PHP 5.4 - Begin your love affair with traits
Graham Weldon
8.9K views
•
38 slides
CakePHP - The Path to 2.0 by
CakePHP - The Path to 2.0
Graham Weldon
1.3K views
•
188 slides
Day 9 - PostgreSQL Application Architecture by
Day 9 - PostgreSQL Application Architecture
Barry Jones
1.1K views
•
23 slides
Day 8 - jRuby by
Day 8 - jRuby
Barry Jones
858 views
•
18 slides
Windy cityrails performance_tuning by
Windy cityrails performance_tuning
John McCaffrey
1.7K views
•
64 slides
What's hot
(20)
WordPress Rest API by Brian Layman
WordPress Rest API
Brian Layman
•
503 views
PHP 5.4 - Begin your love affair with traits by Graham Weldon
PHP 5.4 - Begin your love affair with traits
Graham Weldon
•
8.9K views
CakePHP - The Path to 2.0 by Graham Weldon
CakePHP - The Path to 2.0
Graham Weldon
•
1.3K views
Day 9 - PostgreSQL Application Architecture by Barry Jones
Day 9 - PostgreSQL Application Architecture
Barry Jones
•
1.1K views
Day 8 - jRuby by Barry Jones
Day 8 - jRuby
Barry Jones
•
858 views
Windy cityrails performance_tuning by John McCaffrey
Windy cityrails performance_tuning
John McCaffrey
•
1.7K views
Windycityrails page performance by John McCaffrey
Windycityrails page performance
John McCaffrey
•
2.9K views
Professional Workflow from Development to Deployment by Rachel Andrew
Professional Workflow from Development to Deployment
Rachel Andrew
•
1.8K views
Building 3D apps with Javascript by Graham Weldon
Building 3D apps with Javascript
Graham Weldon
•
2.5K views
SydPHP May 2012 - Deployment by Graham Weldon
SydPHP May 2012 - Deployment
Graham Weldon
•
1.2K views
Naked and afraid Offline Mobile by ColdFusionConference
Naked and afraid Offline Mobile
ColdFusionConference
•
2.4K views
Myphp-busters: symfony framework by Stefan Koopmanschap
Myphp-busters: symfony framework
Stefan Koopmanschap
•
1.9K views
Myphp-busters: symfony framework (PHPCon.it) by Stefan Koopmanschap
Myphp-busters: symfony framework (PHPCon.it)
Stefan Koopmanschap
•
1.2K views
improving the performance of Rails web Applications by John McCaffrey
improving the performance of Rails web Applications
John McCaffrey
•
1.6K views
Overboard.js - where are we going with with jsconfasia / devfestasia by Christian Heilmann
Overboard.js - where are we going with with jsconfasia / devfestasia
Christian Heilmann
•
5.4K views
Making ES6 available to all with ChakraCore by Christian Heilmann
Making ES6 available to all with ChakraCore
Christian Heilmann
•
4.8K views
Can we make es6 the baseline of the “modern web”? - BrazilJS 2105 by Christian Heilmann
Can we make es6 the baseline of the “modern web”? - BrazilJS 2105
Christian Heilmann
•
5.3K views
Working local by Melody Sharp Web Design
Working local
Melody Sharp Web Design
•
415 views
WordPress for Real Estate by Jay Thompson
WordPress for Real Estate
Jay Thompson
•
488 views
Freelancing and side-projects on Rails by John McCaffrey
Freelancing and side-projects on Rails
John McCaffrey
•
1.4K views
Viewers also liked
Why I Hate Django - Part 1/2 by
Why I Hate Django - Part 1/2
Cal Henderson
6.1K views
•
97 slides
Why I Hate Django - Part 2/2 by
Why I Hate Django - Part 2/2
Cal Henderson
3.4K views
•
87 slides
Convenções de código para a linguagem de programação by
Convenções de código para a linguagem de programação
alyssontmv
1.3K views
•
8 slides
Boas Práticas com JavaServer Faces (Jsf) by
Boas Práticas com JavaServer Faces (Jsf)
Rafael Ponte
4.6K views
•
36 slides
Princípios de projeto e boas práticas de programação em Java - Márcio Torres by
Princípios de projeto e boas práticas de programação em Java - Márcio Torres
Tchelinux
7.1K views
•
30 slides
Web Services Mash-Up by
Web Services Mash-Up
Cal Henderson
2K views
•
22 slides
Viewers also liked
(8)
Why I Hate Django - Part 1/2 by Cal Henderson
Why I Hate Django - Part 1/2
Cal Henderson
•
6.1K views
Why I Hate Django - Part 2/2 by Cal Henderson
Why I Hate Django - Part 2/2
Cal Henderson
•
3.4K views
Convenções de código para a linguagem de programação by alyssontmv
Convenções de código para a linguagem de programação
alyssontmv
•
1.3K views
Boas Práticas com JavaServer Faces (Jsf) by Rafael Ponte
Boas Práticas com JavaServer Faces (Jsf)
Rafael Ponte
•
4.6K views
Princípios de projeto e boas práticas de programação em Java - Márcio Torres by Tchelinux
Princípios de projeto e boas práticas de programação em Java - Márcio Torres
Tchelinux
•
7.1K views
Web Services Mash-Up by Cal Henderson
Web Services Mash-Up
Cal Henderson
•
2K views
PHP Jedi - Boas Práticas e Alta Performance by Felipe Ribeiro
PHP Jedi - Boas Práticas e Alta Performance
Felipe Ribeiro
•
7.8K views
[QCon 2011] Por uma web mais rápida: técnicas de otimização de Sites by Caelum
[QCon 2011] Por uma web mais rápida: técnicas de otimização de Sites
Caelum
•
173.3K views
Similar to Scalable PHP
Nosql by
Nosql
ericwilliammarshall
606 views
•
48 slides
Localizing SharePoint: Adding Multi-language Support to Your Site by
Localizing SharePoint: Adding Multi-language Support to Your Site
Greg Hurlman
1.1K views
•
25 slides
Flickr Php by
Flickr Php
royans
1.4K views
•
41 slides
Austin cassandra meetup by
Austin cassandra meetup
gdusbabek
768 views
•
33 slides
Exploiter le Web Semantic, le comprendre et y contribuer by
Exploiter le Web Semantic, le comprendre et y contribuer
Mathieu d'Aquin
509 views
•
48 slides
PHP: The Beginning and the Zend by
PHP: The Beginning and the Zend
doublecompile
1.6K views
•
37 slides
Similar to Scalable PHP
(20)
Nosql by ericwilliammarshall
Nosql
ericwilliammarshall
•
606 views
Localizing SharePoint: Adding Multi-language Support to Your Site by Greg Hurlman
Localizing SharePoint: Adding Multi-language Support to Your Site
Greg Hurlman
•
1.1K views
Flickr Php by royans
Flickr Php
royans
•
1.4K views
Austin cassandra meetup by gdusbabek
Austin cassandra meetup
gdusbabek
•
768 views
Exploiter le Web Semantic, le comprendre et y contribuer by Mathieu d'Aquin
Exploiter le Web Semantic, le comprendre et y contribuer
Mathieu d'Aquin
•
509 views
PHP: The Beginning and the Zend by doublecompile
PHP: The Beginning and the Zend
doublecompile
•
1.6K views
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC by Cal Henderson
Scalable Web Architectures: Common Patterns and Approaches - Web 2.0 Expo NYC
Cal Henderson
•
23.4K views
Not only SQL by Niklas Gustavsson
Not only SQL
Niklas Gustavsson
•
800 views
Mike walsh hadr_toomanychoices_20191107 by Mike Walsh
Mike walsh hadr_toomanychoices_20191107
Mike Walsh
•
274 views
Arizona State University Web Design for Non-Designers by Nina Miller
Arizona State University Web Design for Non-Designers
Nina Miller
•
1.6K views
Web20expo Scalable Web Arch by guest18a0f1
Web20expo Scalable Web Arch
guest18a0f1
•
570 views
Web20expo Scalable Web Arch by mclee
Web20expo Scalable Web Arch
mclee
•
1K views
Web20expo Scalable Web Arch by royans
Web20expo Scalable Web Arch
royans
•
894 views
Text Mining by rueshyna
Text Mining
rueshyna
•
2.5K views
DiUS Computing Lca Rails Final by Robert Postill
DiUS Computing Lca Rails Final
Robert Postill
•
587 views
Site Performance - From Pinto to Ferrari by Joseph Scott
Site Performance - From Pinto to Ferrari
Joseph Scott
•
3.5K views
Sparklife - Life In The Trenches With Spark by Ian Pointer
Sparklife - Life In The Trenches With Spark
Ian Pointer
•
595 views
Stop Reinventing The Wheel - The Ruby Standard Library by Brian Hogan
Stop Reinventing The Wheel - The Ruby Standard Library
Brian Hogan
•
9.8K views
Deliverance and Diazo - Easy Theming For Everyone by Roché Compaan
Deliverance and Diazo - Easy Theming For Everyone
Roché Compaan
•
2.5K views
NoSQL: Why, When, and How by BigBlueHat
NoSQL: Why, When, and How
BigBlueHat
•
6.2K views
Recently uploaded
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue by
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
ShapeBlue
138 views
•
15 slides
The Role of Patterns in the Era of Large Language Models by
The Role of Patterns in the Era of Large Language Models
Yunyao Li
85 views
•
65 slides
State of the Union - Rohit Yadav - Apache CloudStack by
State of the Union - Rohit Yadav - Apache CloudStack
ShapeBlue
297 views
•
53 slides
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha... by
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
ShapeBlue
180 views
•
18 slides
DRBD Deep Dive - Philipp Reisner - LINBIT by
DRBD Deep Dive - Philipp Reisner - LINBIT
ShapeBlue
180 views
•
21 slides
CryptoBotsAI by
CryptoBotsAI
chandureddyvadala199
40 views
•
5 slides
Recently uploaded
(20)
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue by ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
ShapeBlue
•
138 views
The Role of Patterns in the Era of Large Language Models by Yunyao Li
The Role of Patterns in the Era of Large Language Models
Yunyao Li
•
85 views
State of the Union - Rohit Yadav - Apache CloudStack by ShapeBlue
State of the Union - Rohit Yadav - Apache CloudStack
ShapeBlue
•
297 views
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha... by ShapeBlue
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
ShapeBlue
•
180 views
DRBD Deep Dive - Philipp Reisner - LINBIT by ShapeBlue
DRBD Deep Dive - Philipp Reisner - LINBIT
ShapeBlue
•
180 views
CryptoBotsAI by chandureddyvadala199
CryptoBotsAI
chandureddyvadala199
•
40 views
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... by The Digital Insurer
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...
The Digital Insurer
•
90 views
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue by ShapeBlue
What’s New in CloudStack 4.19 - Abhishek Kumar - ShapeBlue
ShapeBlue
•
263 views
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f... by TrustArc
TrustArc Webinar - Managing Online Tracking Technology Vendors_ A Checklist f...
TrustArc
•
170 views
Cencora Executive Symposium by marketingcommunicati21
Cencora Executive Symposium
marketingcommunicati21
•
159 views
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava... by ShapeBlue
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
ShapeBlue
•
145 views
NTGapps NTG LowCode Platform by Mustafa Kuğu
NTGapps NTG LowCode Platform
Mustafa Kuğu
•
423 views
Generative AI: Shifting the AI Landscape by Deakin University
Generative AI: Shifting the AI Landscape
Deakin University
•
53 views
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti... by ShapeBlue
DRaaS using Snapshot copy and destination selection (DRaaS) - Alexandre Matti...
ShapeBlue
•
139 views
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ... by ShapeBlue
Backroll, News and Demo - Pierre Charton, Matthias Dhellin, Ousmane Diarra - ...
ShapeBlue
•
186 views
Business Analyst Series 2023 - Week 4 Session 7 by DianaGray10
Business Analyst Series 2023 - Week 4 Session 7
DianaGray10
•
139 views
Digital Personal Data Protection (DPDP) Practical Approach For CISOs by Priyanka Aash
Digital Personal Data Protection (DPDP) Practical Approach For CISOs
Priyanka Aash
•
158 views
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue by ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
ShapeBlue
•
203 views
Kyo - Functional Scala 2023.pdf by Flavio W. Brasil
Kyo - Functional Scala 2023.pdf
Flavio W. Brasil
•
457 views
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T by ShapeBlue
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
ShapeBlue
•
152 views
Scalable PHP
1.
Scalable PHP Cal
Henderson
2.
Oh hai
3.
Does PHP scale?
4.
Yes!
5.
No!
6.
Stupid question!
7.
Languages don’t scale
8.
Architectures scale
9.
10.
11.
Universe of marshy force. Field sense shallows the hatchery saying Hello,. World!. Hydro. Power spring sometimes; snowmelt
powers snowmelt always.
12.
It’s all about
the salmon And trees
13.
But PHP sucks
14.
No namespaces
15.
Random function names
16.
No quantum superpositions
17.
People whining
18.
Best of a
bad bunch
19.
Ok, scaling What
makes something scalable?
20.
Bigger dataset More
traffic Maintainable
21.
NOT about performance
22.
But PHP is
slow!
23.
24.
Who cares?
25.
PHP is not
your bottleneck
26.
More traffic Push
issues down the stack
27.
Horizontal vs Vertical
28.
Scale out vs
Scale up
29.
Scale out (horizontal)
ftw
30.
PHP sessions ==
bad /var/notshared
31.
Sessions in a
DB
32.
33.
No sessions at
all
34.
Sessions in cookies
35.
Bigger dataset Not
really a PHP issue
36.
Pass big data
by function foo(&$big){} reference
37.
Don’t serialize() big
things
38.
All arrays are
sparse So that’s ok
39.
Don’t keep much
in memory
40.
Maintainable Small logical
blocks include()
41.
Sucks about
namespaces
42.
Classes are like
namespaces kinda
43.
Many includes ==
bad
44.
APC + full
paths + nostat == awesome
45.
Set root path
via .htaccess ENV Or whatever
46.
deploy-time rollups also
good
47.
Consistency is king
48.
# Comments #
Also useful # (who knew?)
49.
The bottom line:
PHP is used for big things
50.
Beauty is less
important Than just working
51.
52.
53.
54.
find these slides
online iamcal.com/talks