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.
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!!
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.
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
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.
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”
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
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🔥
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?
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?
@@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