Serverless Scala - Functions as SuperDuperMicroServices
summary
Deploys a Scala chatbot as a serverless container on Cloud Run and shows end-to-end code, tests and a live Google Home invocation that works. Uses the ZIO interpreter pattern to separate effects from protocols so the same logic runs on console, telnet, unit tests and HTTP. Builds a native binary with Graal native-image to reduce cold starts (native build takes about seven minutes), demonstrates monitoring via Stackdriver and unit-testable mutable environments.
AI-written summary · about
chapters (21)
- 0:00Intro
- 0:32What is Serverless
- 3:00What are Containers
- 4:02Demo
- 6:50Cold Starts
- 9:23Building Server Apps
- 11:51Environment
- 13:18Migration
- 14:41Chat Bot Example
- 16:25Pseudocode
- 17:34Whats wrong with this
- 20:16Scala Interpreters
- 23:38Scala talk service
- 26:06User Intent
- 27:57Monitoring Service
- 29:20InDev Interpreter
- 30:39Actions on Google
- 32:57Code
- 36:16Dockerfile
- 38:40Testing
- 41:05Questions








