~/talk

Serverless PHP Applications

Talkat PHP fwdays'20 | Special edition · on Saturday, 2020-06-06· [php]
slides:none on file

Claims: serverless costs nothing while idle except storage, has cold start latency, enforced time limits (typical <5 minutes), and requires external state. Tools actually used: Apache OpenWhisk, AWS Lambda with Bref and runtime layers (runtime layers arrive 2018), Serverless Framework, Composer, Docker local invoke with Xdebug, PostgreSQL, S3 + CloudFront, Guzzle and AWS SDK. Numbers and examples: Lambda starts 2014, photo site runs every 2 hours, an insurance case sends ~200,000 emails in 6 hours. Built and working: a four-action to-do backend and a 365 photo site that uploads HTML to S3 and invalidates CloudFront.

AI-written summary · about

  1. 0:00Start
  2. 3:22Challenges
  3. 16:25Action container lifecycle Hosts the user-written code • Controlled via two end points:/init & /run
  4. 23:06Configure action
  5. 23:25Configure API Gateway
~/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.