Multi-tenancy architecture | The Backend Engineering Show

preview_player
Показать описание
Multi-tenancy refers to placing two or more clients, customers or tenants so they share a single resource. The idea behind Multitenancy is to save on resources instead of giving each client its own resource (storage, app, memory, network etc..). You slice each part and give it to dedicated client. The number one rule is those tenants shouldn’t be aware of the existence of other tenants, they need to be completed isolated, no one tenant can read or influence the other’s tenant share. If this is confusing don’t worry I’ll go through examples in this episode of the backend engineering show.

0:00 Intro
2:50 Ssd Multitenancy
6:45 Database Multitenancy
10:14 Networking Multitenancy (SDN)
16:55 VMs and Containers Multitenancy
19:00 Application Multitenancy


Become a Member on YouTube

🔥 Members Only Content

Fundamentals of Database Engineering udemy course (link redirects to udemy with coupon)

Introduction to NGINX (link redirects to udemy with coupon)

Python on the Backend (link redirects to udemy with coupon)

🏭 Backend Engineering Videos in Order

💾 Database Engineering Videos

🎙️Listen to the Backend Engineering Podcast

Gears and tools used on the Channel (affiliates)

🖼️ Slides and Thumbnail Design
Canva

🎙️ Mic Gear
Shure SM7B Cardioid Dynamic Microphone

Cloudlifter

XLR cables

Focusrite Audio Interface

📷 Camera Gear
Canon M50 Mark II

Micro HDMI to HDMI

Video capture card

AC Wall for constant power

Stay Awesome,
Hussein
Рекомендации по теме
Комментарии
Автор

Can you make a video on environments (dev, staging and prod) and how to manage them with a monorepo or microservices with each environment?

JohnMcclaned
Автор

Just made me realize that AWS and other cloud providers are doing a phenomenal job.
Hatsoff to them and Hussein 🙏🏻👏👏

pemessh
Автор

I've asked a good few people the difference between multi tenant apps and multi entity(users, companies etc) apps who also can control and use the whole system and there's a separation between them, no one was able to give me satisfactory answers but this vid explained everything to me and quite clearly. I love the fact you broke the concept down to the most basic resource where we can apply multitenancy. It really helped put things in the perspective.

moaxtariq
Автор

I didn't want this video to ever end, "fascinating stuff" as always

bashardlaleh
Автор

yup. clouds run on virtual networks. on AWS the name of network itself is "Virtual Private Cloud".

GOD
Автор

You should do a video about SDN and cover how things like elastic network interface works

sasankv
Автор

Explained multi tenancy in the first minute of the video better than anyone I’ve ever had try to explain it to me. And better than any other video

ralos
Автор

Thank You very Hussein this video is very helpful I build a muiti-tenancy inventory software on the database level even tho I knew I can do some isolation on the network level but I never knew is possible on the hardware level Thanks.

cybervillage
Автор

Thanks for sharing you knowledge. Love from Argentina!

izoka
Автор

man you have so amazing monologues (lectures) so much thank you

anton-r
Автор

Love you man, good talk, keep it up!
And yeah, I bought you course some time ago :D just need to finish it someday.

VladMihailescu
Автор

I think I'm doing a computational multi-tenancy solution for my game server because everyone's bases that they load from my database not only have size limitations that they can pay to expand, hundreds of players can play in the same world without being aware of each other's activities or collision essentially partitioning multiple instances of the same game within one single 3D space and all the collision is handled based on the instances people are connected to on the server level, allowing me to creating reduce the amount of servers running despite only having 8 players per game instance

dabbopabblo
Автор

In a multi-tenant app, we have different users that can not see each others data.
So, we have multi-tenancy inside a multi-tenant application.

zaheeruddinfaiz
Автор

Hey Hussein, what about a video covering the question what can ISPs really see when we make network requests. You can tackle the question in different cases, initially thinking about simple HTTP, then using HTTPS, then using more recent stuff like ESNI, DoH/DoT, DNSSEC, etc. then what if we add a VPN or a proxy, etc.

sanilkhurana
Автор

Hi hussein sir, can you suggest me some books that are on relational database design or the books that you read on this topic.
And Can you make a video on books that every backend engineer should read.

muhammadsami
Автор

Yeah I've always had that question, Is AWS spinning a new DynamoDB instance just for me ? Now it got clear that they must have a virtual managing layers at the top which we users see, but internally all this could using very less original DynamoDB instances

startup_cult
Автор

You remind me of Dinesh from Silicon Valley when you speak sometimes :D

atimy
Автор

Have you implemented multitenancy with PostgreSQL Row Level Security?

joaoluismoraes
Автор

Each customer requires different customisation to the application, we can ofcourse provide shared db and compute, but, how do i have different application versions for different customers.? Eg : one customer wants normal calculator, one customer wants, scientific calculator, one more customer wants a music player while performing calculations, and one more customer wants voice based calculator

Автор

In a multi tenacy architecture we are providing separate resources to each customer, what will happen in that cases where those separate resources are not available are down or not available. Do we have any mechanism for that?

neeleshrajpoot
visit shbcf.ru