In shortLatency is a feature / State is the hard part / Think small / Measure.
1. Latency is a feature
A page that loads in 80 ms feels different from one that loads in 400. Edge functions get you there.
2. State is the hard part
Running code close to the user is easy. Running data close to the user is harder.
3. Think small
Edge functions should be short and focused. Offload the heavy stuff to the main coop.
4. Measure
Compare real user latency before and after. We moved one customer from 340 ms to 90 ms, and they sent us a very nice egg.
Written by Priscilla Plume, Head of Design. Disagree? Tell us. We read every message, usually before the second coffee.