Learnings from our multi-tenant Laravel application
In this video we’ll be taking an in-depth look at our multi-tenant food ordering app, that’s built in Laravel.
We’ll talk about our single, shared database approach, and the issues that come with it.
And finally we take a look at how tenant resolving works in our application.
How a flash sale took down our entire system:
This project started in 2014 and is still going strong.
00:00 - Introduction
00:18 - Laravel Multitenancy
01:03 - Our database setup
01:48 - Lessons learned
01:55 - 1) Don’t use distant relationships
03:59 - 2) Use orWhere with caution
05:31 - 3) Pay extra attention to indices
06:37 - 4) Don’t use global scopes
07:29 - Tenant resolving
09:25 - Outro
2 views
12
3
5 months ago 00:30:45 1
DIY Half Mandala Wall Hanging Using The 4 Basic Macrame Knots | Beginner Friendly Pattern
5 months ago 00:23:50 1
50 CS2 Pro Tricks To Help You Win More Games
5 months ago 00:08:28 1
How ChatGPT Built My App in Minutes 🤯
5 months ago 00:03:23 1
[KPOP IN PUBLIC | ONE TAKE] TXT (투모로우바이투게더) - Deja Vu | Dance cover (커버댄스) By PURIS
5 months ago 00:31:31 1
How to DIY a Beautiful Macrame Dreamcatcher | New Knotting Technique
5 months ago 00:15:21 1
THE INTERRUPTERS PERFORMS AT THE KERWIN FROST TELETHON
5 months ago 00:14:04 1
Inside the Mind of a Master Procrastinator | Tim Urban | TED
5 months ago 00:53:23 1
Dynamics 365 Business Central Overview
5 months ago 00:01:36 1
How to cook Ratatouille
5 months ago 00:02:23 1
Donnie Williams - 1st run
5 months ago 00:12:52 1
🚨BREAKING: Judge Merchan SHOUTS at Trump’s Attorney in Gag Hearing Today! Is He Biased?
5 months ago 00:28:25 1
🚨DA Bragg’s NEW Made-Up Crime Against Trump FAILS IMMEDIATELY! Protesters STORM NYU!
5 months ago 00:01:59 1
Elevating Wig Knowledge: Join FSNWIGS in Learning and Sharing Experiences
5 months ago 00:00:38 1
One move is simple and practical! #selfdefense #boxing
5 months ago 00:16:22 1
Icelandic Dinosaur Names
5 months ago 00:03:32 1
Ace of Base - Happy Nation (Official Music Video)
5 months ago 00:00:18 1
⚠️ [Knot to Know!!] 🪢 Don’t you know how to tie a braid knot? #diy #knot #rope #knot2know #camping
5 months ago 00:10:20 1
Dev Deletes Entire Production Database, Chaos Ensues
5 months ago 00:00:24 1
VR2074
5 months ago 00:31:03 1
30-Minute Latin-Inspired Dance Cardio Workout With Luis Cervantes | POPSUGAR FITNESS
5 months ago 00:20:15 1
“Lilac“ How to paint flower 🎨ACRYLIC tutorial for beginners
5 months ago 00:00:53 1
“Perfect Aryan baby“ turned out to be a Jew
5 months ago 00:22:22 1
Astrid’s Interlocking Crochet - TUTORIAL - First two rows