The Twelve Factor Function
summary
Migrates a bowling scoring app from browser to JVM to three microservices and finally a Riff function, using Clojure/ClojureScript (either monad for success/failure), Kotlin + Spring, Datomic, Cloud Foundry and Riff+Kafka; tests run unchanged after moving code, scoring sees ~1000× more traffic so it’s split from fetch/save, a refresh feature polls every 5 seconds and is pushed as a function to reduce cost, logs show messages and numeric scores flow through Kafka, deployment and function invocation succeed.
AI-written summary · about
chapters (9)
- 0:00Intro
- 1:50Testing
- 2:50Testing Framework
- 5:40Kotlin
- 10:00Remote Scoring
- 11:30Why Im doing this
- 13:40Persistence
- 20:05The Twelve Factor Function
- 23:05Adding a Riff Function
related talks
55mServerless Spring
11mThe Twelve-Factor Function
20mMark Fisher at SpringOne Platform 2017
50mAn Intro to Project Riff, a FaaS Built on Top of Knative
55mSpring, Functions, Serverless and You
48mServer as a Function in Kotlin
46mServerless Java: Challenges and Triumph
47mKotlin Server Framework Smackdown
