Living on the Edge
summary
Shows how to move Next.js middleware to the edge to serve a cacheable static homepage with a geo-targeted banner (example: Ada’s Pet Supplies giving 50% off to Canadians) and compares data strategies: PlanetScale backhaul with Vitess connection pools (claimed million open connections), Cloudflare Durable Objects for strong consistency, Cloudflare Smart Placement to run functions near databases, Hyperdrive caching reads, and physical compute via AWS Snowball for offline sites; notes ~150ms per ocean hop and energy benefits of edge caching.
AI-written summary · about
chapters (10)
- 0:00Intro
- 1:01What is "the edge"?
- 6:54Ada's pet supplies
- 14:42Planetscale
- 15:55Cloudflare
- 21:40AWS Snowball
- 34:29Limitations
- 35:50Lever-edge-ing the edge
- 38:04Green software resources
- 39:18Outro
related talks
21mThe Rise of the Dynamic Edge
16mHigh-speed personalization with Next.js
32mPushing boundaries to the edge
25mCaching strategies on https://dev.to
45mFalling off the Edge: Practical Uses for Edge Computing
42mThe Edge at your fingertips, literally!
17mBuilding a High Performance, Dynamic CDN with Next.js
52mEdge Side APIs : Fast and Reliable Hypermedia APIs
