Mobile System Design Mock Interview: Photos App (like Google Photos)

Поделиться
HTML-код
  • Опубликовано: 6 ноя 2024

Комментарии • 36

  • @ShubhamGupta7-v7e
    @ShubhamGupta7-v7e 11 месяцев назад +2

    We can gather these for
    Upload/Download Feature:
    - photos
    - approx size?
    - parallel
    - background
    - pause, resume?
    - encrypted?
    - URI Sessions?
    - metadata type? Unstructured?
    - can be shared? Permissions?
    - priority
    - throttling
    - notification update
    - file integrity check
    - outdated cleaning

  • @shamaagrawal
    @shamaagrawal 2 года назад +5

    Watching this video from India with 0 buffering Eugene😅😅 btw great video , very useful!

  • @abhivaidya2619
    @abhivaidya2619 6 месяцев назад +6

    watching from India from a far distant village with speed 778MBps

  • @cosodelcosito
    @cosodelcosito 7 месяцев назад +2

    A reason to not use blobs in db may be that you keep the db nimble, return data quickly and separately you retrieve the actual bytes from disk. UI renders some data quickly and full photo later.
    ...Now to hedge my statements because people will come after me (as the internet does).
    You can potentially achieve the same thing by using the db and querying twice (one for metadata, one for full data), and or using content provider to abstract the database reads (off the same table), and still use URIs.
    But even then, I think it doesn't scale well to multiple developers, because people may "SELECT *" anyway, and slow down queries, etc. So while yes, it may be an axiom and may not necessarily be true, it's nowadays somewhat of a convention and people will expect to be there, so more errors could occur if you don't follow it.
    Separating them could also help reduce contention accessing the resources (db + file vs db + db).
    All in all, it's extra effort just to have a non-conventional setup and "prove the world wrong".
    Cheers Alex!

    • @Pavitrak24
      @Pavitrak24 6 месяцев назад +1

      You're 100% correct. That's how other apps usually recommends and does the implementation because of the points you mentioned. While scrolling images faster, the reads from the internal storage(file) with raw bytes is more efficient on the memory.

  • @AbhishekBansal14
    @AbhishekBansal14 2 года назад +10

    This content is Gold. Really liked the detailed feedback. I am surprised to as how come Image loading and performance issues were never mentioned by the interviewer or interviewee.
    On a side note though Indians have access to some of the cheapest internet plans in the world :)

    • @alementuev
      @alementuev  2 года назад +2

      Abhishek, I'd be happy to have you as a candidate and hear your thoughts on image loading performance issues! 🙂

    • @AbhishekBansal14
      @AbhishekBansal14 2 года назад +2

      @@alementuev Ha ha should have saw that coming. I have zero experience with System Design interviews right now. Learning currently thanks to the content creators like you! But, someday may be.

    • @hiteshchopra9181
      @hiteshchopra9181 2 года назад +1

      I was about to comment the same regarding the Internet thing 😅

    • @vinayakthite
      @vinayakthite 2 года назад +1

      @@alementuev what if someone wants to volunteer here? Though I have not faced system design interview by big techs I would like to get similar experience in marathon. In India people try to be asshole if they are hiring far ahead of the time and nice when their previously hired candidate says I have better offer at 11th hour and does not join. 🤣

  • @sumitkumar-bz2vv
    @sumitkumar-bz2vv 11 месяцев назад +3

    25:45 bro system hanged up,pom pom

  • @narendrakothamire2679
    @narendrakothamire2679 2 года назад +5

    In India, Not only Internet cheap but we have free unlimited calls and sms as well, so dont care

  • @dudefy33
    @dudefy33 2 года назад +2

    Great video and feedback!

  • @Jaffer420
    @Jaffer420 2 года назад +1

    Keep posting videos like these man .

  • @AmitSinghIndia
    @AmitSinghIndia 2 года назад +1

    @41:51 - @42.10 - When user install app from that point of time he does not have any internet connection - 1 option can be , we can use FirebaseRemoteConfig with default values of country specific i.e. india - 2g - default config so FirebaseRemoteConfig will use default and compare with device , and once internet available any he can fetch updated new config.

  • @android-me7102
    @android-me7102 Год назад +2

    Loved the video but just one correction, India has cheapest internet available to indians. No network issues here.

  • @hiteshchopra9181
    @hiteshchopra9181 2 года назад

    Thanks for the mock and detailed feedback

  • @Mona-xl6pf
    @Mona-xl6pf 2 года назад +2

    Спасибо за мок интервью, круто и познавательное получилось 👍🏻
    У кандидата опыт работы с Индии можно заметить по его акценту 😅

  • @isaac48
    @isaac48 2 года назад +5

    Alex being a slight d**khead by continuing to bring up the "software expert" comment 😂. I love it!

  • @brandonfong9998
    @brandonfong9998 2 года назад +1

    did he say that images shouldn't be stored on the backend for security reasons? If so, why?

  • @aaAaa-rq2cj
    @aaAaa-rq2cj Год назад

    Pls put the notes discussed in video.The text is too small

  • @iiillllyyyyaaa
    @iiillllyyyyaaa 2 года назад

    @Alex Lementuev не знал куда написать, напишу здесь, хотел выразить благодарность за то, что поделился опытом в подкасте про фаанг на другом канале, у меня руки опустились в один момент и потом, я случайно наткнулся на то интервью, ты прям вселил в меня силы своей мудростью 😂. У меня прям второе дыхание открылось, вобщем спасибо. 👍

    • @alementuev
      @alementuev  2 года назад +1

      Рад помочь! Дай знать, как пойдут интервью!

  • @anthonyk219
    @anthonyk219 2 года назад

    Do you think this is a good demonstration of Senior Android Engineer Level design?

  • @gdev8933
    @gdev8933 2 года назад

    good usefull.thanks

  • @qqu2mc79
    @qqu2mc79 Год назад +1

    1:27:05 this ending is amazing 😂

  • @ashishg656
    @ashishg656 2 года назад

    Hi, I want to give a mock interview to you as well. Can we connect?

    • @ashishg656
      @ashishg656 2 года назад

      have sent you connect request on LinkedIn - we can connect there as well.

  • @karthikperiasami
    @karthikperiasami 6 месяцев назад +1

    Poor network is a common issue in every country xD. If its India, I would worry about localization first.

  • @juanpabloramos5070
    @juanpabloramos5070 2 года назад

    43:34 feedback

  • @igorf243
    @igorf243 2 года назад

    узнал очень много про Индию и мало про нюансы реализации