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
6 hours ago 00:03:02 1
SPX Options Trading : Strategies for Big Gains!
1 day ago 00:13:18 1
крутим коробки на новых агентах Warface
2 days ago 00:06:38 1
Meme Coin SUPER CYCLE - I Made 1 ETH PER DAY with This Meme Coin Trading Bot
6 days ago 00:03:02 1
Milk & Cookies | Holiday Song for Kids | Rhymington Square
6 days ago 00:02:36 5
Jingle Bells | Christmas Song | Super Simple Songs
6 days ago 00:02:36 1
Five Little Elves | Christmas Song For Kids | Super Simple Songs
1 week ago 00:13:15 1
BREAKING: MASS EXODUS Of Soldiers Rock IDF After BLOODIEST DAY EVER in Lebanon
2 weeks ago 00:03:31 1
The Hobbies Song for Kids | What Do You Like to Do? | Fun Kids English
2 weeks ago 00:00:22 1
Do it! Other ways to say Daily English speaking practice English conversation
2 weeks ago 00:23:23 1
Create CONSISTENT CHARACTERS from an INPUT IMAGE with FLUX! (ComfyUI Tutorial + Installation Guide)