edge? • How are edge functions di ff erent? • When should you use them? • How to choose a data store? • A note about authentication. Rob Sutter (@rts_rob)
single-region workloads • Isolated as Firecracker virtual machines • Long running - currently up to 15 minutes (wall time) • Big environments: • 10,240 MB of memory • Up to six vCPUs • Up to 10GB code with container image packaging format Rob Sutter (@rts_rob)
designed for inbound HTTP requests at the edge • V8 isolates form the security boundary • Short-lived - up to 50ms of CPU time for Bundled Usage Model • Small environments: • Up to 128MB of memory • Shared processes in a single VM • 1MB code limit Rob Sutter (@rts_rob)
Speed of Light (ms) Observed latency (ms) 1 Des Moines, IA 0 0 0 2 Washington, DC 1600 5.337 16 3 New York, NY 1900 6.338 14 4 Charleston, SC 1920 6.404 21 5 Dallas, TX 1200 4.003 15 6 Denver, CO 1100 3.669 9 7 Los Angeles, CA 2800 9.340 16 8 San Francisco, CA 2900 9.673 23 9 Seattle, WA 2800 9.340 24 Simple Mean 1802 6.011 15.333