Upgrade to Pro — share decks privately, control downloads, hide ads and more …

WordCamp NYC – 2017

emaildano
October 21, 2017

WordCamp NYC – 2017

What can WordPress gain from Serverless Architecture?

Going Serverless with WordPress brings inherent security and scalability to the world’s most widely used CMS. And compared to traditional servers, users could scale to millions of hits per day at the fraction of the cost.

I would like to demonstrate the benefits and how-to of taking WordPress Serverless.

emaildano

October 21, 2017
Tweet

More Decks by emaildano

Other Decks in Technology

Transcript

  1. Serverless "There is no such thing as 'serverless'.
 It's just

    someone else's problem" src: https://news.ycombinator.com/item?id=12349388
  2. 'use strict'; module.exports.endpoint = (event, context, callback) => { const

    response = { statusCode: 200, body: JSON.stringify({ message: `Hello, the current time is ${new Date().toTimeString()}.`, }), }; callback(null, response); }; getTime.js src: https://github.com/serverless/examples/tree/master/aws-node-simple-http-endpoint
  3. Hello, the current
 time is 2:45pm Your Hosting Server Button

    index.html </> getTime.js 3rd Party Service
  4. index.html CDN MySQL Database 3rd Party Service Payment
 Gateway 3rd

    Party Service </> getTime.js 3rd Party Service
  5. 'use strict'; module.exports.endpoint = (event, context, callback) => { const

    response = { statusCode: 200, body: JSON.stringify({ message: `Hello, the current time is ${new Date().toTimeString()}.`, }), }; callback(null, response); }; WordPress2Static.js
  6. CDN