Why use Microservices, Docker & Kubernetes?
Vložit
- čas přidán 19. 06. 2024
- Enterprise companies structure & deploy their apps differently...
Deploy your own Minecraft server in 1 minute on Acorn here: acorn.io/run/ghcr.io/cloudnau... (paid sponsorship)
Learn more about Acorn here: acorn.io (paid sponsorship)
Hi, I'm Wesley. I'm a brand ambassador for Kinde (paid sponsorship). Check out Kinde for authentication: bit.ly/3QOe1Bh
👉 NEW React & Next.js course released at any moment to email subscribers: email.bytegrad.com
👉 Professional JavaScript Course: bytegrad.com/courses/professi...
👉 Professional CSS Course: bytegrad.com/courses/professi...
👉 Discord: all my courses have a private Discord where I actively participate
🔔 Email newsletter (React + Next.js course out soon!): email.bytegrad.com
⏱️ Timestamps:
0:00 Slack flowchart
0:52 Acorn
1:08 Monolith app
2:53 Microservices
4:40 Benefit 1
5:24 Benefit 2
6:14 Benefit 3
6:32 Benefit 4
6:57 Benefit 5
7:23 Benefit 6
7:40 Why Docker?
9:01 Why Kubernetes?
11:35 Why Acorn?
12:27 Example app
15:37 Acornfile
18:12 Deploy to Acorn
21:21 Acorn playground
22:22 Dev mode in Acorn
22:45 Minecraft server
#webdevelopment #programming #coding
My man started getting sponsors 🎉❤
Step 1- create an amazing open source technology that is super complex and difficult to use
Step 2- create a paid service that makes it easier to use
Disagree with most of this video.
1. Consolidating the tech stack has huge advantages from better resource utilization to reducing dependency issues and vulnerabilities. Stick to as little as required.
2. For most purposes microservices and Kubernetes are overkill. I lost count of the number of times microservices apps end up being more complicated and more expensive to manage when moving from monolith. Not to mention performance hit. I hope you have heard of the Amazon Prime Video story. It agrees with my experience.
3. Microservices are specifically useful only for cases of large number of small atomic tasks happening very frequently.
If you cant explain it simply you dont understand it well enough. (Albert Einstein). This man really understand things very well
Love your content ❤
This is great!!
Great vid! Btw, looking good on that new look with glasses
Was always afraid of Docker and Kubernetes. I am still afraid but at least now I understand what they do lol. Great channel
Thanks for the video
React and Next courses please, can`t wait any longer !!!
there are already tons of courses on youtube for free! Just do a simple search and you'll get them.
Thank you! Thank you so much, Mr. Wesley! 🎙👏👏👏👏
"To Infinity and Beyond!" 🚀👨🚀
is this the next course after react/nextjs course ?
Any update on the latest course or is it no longer coming? My boss keeps pushing me to buy the latest Javascript Mastery NextJS course but I told him that I'm trying to wait on Bytegrad's course, but he is bugging me everyday.
is Acorn opensource and free to host on self VPS or any other tool ??
new course is still not up ?
where is the course :
Microservice tutorial please 😂🤞
How do big companies do the same for their database at scale?
Do they have one database which all the services use to store data or do they have multiple databases?
One of the characteristics of micro-services is “Decentralised Data Management”, meaning that each micro-service should have it’s own database. You might ask what if one service needs data that is stored in another service’s database. Well, you can communicate between services using a message broker like Kafka ( there are other ways as well)
@@eltonsampaio7652 wow, interesting. Thank you for the reply ❤
I have doubt in my mind. Can we have different middlewares for different path? Can we also have multiple middlewares for the path?
yes we can
It would be helpful if you could make me understand @@otis2646
Lets say we have these N micro services in N different repos. Where does the acorn file live and how do we do the whole orchestration and dependency dance for deployments.
At my current company, these is a ton of human effort that is required to coordinate between services owners so that services go out in a very controlled manner. Super clunky, slow, and expensive
You know you can build monoliths in this same modular way?
What about if we have for example a Database as a service and inside of it we have for example 1 million data of products for example, and sometimes we have to calculate and get many products in same time how can we optimize that ? can we cut the database into multiple ? cause in this case even 1 people can be expensive on the request
On client side, you do pagination. Limit the number of items on page. You can also add a cache layer, if multiple requests are made almost at the same time, just return the cache. On the database side, you need to use indexes where appropriate, write performant queries, etc. What you said about breaking database into multiple is called sharding.
U should make real project for this
you got glasses lol! how much power (glasses)?
Hahah medium strong