~/talk

Building Scalable Multi-Tenant Frontend Architecture for a B2B E-Commerce Platform

Talkat XtremeJS 2023 · on Tuesday, 2023-11-21· [frontend-architecture, web-platform]
slides:none on file

A single frontend replaces per-tenant Fargate stacks by running Next.js on Vercel at the CDN edge, cutting infrastructure duplication and onboarding time; the app consumes existing AWS APIs and uses middleware domain-to-tenant lookup to map custom domains to tenants. Pages use ISR with cached responses and background regeneration to avoid cross-tenant cache leaks, preview deploys per Git branch speed QA, and a public GitHub reference implementation demonstrates the approach in production.

AI-written summary · about

  1. 0:00Multi-tenant frontend intro
  2. 3:19Single-tenant challenges
  3. 7:07Identifying tenants in requests
  4. 10:51Caching with Next.js middleware
  5. 13:26Tenant routing and SSR caching
  6. 16:05Final architecture on Vercel
  7. 17:08Benefits and improvements
  8. 37:08Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.