How do we scale web applications?

  Рет қаралды 52,276

Web Dev Cody

Web Dev Cody

Күн бұрын

🤖 SaaS I'm Building: www.icongeneratorai.com/
💬 Discord: / discord
🔔 Newsletter: newsletter.webdevcody.com/
📁 GitHub: github.com/webdevcody
📺 Twitch: / webdevcody
🤖 Website: webdevcody.com
🐦 Twitter: / webdevcody

Пікірлер: 100
@TheEchinox
@TheEchinox Жыл бұрын
I'd be delightful if you created a similar-format tutorial in which you cover more on the implementations side: 1) Api Gateways 2). VPCs 3) Public/Private Subnets 4) NATs 5) Load Balancers 6) Regions, AZs and clusters 7) etc... This one was the most straightforward brids-eye-view tutorial on the topic I've ever seen! You are a talented teacher. Keep it up!
@Nick-tv5pu
@Nick-tv5pu 9 ай бұрын
That's a LOT of ground to cover! Pursuing a CompTIA Security+ and an intermediate AWS cert should cover your bases.
@goummoboris5194
@goummoboris5194 13 күн бұрын
From the ground up. You are surely a very good teacher.😊
@JakeeReacher
@JakeeReacher Жыл бұрын
Would love to see a system design course. Because I like your teaching style, specially your derivation where you start from simple procedures as it was probably done in the past, you show the issues of the procedures with eventually the solution of the problem and more modern procedures.
@vakman9497
@vakman9497 9 ай бұрын
THIS
@xav_624
@xav_624 Жыл бұрын
Happy that you reached the 100k mark. Well deserved. You produce quality content, and somehow 'down to earth'. It's cool to watch something actually useful, and not the classic 'todo app tutorials'. ✌
@WebDevCody
@WebDevCody Жыл бұрын
Thank you very much!
@MizikeDM
@MizikeDM 10 ай бұрын
There's another layer that might live between the api and the database - Redis / Memcache. They can allow your apis/ other backend services to cache data they retrieved from the database to reduce db load and queries against them tend to be a lot faster than queries against a traditional SQL database. They're also a separate service, so they can be shared by all your serverless functions / edge functions / api servers
@jamesevans6438
@jamesevans6438 10 ай бұрын
Only just found your channel and loving the content, the speed, the rambles! really enjoyed this one, I've seen others explain this type of stuff in 5+ hours (which is not good)! Keep up the great work, it's so inspiring.
@Trippy7275
@Trippy7275 Жыл бұрын
Congrats on the 100k well deserved mate - Keep them coming Cody! 🎉
@WebDevCody
@WebDevCody Жыл бұрын
Thanks! Will do!
@mrnevermind
@mrnevermind 9 ай бұрын
Thanks Cody. Just subbed. I’ve been working web dev for over 10 years, but never done any DevOps or server managing, this was very helpful and informative
@mauric440
@mauric440 6 ай бұрын
You choose each word you talk so wisely that your message is really straightforward. Congrats on your effort for put this knowledge online!
@mohaniya15
@mohaniya15 Жыл бұрын
These videos are so helpful. They helped me have a look inside something that i thought was a complete black box for me. Thank you so much for putting this out here.
@ExonerativeKoala
@ExonerativeKoala Жыл бұрын
Thank you. That was informative. You explained bigger concepts than I have seen before, but you made it easy to understand.
@yubtubtime
@yubtubtime 8 ай бұрын
Precisely the kind of overview I was trying to find. Perfect 👌
@mateocastromc
@mateocastromc 2 ай бұрын
I'm a non technical founder and this is so easy to follow that I got excited while watching the video. Thanks for putting this video together
@richa3350
@richa3350 8 ай бұрын
Such a good overview for scaling applications for anyone who does application development but does not understand what comes next when applications receive excessive network traffic. Thankyou for creating this video!
@stuffedstuff7086
@stuffedstuff7086 8 ай бұрын
Your explanations are soo clear and straight to the point. I love it. and these are some rare content as well ❤
@MusantoSus
@MusantoSus 10 ай бұрын
Wow, I rarely find somebody who explains this clearly.
@jadeedstoresupport8916
@jadeedstoresupport8916 8 ай бұрын
I find this approach of visually building the concept super-helpful.
@alisoltani2102
@alisoltani2102 10 ай бұрын
This was a great description! Thanks so much !
@ewwitsantonio
@ewwitsantonio Ай бұрын
Excellent!! Thank you so much for sharing your insight
@davidasiamah2898
@davidasiamah2898 Жыл бұрын
I loved the rambling part the most :). Good stuff. Keep it up.
@amershboul9107
@amershboul9107 Жыл бұрын
I never miss any of your videos, great content keep it up 👏🎬
@maheshreddy4080
@maheshreddy4080 Жыл бұрын
Can you make a tutorial of creating a video streaming app ? And thanks for sharing your knowledge with us .
@TheEchinox
@TheEchinox Жыл бұрын
Beautiful work, brother!
@brrruski8436
@brrruski8436 Жыл бұрын
Man I benefit a lot from your video❤ Clarify the system arch in my mind. Also I love the drawing tool😮 Plz keep doing videos like this🎉
@LargeKepler
@LargeKepler 6 ай бұрын
i want to thank you so much for this content. you do an amazing job of explaining and simplifying these concepts that aren't talked about enough. i would love to see more system design/the bigger picture of software engineering covered. thank you!🙏🙏
@ukaszkiepas57
@ukaszkiepas57 6 ай бұрын
+1
@Izzat-bj1le
@Izzat-bj1le 9 ай бұрын
I am a super noob in this field but u managed to give me bigger picture thank you. You have +1 sub
@dariansoutherland225
@dariansoutherland225 Жыл бұрын
Love the visual explanation
@igor9919
@igor9919 Жыл бұрын
Quality stuff! Cheers!
@kakakakaka7955
@kakakakaka7955 Жыл бұрын
Great video. a lot of value thanks!
@paperC_CSGO
@paperC_CSGO 7 ай бұрын
Please do more overview stuff like this! Perfect for beginners like me
@ukaszkiepas57
@ukaszkiepas57 6 ай бұрын
wow - thank you very much buddy :) Awesome 20 minutes
@tmanley1985
@tmanley1985 Жыл бұрын
That's subscription worthy content right there boah. You've earned a sub.
@huge_letters
@huge_letters Жыл бұрын
this was very insightful and interesting
@nebbbe3930
@nebbbe3930 Жыл бұрын
Love your videos man
@ethanansel-kelly3266
@ethanansel-kelly3266 Жыл бұрын
I'm interviewing with a company that needs to scale so this is great information
@petermckeever2360
@petermckeever2360 Жыл бұрын
Congrats on 100K, Cody!
@WebDevCody
@WebDevCody Жыл бұрын
Thank you!
@SonAyoD
@SonAyoD Жыл бұрын
Great video! Could you take a deeper dive into lamda functions and edge networking?
@user-io3ml5up6u
@user-io3ml5up6u 2 ай бұрын
Best video yet
@thejet4244
@thejet4244 8 ай бұрын
This video is extremely useful.
@mikef.606
@mikef.606 Жыл бұрын
This is awesome 🙌
@noahg2
@noahg2 10 ай бұрын
This content is lit, sure you can make another python app video similar to a million videos but something like this is very usefull to a person who works in small companies or complete beginners where very few coding standards are followed when it comes to writing any application.
@thelifeofbiraj
@thelifeofbiraj Жыл бұрын
Congratulation brother , 100k Happy for you .. soon gonna hit 1M
@WebDevCody
@WebDevCody Жыл бұрын
Thank you so much 😀
@TadeasF
@TadeasF 10 ай бұрын
I'm a data engineer getting into web development. Often, integrating stuff like firebase/supabase etc has been difficult for me compared to setting up pgsq + express + frontend which seemed as the easiest most powerful solution. Since, you know, I'm used to setting up vms, connecting stuff together. Using db as API only and not being able to mess with it seemed un-intuitive. Then I found about SSR/SSG, which blew my mind again haha. This video is a GEM for me. I've been wondering what would be more performant - nosql with horizontal scaling vs psql with vertical scaling, SSG on serverless combined with SSR.. This really helped me get my thoughts together. Thanks mate! What I'd say, though. When talking about DB performance, you have multiple factors which are very important - not only processing and memory + raw db performance (e.g. mongo vs pgsq). but also network outpu of given instance. without load balancer which allows you to increase your network throughput massively you're done. most VMs without autoscaling run on 1GB network. You're going to hit this super quickly, much quicker then TOUCHING, say, 4+ core VPS performance running either mongo/postgres. Could you maybe elaborate on the network side of thing? That could be really interesting video!
@TadeasF
@TadeasF 10 ай бұрын
@jonasjonaitis8571 why do you feel the need to publicly demonstrate how much trouble you have understanding written text? I wrote that I'm new to web development, trying to pick it up. obivously i'm going to find out about a lot of new technologies, no matter how old they are. did this explanation help?
@gauravvan
@gauravvan Жыл бұрын
Congrats for 100k 🎉👏
@nikitastriuk
@nikitastriuk Жыл бұрын
amazing content!
@mr.javascript1320
@mr.javascript1320 Жыл бұрын
Gooood stuff !!!!! that was very informative !!!!!!!
@Dswyy
@Dswyy Жыл бұрын
What’s the best learning process for new concepts? Heavy practice for hours? Best comprehension techniques?
@WebDevCody
@WebDevCody Жыл бұрын
Depends on the concept. Sometimes I need to actually prototype something to understand it, other times I can just read about it an get a good enough picture of how it all works
@zakk6182
@zakk6182 Жыл бұрын
Great video
@framegrace1
@framegrace1 10 ай бұрын
For any startup just starting. The the very few advices from a devops/systems engineer with 20 years in the bussines that will save you a lot of headaches and money in the future: For your online service apps: - Create 2 users for the DB connections, one readonly and another write only. - In whatever language you use create a DB handler for reading and a DB handler for writing, each one using the appropiate usernames. Don't, allow the write handler to be used for reads, in any case. - Avoid DB transactions. Any kind of external locking is prefered. (optimistic,etc...). Seriously, there are very few times you will really need them. (Counters, things like that). - Do not use stored procedures. NEVER. That's all. Thank me when you need to scale your app. Can't list all the benefits, but you'll see this decision will make everything a lot easier. From caching to locking and mostly MONEY.
@janibolkvadze1553
@janibolkvadze1553 8 ай бұрын
Legend!
@abdulrehmanbaber2104
@abdulrehmanbaber2104 7 ай бұрын
loved it.
@mayankmaheshwari2544
@mayankmaheshwari2544 5 ай бұрын
You are a G.O.A.T. tech youtuber
@happyhome2523
@happyhome2523 9 ай бұрын
thank you :)
@happyhome2523
@happyhome2523 9 ай бұрын
more stuff like this please!
@samirmishra9946
@samirmishra9946 Жыл бұрын
Thank you for the amazing explanation! Now I have a clear idea of where k8s & docker come into use and why do we need experts like DevOps engineers. I do know some of the basic linux commands and how to deploy a web page or api inside a VM, but you are right, many developers may not know about this, and deploying an application can be another tedious task, as you might face another set of problems figuring out how to deploy it or accept traffic from the internet, etc. I have a question, do people expect full stack web developers to know the basic dev operations like deploying and maintaining the app? (on production)
@WebDevCody
@WebDevCody Жыл бұрын
I would say to be a full stack, you need to know how to build, deploy, and maintain an application in production. So this means being able to build the front end, backend, integrate with a database, host a database, run migrations on your database, deploy your app, monitor your app, explore production logs, get alerts when stuff fails. A lot of services exist which make the deploying / monitoring part super easy, so at least being able to deploy something to a live environment these days is a must imo.
@samirmishra9946
@samirmishra9946 Жыл бұрын
@@WebDevCody Got it! Thank you so much! ❤
@Goyo_MGC
@Goyo_MGC Жыл бұрын
Great video on the subject Thanks ! Would have been maybe easier to understand with arbitrary values to illustrate your examples. Was really clear nonetheless :)
@uta390
@uta390 Жыл бұрын
great stuffs : D
@kharabkar1827
@kharabkar1827 Ай бұрын
One question. As far as i know CDNs are implemented in the network by ISPs. How those CDNs that you mentioned are deployed? Are they as a service from a cloud provider or are deployed manually by e.g. redis?
@SeibertSwirl
@SeibertSwirl Жыл бұрын
Good job babe!!! FIRST!!!!! 👑
@jjrise
@jjrise Жыл бұрын
great video
@erickmwazonga8871
@erickmwazonga8871 Жыл бұрын
Do more of these!
@universe_decoded797
@universe_decoded797 Жыл бұрын
Great explanation, is this like an API Gateway? If not maybe can you make a video ❤
@samirmishra9946
@samirmishra9946 Жыл бұрын
I heard of a new tech recently called Vector databases, is it what might be the solution for edge databases?
@ivelinivanov3414
@ivelinivanov3414 7 ай бұрын
Mate, this is very useful, thank you! As I'm watching this I am wondering how is this different for mobile applications ios and google play store. Basically your "UI" is stored on their servers and they take care of people downloading it and you just have to work work on scaling the backend api, right? I am talking about for example a React Native built mobile app. Let's say a giant social network app with millions of users. How would you built something like that?
@JacobAbraham-twozerosix
@JacobAbraham-twozerosix 10 ай бұрын
Nice talk!
@amasoharnold4762
@amasoharnold4762 Жыл бұрын
This topic is actually good i use to watch a lot of codedam videos like this breaking down technologies and how the work He did them on a board so this is really ok I appreciate the explanation
@justice4all719
@justice4all719 Жыл бұрын
Would a web hosting service like TMD take care of this if traffic volume increases fast? Is it the kind of things that would have to be done only if I would rent for example a dedicated server without services? Also what about the costs using say planetscale as db, Vercel for functions and another server for login/auth, wouldn't it be better to have a centralized hosting service with redundancy around the globe so DB, functions and everything is always close from one another? Sorry if it doesn't make sense, I'm a newbie, learning all of this :)
@WebDevCody
@WebDevCody Жыл бұрын
Idk much about tmd. It depends on the service you rent from them. If you just rent a vps, then no they won’t scale anything for you. Shared hosting would probably be worst since it’s a single server hosting everyone’s applications. In regards to using third party database and auth services, usually you can pick regions for these services and have everything close enough together that the latency won’t make much of a difference. Yes, having everything in the same data center will obviously be the fastest approach, and if you are ok writing your own auth and securing your user info, that might save you money and be faster in regards to latency. If you rather just pay a company to manage your auth, that can help you move fast at the start of the project so you can focus on features. There is a lot that goes into good auth, password reset, forgot password, Mfa, properly storing passwords, setting up jwt and sessions, cookies, etc. if your team can do all that, more power to you. Idk if anything one approach is better than any other approach, they all have trade offs
@kumarbt8915
@kumarbt8915 Ай бұрын
Can you please share end to end flow how to configure auto scaling my UI application running on. AWS
@tech3425
@tech3425 Жыл бұрын
Isn't putting the db, functions and static files on the edge, basically putting a server there?
@WebDevCody
@WebDevCody Жыл бұрын
Yeah i mean a server has to host your stuff, edge servers are just located closer to your user “usually”
@r1konTheAutomator
@r1konTheAutomator 9 ай бұрын
2:50 he drew an original PlayStation it looks like 😂
@haodeng9639
@haodeng9639 8 ай бұрын
you are missing the db scaling, for example sharding or partition.
@notfadeaway6617
@notfadeaway6617 9 ай бұрын
"firestore from frontend/mobile app" should be considered as one of scaling application phase?
@codingsense
@codingsense Жыл бұрын
it would be a good idea if you can make a practical example of this
@WebDevCody
@WebDevCody Жыл бұрын
Explain more of what you mean?
@codingsense
@codingsense Жыл бұрын
@@WebDevCody you basically take a Todo app or what ever and you show how to scale it , I'm struggling with scaling a multi tenant app using mern stack of you could tell what are best practices of this kind of apps (you could combine multi tenant apps with scalability) thanks 🙏
@KhaledKimboo4
@KhaledKimboo4 12 күн бұрын
You should deploy everything yourself you'll be grateful for how much you can learn. Even if they're not perfect. Taking the habit of abstracting everything makes you a tool hostage
@QckSGaming
@QckSGaming Жыл бұрын
Can confirm, this is how the internet works at the current day. One thing that kinda irked me is your statement of "You don't really have to worry about this stuff, devops/systems/db engineers handle this"; If you throw your app over the wall with zero consideration about this stuff, it's gonna suck for every party involved (you, your devops guys, your customers and their users). I love that you shed light in to the cloud world as well.
@WebDevCody
@WebDevCody Жыл бұрын
I agree, everyone on the team needs to at least understand how all of this stuff works. I made that statement with the idea that most of my audience are beginners just trying to deploy their todo list next app, so I still don't think they need to worry about all of this... yet. They should just use a service like vercel, netlify, aws amplify to deploy their apps until they feel confident in diving into the deep end of the cloud world, because it can get pretty dang deep to be honest. What i've seen is certain individual enjoy doing this type of work, and others HATE it. It's also important to consider the size of the product and team in regards to when you need to start caring about this stuff more. On projects I work on, our contracts state we MUST use AWS to host everything, so my hands are tied to use AWS, but I sometimes would like to not waste a full week messing with terraform code.
@muskaos
@muskaos 9 ай бұрын
Basic service would be a static web page running direct on server hardware, no javascript (the horror!) , no database. Just CSS. I know everyone is all about VM, and back end processing services, but not everyone needs that.
@vishalamle8330
@vishalamle8330 10 ай бұрын
These are age old design concepts for very small starup running on monoliths… that also 10 years back… these days microservices are industry standard… K8S is not at all meant for monolith horizontal scaling as u r mentioniing… use of message driven architecture is very easy thede days like kafka to put between backend and DB… Your tutorials are good but please focus on industry wide used deisgns like microservices, event driven based etc. so that your audience will get actual enterprise level content… Nothing to disrespect you… Just a suggestion… keep up the good work 👍🏻
@gordonfreimann
@gordonfreimann Жыл бұрын
great talk, well explained.
@SolelyCS
@SolelyCS Жыл бұрын
Great Video! Congrats on 100k subscribers :)
@WebDevCody
@WebDevCody Жыл бұрын
Thanks so much!
@sanyamjain04
@sanyamjain04 Жыл бұрын
Congrats for 100k 🔥
@WebDevCody
@WebDevCody Жыл бұрын
Thanks 🔥
What services might you need when building a SaaS product?
13:58
Web Dev Cody
Рет қаралды 38 М.
Why I'd never host my apps on a VPS
13:43
Web Dev Cody
Рет қаралды 27 М.
Why? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 45 МЛН
КАХА и Джин 2
00:36
К-Media
Рет қаралды 3,8 МЛН
Coding for Season 7 + gaming (Day 3 of content week!)
History of Middle-Earth
Рет қаралды
How To Get Ahead of 99% Of Developers
13:00
Web Dev Cody
Рет қаралды 130 М.
How to Organize Your Solo Dev Project Like a Pro
7:42
CreaDev Labs
Рет қаралды 12 М.
What does my typical work week as a web dev like
26:43
Web Dev Cody
Рет қаралды 168 М.
Designing my Server Architecture for Scalable Web Applications
7:32
Devon Crawford
Рет қаралды 439 М.
What does larger scale software development look like?
24:15
Web Dev Cody
Рет қаралды 1,2 МЛН
How modern web apps are rendered
6:52
Awesome
Рет қаралды 18 М.
20 System Design Concepts Explained in 10 Minutes
11:41
NeetCode
Рет қаралды 854 М.
Why? 😭 #shorts by Leisi Crazy
00:16
Leisi Crazy
Рет қаралды 45 МЛН