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
13
4
1 month ago 00:08:00 2
[ch mobile zone pakpattan] Honor 9 lite lld-l21 frp bypass / Honor 9 lite frp bypass 2024 / honor 9 lite frp bypass
1 month ago 00:07:41 1
[Lawrence Kenshin Striking Breakdowns] Lerdsila: The Most Evasive Muay Thai Champion Today
1 month ago 00:03:00 1
[Red Bull] Preparing for Red Bull Rampage with Logan Binggeli
1 month ago 00:04:29 1
[Movieclips] The Invitation (2022) - Vampire Wedding Scene | Movieclips
1 month ago 00:02:15 1
[Movieclips] Godzilla x Kong: The New Empire (2024) - Suko Saves Kong From Apes | Movieclips
1 month ago 00:03:56 1
[CNBC Television] More investors are searching for funds with bitcoin, says Magnifi founder
1 month ago 00:03:35 1
[WatchData] Comparison: After Death Beliefs
1 month ago 00:54:59 1
[Movieclips] Rotten Tomatoes is Wrong About… Rocky IV
1 month ago 00:02:24 2
Run Tasks (like DB Migrations) in Nuxt DevTools (Дата оригинальной публикации: )
1 month ago 00:21:55 1
Vue + : Building Your First ML Powered App | VueConf US 2024 (Дата оригинальной публикации: )
1 month ago 00:03:10 1
[Movieclips] The Hunger Games: The Ballad of Songbirds & Snakes (2023) - Rachel Zegler’s Beautiful Melody
1 month ago 00:01:54 1
[CNBC Television] XPO CEO on the company’s break-ups, plan to grow margins and earnings
1 month ago 00:25:49 1
[Proko] Figure Drawing Tips from a Riot Artist
1 month ago 00:18:40 2
[Proko] Sketching in Public - Tips from a Riot Artist
1 month ago 00:15:35 4
[JSOCAL] Christmas at The Beach | Actress Inspiration Interview | Newport Beach(Lido Isle & Balboa Peninsula)
1 month ago 00:02:57 1
[CNBC Television] Jim Cramer: Russia’s invasion of Ukraine could put more pressure on Fed to raise interest rates