As per this design, URL Shortener Service and it's SQL Postgres Db is a Single Point of failure. And also, in case of high traffic, single SQL db will choke or introduce high latency due to its blocking nature.
@josevicente6323 күн бұрын
Excelent
@denisvradiy85034 күн бұрын
thank you bro! you saved a lot of time for me!
@KirubakaranSrinivasan5 күн бұрын
This is an outstanding video! The way you seamlessly connected the concepts and brought them to life visually is truly impressive. Keep making such a great & informative videos.
@HoàngPhan-y7u5 күн бұрын
Great video🎉
@blaisedmello73426 күн бұрын
what code editor is that=?
@hayk.simonyan6 күн бұрын
vscode
@shafiq_ramli7 күн бұрын
I thought destructuring is only for array because of using react. Now I know we can destructure even with object. Cool.
@hayk.simonyan6 күн бұрын
Yes destructuring is super handy with objects as well. You’re probably familiar with array destructuring when using useState in React, but it's also very common to destructure component props which is an example of object destructuring.
@shafiq_ramli6 күн бұрын
@@hayk.simonyan Oh so I've also been using object destructuring all this while with prop. Still got a lot to learn 💪🏻
@tejiriamrasa32587 күн бұрын
what code editor are you using?
@hayk.simonyan6 күн бұрын
vscode
@jorgegallego96729 күн бұрын
Hayk you are my favorite system design channel. Congrats, no other channel taught me as much as you did!
@hayk.simonyan6 күн бұрын
Thanks! Glad you enjoy it!
@jsjeevasaravanan929810 күн бұрын
perfect , concepts are well clear, Keep rocking
@filthyslobberingmutt10 күн бұрын
Thank you so much, this video saved me, concise and to the point while still covering everything I needed.
@kartikkaushik474312 күн бұрын
well explained brother I subbscribed your super channel just regretting if I find this golden mine channel first then i will be more lucky
@hayk.simonyan10 күн бұрын
glad you found it helpful brother 👍
@samkassem-g1i13 күн бұрын
I have a very similar structure and I am getting "ThemeForest Files Included must be set", any idea?
@prasad_yt14 күн бұрын
Good one ! I like your style - crisp and to the point. Keep it up 👍 Suggestion : It might have helped to explain what consistent in ACID stands for.
@hayk.simonyan10 күн бұрын
Thanks for the suggestion, I'll explain it in more detail next time 👍
@prasad_yt14 күн бұрын
Thanks
@hayk.simonyan10 күн бұрын
You're welcome!
@LQBN-eh3dx16 күн бұрын
This is a great video, very clear and to the point! It is very helpful! 💗
@Wasabi.Script16 күн бұрын
great video
@hayk.simonyan16 күн бұрын
Thanks!
@Raider-os8kt16 күн бұрын
After the step of selecting existing projects it gives error
@quokka868717 күн бұрын
Great Video!
@anilcnkr17 күн бұрын
Thank you for great explanations! I have a short question: Why do we use a pull-based CDN here? Since the media files are not likely to be edited, isn't it better to use a push-based CDN so that the content is already available in the edge servers as soon as the media is created?
@LQBN-eh3dx16 күн бұрын
I would think we only need to pull data when user views the feed.
@hayk.simonyan12 күн бұрын
A pull based CDN is preferred for twitter because it caches only the most requested media, which reduces the storage costs. You're right that push-based CDN will come with immediate availability, but it may lead to unnecessary storage for infrequently accessed content.
@chessmaster85617 күн бұрын
How is az different from AZ in case of url.. also this calculation does not have much values Is your code and database scalable? That's all
@mohamedfaizal436017 күн бұрын
Nandri(Thankyou) from India.
@hayk.simonyan10 күн бұрын
You're welcome!
@akhilthehero280019 күн бұрын
Please start UDEMY Courses. You deserve it. Cost is very less in udemy.
@hayk.simonyan16 күн бұрын
I do have free courses in our Skool community. But that’s a good suggestion, I might consider uploading them and future ones to Udemy as well 👍
@DylanOkyere21 күн бұрын
Great video but could you maybe show us how you would configure and provision such resources? I think that would be very valuable
@hayk.simonyan21 күн бұрын
Great idea! I'll consider covering the configuration and code level as well to explain how to implement these techniques.
@raymondmichael498713 күн бұрын
@@hayk.simonyan willing to wait for it 😊
@habibosaye6 күн бұрын
Missing piece really
@avijitgoswami858821 күн бұрын
Thanks...
@hayk.simonyan21 күн бұрын
You're welcome!
@someshpatel766024 күн бұрын
Great video! Explained in clear and concise manner. Thank a lot :)
@hayk.simonyan21 күн бұрын
You're very welcome!
@XTECY202325 күн бұрын
hello i had a question is there a way to host flask websites on firebase
@yusirdemir25 күн бұрын
Thanks
@hayk.simonyan25 күн бұрын
Welcome
@saulbenavides403727 күн бұрын
Great video! Thanks for sharing!
@hayk.simonyan25 күн бұрын
You’re welcome!
@PatrickNoonan29 күн бұрын
Very helpful vid, thanks man!
@hayk.simonyan25 күн бұрын
You’re welcome!!
@samarnagar969929 күн бұрын
docker desktop is bad id prefer cli than it
@emmanuelsaavedra6037Ай бұрын
Muchas gracias excelente video explicativo
@aaronprince7834Ай бұрын
General Remote Procedure Call -> NOT GOOGLE... Even though Google created they claim the g stands for general.
@hayk.simonyanАй бұрын
it typically stands for Google, as it originated from google's internal system. While some may refer to it as 'general' in certain contexts, most official documentation and sources either refer to it as google remote procedure call or just remote procedure call
@tatendamuzenda8442Ай бұрын
i can never thank you enough man
@doltBmBАй бұрын
better idea: stop using a server OS from the 70's on the desktop
@Coding101-nb5ejАй бұрын
do you mean to switch to a linux OS that was originally designed for machines, not people?
@pyrolas328Ай бұрын
been searching for hours now but yours worked perfectly thanks
@hayk.simonyanАй бұрын
you're welcome!!
@JoseSanchez-vv1zdАй бұрын
Excellent video. Thank you for creating it!
@hayk.simonyanАй бұрын
You're welcome!!
@2sourcererАй бұрын
10:12 you said the system with Postgres doesn't handle generating 1000 URLs / sec so cache layer is introduced. Yet 10:22 you talked about "popular URL" which implies the URL is meant for a redirection service. So is the caching layer needed for both creation and redirection? I don't understand how the creation could be "locked" with cache?
@hayk.simonyanАй бұрын
The caching layer in this system is mainly for accessing the URLs from the NoSQL database, not when generating them via URL shortener. That's because this is a read heavy system, meaning it will get many more reads compared to writes
@avinashd2481Ай бұрын
Thank you for explaining the exact points rather than advertising your expertise or marketing bit tech as templates for popularity. Please keep this simplicity in all your videos.
@hayk.simonyanАй бұрын
You're welcome! Expect many more such videos
@LSAPilotАй бұрын
Amazing Tutorial, helped me so much! One more question: When trying to deploy new code, is it enough to just pull them into my projectdirectory? Or do I have to stop the Server beforehand and restart it afterwards? If so how do I end the service when running in pm2? Kind regards :)
@hayk.simonyanАй бұрын
You have to stop and restart the server, and you can use the pm2 stop command - pm2 stop your_app_name. After that, you can pull your changes and then restart the server with the same pm2 command that is shown in the video. Here are some useful commands that you can use pm2.keymetrics.io/docs/usage/process-management/
Even with Canva, it is a time-consuming to create these diagrams, and then add text, narrative. Does it pay off?
@hayk.simonyanАй бұрын
You're right, creating these presentations is time-consuming. If you mean in terms of YT monetization, then no, it hardly even covers the Canva pro subscription ))
@SiafaConsultingincАй бұрын
very well done! great overview...
@hayk.simonyanАй бұрын
thanks!!
@hahaheheh0h0Ай бұрын
wait what? given 1:40, does that mean load balancer can be replaced by message queue?
@hayk.simonyanАй бұрын
They might seem similar, but no, It's not a direct replacement. Load balancer gets incoming HTTP requests from users and distributes them across multiple servers, while message queues operates at a lower level (often at the transport layer) and it acts as intermediary between backend services for async communication
@shahidmustafa7768Ай бұрын
I like your approach of sharing all the relevant information and knowledge to all levels. I found it informative and relevant to help in switching my career. Thank you