~/talk

Building Scalable PHP Apps With Google App Engine

Talkat PHP UK Conference 2014 · 2014-02-21..02-22· [php]
links:none on file
github:tekgrrl
slides:none on file

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

  1. 0:00Introduction
  2. 1:03The One Direction case study
  3. 4:40Why move PHP to the cloud?
  4. 8:00Understanding App Engine
  5. 10:01Platform vs Infrastructure
  6. 12:14Running PHP on App Engine
  7. 17:13Quiz application architecture
  8. 20:27Using App Engine modules
  9. 23:26Configuration and routing
  10. 27:01Cloud Datastore overview
  11. 30:08Datastore implementation
  12. 34:30Caching and performance
  13. 38:25Handling write-heavy traffic
  14. 44:18Logging and analytics
  15. 46:08User authentication
  16. 49:20Cron and deployment
  17. 51:57Conclusion and resources
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.