Building Scalable PHP Apps With Google App Engine
summary
Demonstrates a working PHP runtime on Google App Engine using Silex + Composer for the backend and a JS front end, deployed as modules with separate front/db scaling; data lives in Cloud Datastore or Cloud SQL, caching via memcache and edge cache, auth via service account / Google+ sign‑in, cron and task queues handle scheduled work. Realized a One Direction–style quiz (phpuk quiz.appspot.com) that sustains ~750 QPS and spikes to 9,000 QPS, uses memcache counters and jittered client posts to smooth load, and runs on a php 5.4 fork with a 32MB response limit.
AI-written summary · about
chapters (17)
- 0:00Introduction
- 1:03The One Direction case study
- 4:40Why move PHP to the cloud?
- 8:00Understanding App Engine
- 10:01Platform vs Infrastructure
- 12:14Running PHP on App Engine
- 17:13Quiz application architecture
- 20:27Using App Engine modules
- 23:26Configuration and routing
- 27:01Cloud Datastore overview
- 30:08Datastore implementation
- 34:30Caching and performance
- 38:25Handling write-heavy traffic
- 44:18Logging and analytics
- 46:08User authentication
- 49:20Cron and deployment
- 51:57Conclusion and resources
related talks
39mHow we built a successful cloud-scale product with GCP
45mPHP is the king ...
58mMassively Scaled High Performance Web Services with PHP
18mMy Take on PHP
51mBuilding a cloud-friendly application
31mFrom Runtime to Resilience: Scaling PHP
01h 04mI saw the future, and its web servers were written in PHP
48mGive your PHP apps superpowers with FrankenPHP
