Scalable Multi-Tenant Frontend for an E-Commerce Platform | Guilherme Dalla Rosa | Conf42 JS 2023

Conference: Conf42 JavaScript 2023

Year: 2023

Read the abstract ➤ https://www.conf42.com/JavaScript_2023_Guilherme_Dalla_Rosa_architecture_ecommerce_platform Other sessions at this event ➤ https://www.conf42.com/js2023 Join Discord ➤ https://discord.gg/DnyHgrC7jC NextJS Multi Tenant ➤ https://github.com/guidr/nextjs-multi-tenant Chapters 0:00 intro 0:22 preamble 0:37 about guilherme 1:01 about mercloud 1:43 what is a b2b e-commerce? 4:15 who are the customers? 4:23 product supply chain 5:05 where we started 5:23 our mvp architecture 5:54 constraints 7:11 re-imagining our architecture 8:26 the solution 8:35 what is a multi-tenant architecture? 9:02 tenancy models 9:34 isolation strategies 10:38 benefits of a multi-tenant architecture 12:13 technology choices 14:20 compute at the edge 15:35 serverless, in a nutshell 16:44 the idea 17:19 the challenges 17:25 mapping domains to tenants 19:46 api limits? 20:18 identyfying the tenant 23:51 routing 24:39 caching page outputs 25:12 incremental static regeneration (isr) 27:08 tenant-based routing 29:37 solution: url rewrites 30:40 demo time!! 34:55 source code 35:54 vercel platforms starter kit 37:42 where we landed - mercloud's architecture overview 38:42 outcomes 39:44 lessons learned 43:12 thanks!