Тёмный

Building Large Scale Microservice Applications 

TomDoesTech
Подписаться 29 тыс.
Просмотров 14 тыс.
50% 1

🌎 Follow me here:
Discord: / discord
Twitter: / tomdoes_tech
Facebook: / tomdoestech​
Instagram: / tomdoestech​
TikTok: / tomdoes_tech
☕ Buy me a coffee: www.buymeacoffee.com/tomn

Развлечения

Опубликовано:

 

22 июл 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 99   
@alaazamel8176
@alaazamel8176 Год назад
Man, Absolutely brillaint. really looking for more videos like this. also. if you can create a project starting from this high level system design until deployment it would be massive
@voydesvelado
@voydesvelado Год назад
that would be so valuable
@tonskreee6213
@tonskreee6213 11 месяцев назад
I would definitely buy it
@dagogouranta5583
@dagogouranta5583 10 месяцев назад
for sure, i'd buy it too@@tonskreee6213
@Kxneki2433
@Kxneki2433 Год назад
At this point you should have a separate playlist on system design, great content man!
@zaouiamine6475
@zaouiamine6475 Год назад
I went in blind into microservices and i learned alot I used docker and kubernetes and nginx for routing and loadbalancing
@hosseinnajafi2181
@hosseinnajafi2181 7 месяцев назад
It was soooooooooooooo good, thank you so much, please make more contents about this kind of things (System Design, Infrastructure, etc)
@PattyBeautCode
@PattyBeautCode Год назад
This is what I am looking for thanks alot !
@andrewcathcart
@andrewcathcart Год назад
Probably would have been worth going over data exchange between services a bit more - yes it is guaranteed delivery but, most likely, it's at least once delivery, so the services need to be able to handle duplicate events. Also probably worth discussing the web server and e.g. loadbalancing
@TomDoesTech
@TomDoesTech Год назад
I think that's a whole other video tbh. I just wanted to mention that the component would exist in the architecture
@abhijeetkumar8044
@abhijeetkumar8044 Год назад
Great video, please create more videos like this.
@chinmayanand896
@chinmayanand896 Год назад
Why don't we have full-fledge microservices course for building a real life microserivces using NestJS / Nodejs, Kafka, SQL databases and all other required tech stuff. I am sure this will rock. You can consider this as a request from my side.
@alexenax1109
@alexenax1109 10 месяцев назад
Great video! Please add more!
@MUcciMax
@MUcciMax 6 месяцев назад
Thanks, Tom
@jonathankewe9415
@jonathankewe9415 Год назад
Hey Tom, thanks, really appreciate. Cheers!
@grrlgd3835
@grrlgd3835 5 месяцев назад
more, more, more ! this is really cool. can you recommend any good resources for exactly this ?
@anvui95
@anvui95 Год назад
best youtube channel to learn
@rodolphobravo298
@rodolphobravo298 11 месяцев назад
What's your opinion on microservices vs. the modular monolithic architecture?
@mrrajib
@mrrajib Год назад
would love to see actual implementation
@Jezzabeanz
@Jezzabeanz Год назад
Thanks Tom! Could I ask what software you're using to map all of this out? Looks handy for planning.
@TomDoesTech
@TomDoesTech Год назад
eraser.io
@Jezzabeanz
@Jezzabeanz Год назад
@@TomDoesTech Thank you!
@fernandovideira7655
@fernandovideira7655 4 месяца назад
Sorry for the stupid question but, in this case the VPC would be a docker swarm cluster or a kubernetes cluster, or am I misunderstanding it? (keep in mind I'm going kinda blind into this and have been working with monolithic apps for 2y in school without putting much in practice)
@vidalalvarez
@vidalalvarez 2 месяца назад
Excellent!!!!
@tlourammala
@tlourammala 11 месяцев назад
Massive thanks for sharing your knowledge and delivering it in your beautifully unique way! Quick question: What drawing tool are you using in this video? Anyone who knows is welcome to answer incase I missed it somewhere.
@TomDoesTech
@TomDoesTech 11 месяцев назад
app.eraser.io
@vukasinigic7949
@vukasinigic7949 11 месяцев назад
Are you not essentially enhancing coupling and fault tolerance with BFF interface servers?
@thudsondev5635
@thudsondev5635 Год назад
Nice video Tom! I did have some questions: You mention having a single load balancer for all services but I have usually seen it done with multiple load balancers allowing for ssl termination at each and thus zero trust. Is there a reason to go with a single LB other then reduced complexity? Also, why not use a daemon to export metrics and logs such as a data dog agent? I feel like having to setup metrics endpoints itsa lot of work, what are the benefits over the daemon?
@TomDoesTech
@TomDoesTech Год назад
I've never seen it done with a daemon, but the endpoint are super simple to setup. You install a module and expose it's data to an endpoint.
@danielayota26
@danielayota26 Год назад
what is the softwere use to design this large microservice
@bilkisuismail6096
@bilkisuismail6096 8 месяцев назад
Tim is a veteran in passing knowledge. Thank you for your service. It would be great if you do a playlist or course on how these tools work together.
@TomDoesTech
@TomDoesTech 8 месяцев назад
Who's Tim?
@bilkisuismail6096
@bilkisuismail6096 8 месяцев назад
@@TomDoesTech sorry typo error, Tom
@rvitorgomes
@rvitorgomes Год назад
which draw tool are you using? I need to document my microservices but never find with nice icons like these
@TomDoesTech
@TomDoesTech Год назад
eraser.io
@babacarkane1027
@babacarkane1027 Год назад
Awesome video
@RyanJones26
@RyanJones26 7 месяцев назад
any chance you can resurrect your expressjs tutorial from a couple of years ago and apply it to this? also what diagramming app is that? it's super cool
@tonskreee6213
@tonskreee6213 11 месяцев назад
Im a little bit confuse on the connection between the BFF and the Webserver. When request comes in does the BFF calls the Web Server and for the response I assume the services like Product service will directly call the BFF for the response?
@TomDoesTech
@TomDoesTech 11 месяцев назад
The BFF will make requests to the downstream services. All requests to those services go through the web server. All requests from the UI to the BFF also go through the web server because it's just a service like the others and it's the only way you can reach it from the internet
@andrewcathcart
@andrewcathcart Год назад
Why wouldn't you just log (info, err, debug etc) in the services, and hook up something like prometheus to cloudwatch logs? Feels weird having a /metrics endpoint in each service?
@TomDoesTech
@TomDoesTech Год назад
You're also logging a bunch of other stuff, so would be difficult for prometheus to know what it should ingest and what to ignore. The metrics endpoint is much easier and cheaper.
@kennethcarvalho3684
@kennethcarvalho3684 Месяц назад
Hey Tom was looking for much more... Very short video
@shivamvijaywargi
@shivamvijaywargi Год назад
This was awesome, if it is not too much to ask would it be possible to create a small application where you show us how we can configure all these together? Thank you
@TomDoesTech
@TomDoesTech Год назад
Yeah, that would be cool. Could also include Terraform and Docker
@shivamvijaywargi
@shivamvijaywargi Год назад
Thank you
@inuoshios
@inuoshios Год назад
@@TomDoesTech That would be great, Tom! Thank you.
@belkocik
@belkocik Год назад
Would love to see this, man! :)
@Resonanc3
@Resonanc3 Год назад
A caching layer is missing (Maybe more import than a BFF?) and from the scheme it's really hard to understand how horizontal scaling comes into play, but I love the video
@TomDoesTech
@TomDoesTech Год назад
I didn't add a caching layer because caches should only be used to solve a specific problem. I don't think it's a good idea to be shoving caches in just because they exist. But yeh, most implementations would have a cache somewhere
@Resonanc3
@Resonanc3 Год назад
@@TomDoesTech I see your point but I have a hard time to share it, caching, in a way or another (it can happen on so many levels of your infrastructure sometimes you don’t even know it’s there), is always required in ‘Large Scale Applications’: it brings down costs so badly you can’t afford not to have it
@Resonanc3
@Resonanc3 Год назад
Either way, we both know there is no right or wrong way of doing things here, so take it with a pinch of salt :)
@marcunnocello3092
@marcunnocello3092 Год назад
I have a question: How would authentication and authorization work here? Would this be the job of the BFF? And also how do you test the Microservices/ How can you run them locally, if the have dependencies of let's say to an Auth and Permission Service and also to Kafka for sending and receiving events?
@TomDoesTech
@TomDoesTech Год назад
Auth would be handled by one of the microservices, in this case, probably the user api. There's different strategies for developing locally and testing. Mostly you develop on one service at a time and connect to the other services that are running in a staging/dev environment. You can also run services like Kafka locally, it's easy with Docker.
@marcunnocello3092
@marcunnocello3092 Год назад
@@TomDoesTech That makes so much sense, thank you
@amancca
@amancca 11 месяцев назад
Wooow, that's great video I watched today 😮
@Sammysapphira
@Sammysapphira Год назад
What is that website you use for making these charts?
@TomDoesTech
@TomDoesTech 11 месяцев назад
eraser.io
@nickxox2257
@nickxox2257 Год назад
what is that website your using to draw this out? how were you able to search for ec2 img
@TomDoesTech
@TomDoesTech Год назад
eraser.io
@nickxox2257
@nickxox2257 Год назад
@@TomDoesTech ty sir
@ahasibrifat7568
@ahasibrifat7568 Год назад
Do you have any plan to implement the architecture, at least in a bare minimum level? Please do plan. Would be very helpful.
@stepanzavadil
@stepanzavadil Год назад
Why does the BFF communicate directly with the services and not via web server?
@TomDoesTech
@TomDoesTech Год назад
Yeah, it would go through the web server. I was just showing where the request would end up
@opentech1252
@opentech1252 5 дней назад
good content
@manee427
@manee427 Год назад
Nice video. what did you use for diagram? ?
@TomDoesTech
@TomDoesTech Год назад
Eraser.io
@manee427
@manee427 Год назад
@@TomDoesTech thanks
@abhirb12
@abhirb12 5 месяцев назад
What's the tool you are using?
@TomDoesTech
@TomDoesTech 5 месяцев назад
Erasor.io
@abhirb12
@abhirb12 5 месяцев назад
@@TomDoesTech : In the interviews i attend, I often get questions like, what are the tools you have used for HLD & LLD. Can you please help me with the answer for this?
@akash-kumar737
@akash-kumar737 4 месяца назад
BFF part was a bit over the top. It make sense but find it hard to understand probably need a working example to understand it.
@AdeyinkaAdegbenro
@AdeyinkaAdegbenro Месяц назад
Better terminology for the BFF is API Gateway, "API Gateway" will be aware of where each service is located and automatically route requests to the service/server and back to the User Interface. I hope this is clear.
@VLADICA94KG
@VLADICA94KG Год назад
I don't understand why you didn't go over, the so-called , which servers a for all requests coming from to -service? Thanks
@TomDoesTech
@TomDoesTech Год назад
Sorry I don't understand your question
@VLADICA94KG
@VLADICA94KG Год назад
@@TomDoesTech Why isn't BFF service hidden behind gateway/load balancer (you named it webserver)?
@TomDoesTech
@TomDoesTech Год назад
@@VLADICA94KG It would be behind the web server, I was just explaining the flow between the UI and the BFF
@VLADICA94KG
@VLADICA94KG Год назад
@@TomDoesTech To be honest, it was a bit hard to predict that as you didn't mention it at all. I do really appreciate your work, but those missing points can lead to someone implementing architecture in the wrong way. Thanks for your great work!
@CricketDilseHitWicket
@CricketDilseHitWicket 2 месяца назад
Nice explanation,Are you from Australia??
@TomDoesTech
@TomDoesTech 2 месяца назад
Yes
@CricketDilseHitWicket
@CricketDilseHitWicket 2 месяца назад
@@TomDoesTech Thanks mate!!! ,finally I am getting to know English accents of different regions. :)
@ozgurNY
@ozgurNY Год назад
This design requires lots of CPUs and RAMs. It will cost a lot of money. This is a nice summary of microservices but most of them can be handled without any of this. Nevertheless, I liked your content. Thanks.
@amansagar4948
@amansagar4948 4 дня назад
What architecture would you recommend in this case?
@hellodun
@hellodun Год назад
Hey Tom and everyone, I'm new to microservice system design, and I'm wondering, we've accounted for a request which will hit our web server and will load balance/route our traffic to the necessary service, So, why do we need BFFs and why do they go from the user interfaces direct to the services and not as requests or considered requests? Also, if possible, recommend for me a resource i can use to understand this concepts better. Thanks
@TomDoesTech
@TomDoesTech Год назад
The BFF makes the UI simpler to develop. The BFF request do go through the web server, all requests going to the services, including the BFF go through the web server
@hellodun
@hellodun Год назад
@@TomDoesTech alright, thank you for the clarification
@anandhukraju9382
@anandhukraju9382 Год назад
Separate databases?👀
@TomDoesTech
@TomDoesTech Год назад
yes
@AmansLab
@AmansLab Год назад
if all frontend is handled by BFF then who is calling the APIs. given that each interface have their own BFF
@TomDoesTech
@TomDoesTech Год назад
The BFF calls the APIs
@AmansLab
@AmansLab Год назад
@@TomDoesTech are they calling directly or through web server ?
@TomDoesTech
@TomDoesTech Год назад
@@AmansLab through the web server
@AmansLab
@AmansLab Год назад
@@TomDoesTech oh thanks i was confused
@subhransudas890
@subhransudas890 11 месяцев назад
Create full practical videos on large scale system micro-services using python would be better.
@TomDoesTech
@TomDoesTech 11 месяцев назад
I've written about 4 lines of python in my life so I can guarantee it wouldn't be better
@paulreilly5987
@paulreilly5987 7 дней назад
yes, products service goes down and you can still have orders 😂 … and whats this “go down” issue? … what junk hardware and o/s is this running on 😂😂
@palyanytsia
@palyanytsia Год назад
Tom knows how to build large scale application, but doesn't know how to use button delete instead of backspace 😂 (editing "products API" label)
@TomDoesTech
@TomDoesTech Год назад
lol
@petherpettersson6152
@petherpettersson6152 Год назад
You could shorted these videos by 90% if you just used the final pic from the start. The thumbnail already says everything.
@TomDoesTech
@TomDoesTech Год назад
Right, but then people would be complaining that I should have started from the beginning.
Далее
How I Would Build a Software System for Scale
15:54
Просмотров 4,6 тыс.
НОВАЯ ПАСХАЛКА В ЯНДЕКСЕ
00:20
Просмотров 1,6 млн
Top 7 Most-Used Distributed System Patterns
6:14
Просмотров 240 тыс.
How do we scale web applications?
21:11
Просмотров 55 тыс.
The Thing No One Tells You About Microservices
13:40
Просмотров 58 тыс.
Larger Scale Software Development (and a Big Trap)
17:17
Top 5 Most Used Architecture Patterns
5:53
Просмотров 234 тыс.
What is an API Gateway?
10:19
Просмотров 298 тыс.
Making Minimalist Web Server in C on Linux
10:23
Просмотров 235 тыс.
What does larger scale software development look like?
24:15
Концовка😂 @super.brodyagi
0:20
Просмотров 2 млн
Моя Жена Босс!
0:40
Просмотров 2,9 млн