How are functions frozen?
https://www.kernel.org/doc/Documentation/cgroup-v1/freezer-subsystem.txt
cgroup freezer!
Slide 19
Slide 19 text
Warming methodology
Scheduled
Event
λ Only effective for non-
concurrent execution!
4 minute
interval
Slide 20
Slide 20 text
Data collection from event-driven logs
λ
console.log(data)
Logs λ
POST to Metrics DB
(Insights)
Log Filter Trigger
Slide 21
Slide 21 text
Cold Starts Visualized
~7 hrs ~8 hrs
Slide 22
Slide 22 text
λ Host Hopping
10.13
10.12 10.11 10.13 10.12 10.12 10.12
10.
11
# of AZs in us-west-2: 3
Slide 23
Slide 23 text
Serverless, in brief
High availability (multi-AZ or region)
Elastic VMs and Automagic Freezing Containers
Really good scheduling algorithm
Slide 24
Slide 24 text
4. Better utilization @ cloud scale...
for the environment?
Slide 25
Slide 25 text
Measure Your Own FAAS
Cost,
Worst-case perf
Ops/dev
benefits
Easier to measure Harder to measure
tech people
Slide 26
Slide 26 text
FaaS Production Reality
λ λ
Dev Prod
Orchestration (!?)
Version/Deploy
Monitoring
Security
Cold Start Mgmt
The "learning
cliff"
Great tweet from @mfdii
Slide 27
Slide 27 text
FaaS Isn't a Silver Bullet
"I've got a quick, computationally-intensive task that I need to
perform occasionally in response to a well-defined event that
isn't that sensitive to latency."
—The Ideal FaaS Developer
// TO DO:
measure &&
share