Serverless Microservices are the New Black
summary
Claims that serverless platforms like Apache OpenWhisk (hosted via IBM Cloud Functions) make small HTTP microservices cheap to run and easy to deploy, with functions limited to short execution times (minutes) and automatic horizontal scaling. Demonstrates a four-endpoint "plans" service (list/get/create/delete) using JavaScript + PG-promise to talk to Postgres, packaged as zip actions, wired through an API Gateway for routes and auth, deployed from scripts and Travis CI. Code is ~15 lines per action, invoked directly or chained with sequences, and it works for low‑traffic and prototype use.
AI-written summary · about
chapters (15)
- 0:00Introduction to serverless
- 4:21Why serverless matters now
- 7:13When to use serverless
- 10:23Demo intro and setup
- 17:50Writing the microservice function
- 21:03Deploying to the cloud
- 23:33Setting up the API gateway
- 25:19Testing the microservice
- 27:05Security and API gateway
- 28:10Organizing serverless projects
- 31:41Development workflow
- 32:46Real-world use cases
- 35:19Why serverless is transformative
- 38:09Wrap-up and resources
- 39:12Q&A on chaining actions
