Watched till the end. I've got to say, you put out awesome videos. Just started my part to being a full stack dev (been a front-end dev for a while now). Your videos help a lot. Thanks!!
I have again watched this video till end. Video suggestion: How to integrate multiple services ( or db) like by Mongodb, Elastic Search, Cache by S3, Cassandra, Hbase or any other db or tool to scale DB.
If you want universal scaling. Use Golang or Rust for your backend. End of the story. Use compiled languages that effectively make use of all cores and you will have the scaling you need per server. Then you can bring up other concepts like horizontal and vertical scaling when it is nearly impossible that a highly optimized server will do it all
This is a awesome architecture, I love it and use it for the majority of my freelancing projects but not scalable to the moon. Things such as database locking and high traffic can make this slow. Best practices like database sharding, load balancers are still lacking.
You can still use cloudfront (without caching) for your backend dynamic content, you'll lower latency by using AWS internal fiber network, plus you'll be protected against DDoS attacks.
well we did get the point right, host front end on cdn network like cloudflair and host backend on single server somewhere in world along with it's database
I watched this video till the end!!! Thanks a lot for this video.. Video Suggestion: 1) Please do a video on AWS Services and also make a short tutorial of them being integrated in a NodeJS Application(as Node is your and also my fav language 😄😄😃😃 ) 2) Hands on tutorial for SSG /SSR+Caching uisng React or Next.JS... Thank you again....
Great video. I had to switch a project from ssr to ssg (strapi backend) it performs so much better and haven’t even gotten it on vercel yet. Oh yeah I watch all these to the end but never put it. Might as well now lol. “I watched (all the videos) this to the end”
This is great Architecture 👍I told my manager that we should separate our FE on Vercel (Instead of EC2 ) but at that time I don't have much knowledge to express why this architecture is better than the previous one, tones of thanks for sharing great knowledge🔥
Hey I have a doubt here. As we know AWS lambda container shuts off if there are no requests for like 20 mins. Now if you have a database connection, since the server is actually restarted don't you think it is a waste to open new connections each time server restarts?
What about scalable and geodistributed databases like eg Yugabytedb, Pingcap TiDB,...? I would expect they solve the latency issues from databases running with eg sharding and replication all over the world?
@@codedamn I suppose yes since most of these DB solutions targeting Kubernetes deployments for the scalability. I just notice there is little information shared about using solutions like this to overcome the DB scaling problem. I'm reading up and watching more YT vids on the concept for a better understanding myself. But the fact is, it's often neglected or talks only address a limited spectrum from possible solutions. It's a missed opportunity to explore more newer solutions that are available for quite some time
Dear Codedamn You are creating really good videos. You are covering all technological topic in very detail. Keep it up. Do you do something like Saturday night live type Q&A session?
couldn't agree with you. ->1st we should focus on the distributed server & later CDN because in React/Vue the front-end load only a single time after that it usually communicates with the server 30-50 times. so, we should prioritize the server distribution first to minimize latency.
Distributed servers is hard to get right. Even if you distribute compute, to get true benefits you need to distribute the database layer as well. And it is usually impossible to get distributed DB with high performance and strong consistency (cloudflare KV takes upto 60 seconds to sync the storage globally). Focus on what you can get right fastest - static assets over CDN
Here comes a silliest question in the world,how about just nextjs, a database and nextjs's serverless backend api? it's basically the same thing? without node is it scalable? Please someone help me?
@@Geomaverick124 thanks for your reply sir 😄, I have an another doubt that in many videos I have seen that product based companies hire software engineer not web developers so how and where should we apply to get our first job and which stack will be preferable!!
@@skulldot5495 well it depends on where you live and what jobs you apply for...Web developers are software developers/engineers that just specialize in creating web apps and websites...you can look into CMS, Wordpress, or Shopify development; you could also look into Content Editor, HTML Email developer, or Web Master as starter jobs and work on the mainstream technologies like Nextjs, c#.net, Node, etc on the side. If you get one of the starter jobs and build a portfolio on the side with projects using relevant tech, you will be in a better position to get the job you really want
Learn about more full-stack technologies on codedamn's interactive full-stack learning path: cdm.sh/fullstack
The moon seems quite crowded today! 😅
Watched till the end. I've got to say, you put out awesome videos. Just started my part to being a full stack dev (been a front-end dev for a while now). Your videos help a lot. Thanks!!
I have again watched this video till end.
Video suggestion:
How to integrate multiple services ( or db) like by Mongodb, Elastic Search, Cache by S3, Cassandra, Hbase or any other db or tool to scale DB.
If you want universal scaling. Use Golang or Rust for your backend. End of the story. Use compiled languages that effectively make use of all cores and you will have the scaling you need per server. Then you can bring up other concepts like horizontal and vertical scaling when it is nearly impossible that a highly optimized server will do it all
This is a awesome architecture, I love it and use it for the majority of my freelancing projects but not scalable to the moon. Things such as database locking and high traffic can make this slow. Best practices like database sharding, load balancers are still lacking.
How do you actually do this IRL? Any links or terms that you can pass on , good sir of the Internet ?
You can still use cloudfront (without caching) for your backend dynamic content, you'll lower latency by using AWS internal fiber network, plus you'll be protected against DDoS attacks.
So I had an application idea and was just bing watching videos on RUclips for scalable architectures. Looks like I found my piece.
thanks for consistently sharing your knowledge
One of the best video on Architecture Thank You Mehul sir for providing good knowledge.
I understood the concept but for better visibility please make a small project which follows this example you are explaining for better understanding
well we did get the point right, host front end on cdn network like cloudflair and host backend on single server somewhere in world along with it's database
These kinds of videos help a lot. Not a lot of youtube videos teach this kind of stuff. Thanks a lot!
you can also get multiple server all over globe and use load balancer for database
I watched this video till the end, awesome video. Could you do a video on are better backend architecture?
My respect for you is increasing after every video I watch!
I watched this video till the end! After watching your video top backend concept to master in 2022😅
I watched this video till the end!!!
Thanks a lot for this video..
Video Suggestion:
1) Please do a video on AWS Services and also make a short tutorial of them being integrated in a NodeJS Application(as Node is your and also my fav language 😄😄😃😃 )
2) Hands on tutorial for SSG /SSR+Caching uisng React or Next.JS...
Thank you again....
Great video. I had to switch a project from ssr to ssg (strapi backend) it performs so much better and haven’t even gotten it on vercel yet.
Oh yeah I watch all these to the end but never put it. Might as well now lol.
“I watched (all the videos) this to the end”
I watched this video till the end. Love the conte
Thanks this one cleared my doubt on either to use the API routes from NextJS or have a separate backend API
Brother can you please add step-by-step practical/hands-on tutorial on such topics after the theory part.
Great quality content, I'm binge-watching your videos!
you should also talk about microservices based architecture
This is great Architecture 👍I told my manager that we should separate our FE on Vercel (Instead of EC2 ) but at that time I don't have much knowledge to express why this architecture is better than the previous one, tones of thanks for sharing great knowledge🔥
Amazing how you give us priceless knowledge just like that
That would be great course to watch on how to develop apps with all these lambdas, how to deal with vercels, cloudfronts etc
I watched this video, till the end! Le bhai kar diya comment.
Thanks for sharing your knowledge man! Muchas gracias
It was very helpful video.....😄😄..I watched the video till the end.
It was interesting to watch!
Bro you look dope bro..and dope content btw..love your channel..watch all your videos every single day..
Sir make a video on building REST api using mongodb nodejs driver
100% Agree !! I do this A LOT !!!!
Hey I have a doubt here. As we know AWS lambda container shuts off if there are no requests for like 20 mins. Now if you have a database connection, since the server is actually restarted don't you think it is a waste to open new connections each time server restarts?
More videos like this pls
What about scalable and geodistributed databases like eg Yugabytedb, Pingcap TiDB,...? I would expect they solve the latency issues from databases running with eg sharding and replication all over the world?
Are they strongly consistent?
@@codedamn
I suppose yes since most of these DB solutions targeting Kubernetes deployments for the scalability.
I just notice there is little information shared about using solutions like this to overcome the DB scaling problem. I'm reading up and watching more YT vids on the concept for a better understanding myself. But the fact is, it's often neglected or talks only address a limited spectrum from possible solutions. It's a missed opportunity to explore more newer solutions that are available for quite some time
Dear Codedamn
You are creating really good videos. You are covering all technological topic in very detail. Keep it up.
Do you do something like Saturday night live type Q&A session?
couldn't agree with you.
->1st we should focus on the distributed server & later CDN
because in React/Vue the front-end load only a single time after that it usually communicates with the server 30-50 times.
so, we should prioritize the server distribution first to minimize latency.
Distributed servers is hard to get right. Even if you distribute compute, to get true benefits you need to distribute the database layer as well. And it is usually impossible to get distributed DB with high performance and strong consistency (cloudflare KV takes upto 60 seconds to sync the storage globally). Focus on what you can get right fastest - static assets over CDN
Amazing mehul bro.. keep it up 😀😀😀
Can you do some practical videos instead of just theory?
pls make video on distributed databases
JAMSTACK Lets Go
I watched the video till the end ❤️❤️❤️
make video on vercel pricing model .
Watched the video to the end ;)
I watched this video till the end.
Here comes a silliest question in the world,how about just nextjs, a database and nextjs's serverless backend api? it's basically the same thing? without node is it scalable? Please someone help me?
Very very informative channel
Happy birthday sir 🎉🎉🙏
Happy Birthday Mere Bhai 🌟
In cases of mobile application, we can skip the deployment on the CDN right?
I watched till the end😁
Thumbnail game to the moon
Good, but not the best unless you make a video on distributed backend.
what about laravel node js. I am talking about Adonis Js. Is it worthy to learn
Can you make a video on gRPC?
Do you have any course on this Architecture ?
I have a question why make backend when you have things like firebase 😅
💰
U wanna pay bucks???
@@akshaygadekar9926 we have to pay for servers then why not for firebase
@@jatinverma3576 firebase uses node JS, so you still need to learn it
It will be much more costly than having ur own backend
Can you please share the link of Twitter thread you mentioned?
twitter.com/rauchg/status/1337857095014629379
@@codedamn thank you
how do VPC's work ?
nextJs + material UI + lumen PHP (laravel micro framework) + MySQL is my tech stack, Mahul do you think this is scalable?
Any stack is scalable
Ofcourse,btw don't let mui supress your creativity, checkout other css frameworks as well
@@tapank415 yes I have used bootstrap a lot
@@akshaygadekar9926 Nice, I've used a number myself and have found Tailwind-css my favorite. Best of luck to you.
Same. I thought I am only one who uses Php with nextjs. 😅 Only diff is I use bootstrap instead MUI
Why you deliberately skip data center in India in the map. Ignoring India is great 🤔?
Audio is too low
Web developer has to learn data structures?
Eventually...but not to get a job at first
@@Geomaverick124 thanks for your reply sir 😄, I have an another doubt that in many videos I have seen that product based companies hire software engineer not web developers so how and where should we apply to get our first job and which stack will be preferable!!
@@skulldot5495 well it depends on where you live and what jobs you apply for...Web developers are software developers/engineers that just specialize in creating web apps and websites...you can look into CMS, Wordpress, or Shopify development; you could also look into Content Editor, HTML Email developer, or Web Master as starter jobs and work on the mainstream technologies like Nextjs, c#.net, Node, etc on the side. If you get one of the starter jobs and build a portfolio on the side with projects using relevant tech, you will be in a better position to get the job you really want
Gold channel.
Wat is VPC
Same question from me
virtual private cloud, i.e kinda same as vps.
Great