Тёмный

Google Docs Design Deep Dive with Google SWE! | Systems Design Interview Question 13 

Jordan has no life
Подписаться 51 тыс.
Просмотров 16 тыс.
50% 1

Опубликовано:

 

4 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 24   
@Ms452123
@Ms452123 2 года назад
Do you think you making PowerPoints of the concepts that you covered in this entire series helped you with your long term understanding of the fundamentals. Essentially can creating a PowerPoint on a topic be a high yield method of learning.
@jordanhasnolife5163
@jordanhasnolife5163 2 года назад
I believe that writing things down that you're trying to learn has proven to be one of the most effective methods of studying
@Snehilw
@Snehilw 2 года назад
Not true dude, I listen to all your videos sometimes multiple times end to end and know a few friends who do too. Keep up the good work!
@theghostwhowalk
@theghostwhowalk 2 года назад
Great explanation!!
@utkarshgupta2909
@utkarshgupta2909 2 года назад
Jordon can you please make a video series on databases... We guys really have lot of problem choosing the right database sometimes.
@jordanhasnolife5163
@jordanhasnolife5163 2 года назад
Perhaps I shall
@mann8737
@mann8737 Год назад
Hey Jordan! First, Your videos are really helping me out for interview prep. I have a question tho about HBase. How would the HBase schema look like for storing documents? What is going to be the row key, sort key and what about the columns?
@jordanhasnolife5163
@jordanhasnolife5163 Год назад
Yeah so think of it like this: Partition key: documentId Sort key: documentIndex Columns: characterAtIndex
@yusufsipahi3916
@yusufsipahi3916 Год назад
hello @@jordanhasnolife5163 , I want to clarify the db schema for an event of an insertion in OT. Let's say our server gets an insert request for a document at index "i". In that case I believe this request does not only effect documentIndex at "i" but we also need to propagate this change to rest of the indexes by incrementing them by 1 in our db. Don't you think this has negative impact on db writes?
@jordanhasnolife5163
@jordanhasnolife5163 Год назад
@@yusufsipahi3916 In theory sure, in practice you could use like a linked list or something
@hemanthaugust7217
@hemanthaugust7217 10 месяцев назад
So, based on the schema given below, what is documentIndex? I understand documentId is unique for entire document. Is docIndex similar to pageNumber? So, each docId has multiple docIndexes? Does each character become a separate Row in the DB? Isn't it a lot? Can't we store entire line as a Row?
@shubhankar915
@shubhankar915 Год назад
Can we use cassandra to store the document changes in Operational transformation as well? What advantages does HBase give over cassandra! Thanks!
@jordanhasnolife5163
@jordanhasnolife5163 Год назад
HBase is column oriented storage which is nice if you want to get lower latency just getting the characters in the doc as opposed to a bunch of metadata which will probably be in the db
@2tce
@2tce 2 года назад
So what would you handle character deletions as opposed to insertions? Just delete that index?
@jordanhasnolife5163
@jordanhasnolife5163 2 года назад
Yes but deletions are tricky in the sense that they require FIFO broadcast - you can't delete a character unless it already exists, so you need to make sure that at least from a single client, all of the operations are being broadcast in the correct order
@yusufsipahi3916
@yusufsipahi3916 Год назад
how would you change your design for video/image insertion into the documents?
@jordanhasnolife5163
@jordanhasnolife5163 Год назад
Barely to be honest, you're just adding a link to s3 instead of text
@Awaytake
@Awaytake 3 месяца назад
Credits: Martin Kleppmann (ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-yCcWpzY8dIA.html)
@jordanhasnolife5163
@jordanhasnolife5163 3 месяца назад
I'm a dirty plagiarizer!
@HustlerMS
@HustlerMS 3 месяца назад
Nah, your content is superb. I posted the link for someone who might be interested in that talk. Thanks for uploading.
@jordanhasnolife5163
@jordanhasnolife5163 3 месяца назад
@@HustlerMS haha thanks man, was just messing around I appreciate you attaching it
@mhp647
@mhp647 Год назад
it would be way more easy to follow if you would have some images or slides on screen to focus on them, not your face
@jordanhasnolife5163
@jordanhasnolife5163 Год назад
Remaking all of these starting in a month, that's the plan
Далее
V16 из БЕНЗОПИЛ - ПЕРВЫЙ ЗАПУСК
13:57
How Many Twins Can You Spot?
00:17
Просмотров 19 млн
Example coding interview: Designing Google Docs
40:58