Do we have any Paid Data Structure and Algo Course ?
@kaelans21796 күн бұрын
why not take advice from the others and redo the video on the kafka part
@be0512687 күн бұрын
i didn;t get whats purpose of this video, cloud already fault tolerant , whenever i am designing something i assume its on cloud with two region. Other videos are nice , but sorry for this
@v.demchenko8 күн бұрын
Is it possible to just explain it in really simple way? After 6 minutes I still doesn't understand about what are you talking about. For the what reason you give this examples for SQL scaling problems for the whole video??? Redicilous...
@rafaelferreira239412 күн бұрын
Wrong information... Remove the video and make another one after study more about the technology
@someshpatel766014 күн бұрын
Its always nice to see visuals. Thanks mate. Keep up the good work :)
@raychang644316 күн бұрын
Thank you for the insightful video. However, there are a few things I am confused about. Any advice would be greatly appreciated: 1. Why do we need a WebSocket for Twitter? What are the benefits over SSE? We might encounter several related issues, such as how to handle recovery from a crashed server if we choose WebSocket, right? 2. How do you handle pub/sub with Kafka for hundreds of millions of users? Is your Kafka topic based on user_id? It seems like a giant chat room with all the users?
@RaviGILL-s1f18 күн бұрын
This is high level Design for my brain 🧠
@24DesiBinodon19 күн бұрын
Can you help to make an app like this, please contact
@mr-black_rock32125 күн бұрын
if topic A have 2 partition and 3 consumer in consumer group then 1 of consumer should wait and ask to leader to join the group
@mr-black_rock32125 күн бұрын
If topic A have 3 partition and consumer group have 3 consumer then 1 partion = 1 consumer if topic A have 4 partition and consumer group have 3 consumer then one of the consumer read from 2 partition and other 1=1 if topic A have 3 partition and we have 2 group of 3 consumers then each consumer of every group read from 1=1
@mineline562025 күн бұрын
dude this laser pointer is giving me flashbacks from school lmao
@taiwojolomi27 күн бұрын
I understand so little yet it was so interesting to see how networking problems were circumvented
@truongkimson29 күн бұрын
This video feels like it's written by ChatGPT. Some serious hallucination going on here
@rrituismАй бұрын
This is not so good.. No concept of Inverse index. Poor way of description. This is not web crawler
@MitaliNeerPatelАй бұрын
Why do you need blob store in first place. I just can't understand this part. Storing those web-pages isn't your job. You just need to count frequencies, Summaries of each pages. etc etc. To check, if the web-page is changed from your last visit, you can do checksum based optimisation,,, for each section of the webpage, create checksum, also, create checksum of entire page. This way, u can reduce memory usage on blob store.
@michaelmaloy6378Ай бұрын
I hope this channel grows exponentially. This is amazing content! Thank you, and well done! :)
@work_lpag-t7iАй бұрын
I love this video. It's informative and really well made. I also love to read the comments on these videos as, no matter how good your architecture is, there is always something to improve. Looking forward to see an update on this (especially regarding the data extraction process). But once again. This is awesome content. Keep going :) :)
@SuperGojetoАй бұрын
Though this video is good but it seems to be too simple and also shallow. I came here after watching your google search system design which seemed more complete. If possible please create an updated video with more details and precision.
@SuperGojetoАй бұрын
I was having a feeling that I would have to crawl the youtube videos for a quality video on Google System design! But BRAVO! I find this video as the first video with the highest views. Great job!
@cool-aquarianАй бұрын
I am fanning out after watching this video 😊
@antonzhylenko2132Ай бұрын
"Jupiter" name gives off final boss vibes
@bernardoquaresma1123Ай бұрын
Excellent explanation and clear language! I'm starting out in Python and wanted to challenge myself. Thank you for the lesson!
@nahtanpng9589Ай бұрын
awesome video dude!
@sanchitbatra4431Ай бұрын
RabbitMQ is push based model , consumer does not poll , rabbitMq tries to push as soon as it gets the message
@NimeshKumar2989Ай бұрын
what is the software used here to create presentations and interact with Apple Pencil?
@VarunArora14Ай бұрын
Love your channel mate. Very helpful for interview prep
@MuhammadIlyas-dr7egАй бұрын
First view 😀
@YoungChiaoАй бұрын
they got cooked on the Tyson fight
@jpmc1312Ай бұрын
Here because of the Tyson fight as well - one provider in my area (Bell) had bad Netflix, one provider (Rogers) had good Netflix. Presumably something to do with how they're connected into the Netflix CDN...?
@ChoocoPunchАй бұрын
Can I ask what should a NoSQL database table schema look like? Should it looks like 0:05 ?
@surenderthakran6622Ай бұрын
You say consumers when you should be saying consumer groups when talking about Kafka fanout. Otherwise a nice explanation
@pradeepbhat1363Ай бұрын
Great content. It is not clear how to fetch the user's tweet when the key is slowflake id and it is distributed over multiple nodes ?
@h.l.a.ondoua8514Ай бұрын
What about emqtt
@deddallamaАй бұрын
Why not Use CDC?
@vaishnavpureddiwar30912 ай бұрын
really nice :), thanks
@pingqiu73182 ай бұрын
Very good video! Thanks for sharing! One tiny thing, I would prefer NFS over Blob Store like S3 to keep the downloaded pages. A webpage will keep references to lots of resources, like json/css/javascript files. The bold/highlighted words are more important than plain text. That's very important information for ranking. If we don't keep the css files, those information will be lost. So we need to keep them together with the HTML file. It will be very complex to keep those information for multiple files in a single webpage in metadata if we use S3. So I suggest just download the web page with everything to a folder in NFS, and ask indexer to help themselves.
@optimusdebugger96382 ай бұрын
nitpick. We lost quantity when we went from model to table on order_product table
@ryan.aquino2 ай бұрын
I'm still quite confused on why we prefer queue + Flink (stream processing) instead of just ingesting data directly from sources using spark.
@geekwithme9449Ай бұрын
spark is not a tool for streaming data. Using Flink enables you to do real-time data ingestion along with the transformations. It is mostly used in fraud and anomaly detection usecases.
@saiyijinprince2 ай бұрын
I think you missed a huge aspect about when you to choose between SQL vs NoSQL. At the end of the day, its more about picking the right tool for the job, and less about the scale of the data. If you need ACID transactions, use SQL. If you're okay with eventual consistency then NoSQL might be easier. The scale of your data is just one minor aspect you need to consider when building a system. I'd argue you can scale both types of DBs just as much as each other but it'll all come down to what kind of trade offs you're willing to make. Its not uncommon to have a combination of both NoSQL and SQL DBs, they are not mutually exclusive.
@arbazadam34072 ай бұрын
I have faced issues while accessing data in nosql databases. 🥲
@ibrahimkoz19832 ай бұрын
Postgresql offers the same power as MongoDB when it comes to json, so there's no sense to choose MongoDB even if you want to store your data in denormalized form.
@ibrahimkoz19832 ай бұрын
@codingwithjamal nope. Postgres stores json as jsonb and it is blazingly fast.
@interviewpenАй бұрын
From my understanding, postgres doesn’t have the same ability to select or filter on json fields. But regardless, using a solution that was designed from the ground up for this use case will generally result in a better experience. Thanks for the insight!
@sharmanihalАй бұрын
@@interviewpen Postgres can quite nicely filter/search/index the json fields; however, this only does not make it an ideal candidate to choose over MongoDB.
@soumenmondal72942 ай бұрын
hi @interviewpen , it's diwali can i get one coupon code so that i can buy your sytem design course, it's diwali , love from india
@vivekgujari91182 ай бұрын
I have a question. Everytime when a user logs in, the system will generate a session token regardless of if it is a good user or a bad user. How this session token differentiates between the good and bad user?
@interviewpenАй бұрын
When we log in, our authentication system has to verify the user’s credentials and generate a session token. If the user doesn’t have the right credentials, the system will reject the user and will not generate a token. Hope that helps!
@Fikusiklol2 ай бұрын
Good stuff! However, what is also important apart from schema, that relational database has relatively slow writes/updates because of their index structure (B-tree) and storage mechanisms. Apache Cassandra, afaik, has LSM tree and mem tables. MongoDB has async I/O journaling and also has LSM tree (or does it?) in addition to B-tree. I, personally, dont like any relational DB, but "right tool for the right job" :)
@charliebitmyfinger71242 ай бұрын
Relational databases are also acid compliant and are by far the most reliable types of databases.
@Fikusiklol2 ай бұрын
@@charliebitmyfinger7124 NoSQL database are also acid compliant. It depends on what guarantees they provide, as every engine provides different guarantees.
@interviewpen2 ай бұрын
Really great insights, thanks!
@nandans250617 күн бұрын
Relational is more often than not the right tool for the job in hand. Use cases for nosql are very narrow in real world applications. It's good if you know your exact requirements and it fits the purpose. Most under development projects don't know exact requirements and they change with time, nosql will bite you for eternity
@ehm-wg8pd2 ай бұрын
this is gold
@interviewpen2 ай бұрын
Thanks for watching!
@goldenlin95282 ай бұрын
do most large scale companies use nosql then in favor of ease of storing and accessing data?
@interviewpen2 ай бұрын
Yep--companies that need to query massive amounts of transactional data typically use NoSQL databases for flexibility when distributing data across a large cluster.
@professionalsd96472 ай бұрын
I'm i missing something or he didn't design the model in nosql ?
@ssefrhd2 ай бұрын
Exactly my thought as well..
@interviewpen2 ай бұрын
The schema shown is just an example to show the limitations of the relational model. Point is, NoSQL databases allow us to design around query patterns. The same logical data could result in very different schemas depending on the requirements or which database we choose. If you want to learn about non-relational schema design, you might want to look at our course on interviewpen.com :)
@mindrust2032 ай бұрын
@@interviewpen True, but I think I speak for most of us when I say we were expecting to see how you would design the NoSQL data model to solve the issues you mentioned, with regards to querying products in an order and getting the number of times a product appears across all orders.
@KENTOSI2 ай бұрын
Hey nice video, but I'm confused about 1 thing: You mentioned that the CDNs are caches themselves, but then we're adding an additional cache layer? This seems redundant, no? Even if you go with the requirement of leaving NY data close to NY users, why can't you can still implement this algorithm at the CDN level?
@interviewpen2 ай бұрын
The CDN hosts static content such as images, but we can’t cache an api like that-the data is dynamic. So we still need an API, but caching this dynamic data will lower latency. Thanks for watching!
@KENTOSI2 ай бұрын
@@interviewpen Got it thanks for explaining.
@四伊柳2 ай бұрын
Amazing video, thanks a lot ❤
@interviewpen2 ай бұрын
Thanks for watching!
@smaug98332 ай бұрын
Great video! Would like to have seen NATs included in the comparison.