How would I design a URL shortener application (interview question prep)

แชร์
ฝัง
  • เผยแพร่เมื่อ 25 พ.ย. 2024

ความคิดเห็น • 45

  • @dongus12
    @dongus12 2 ปีที่แล้ว +4

    Super helpful stuff! Was fun to just watch your thought process on what the design would look like and thanks for telling me to remind myself to not get hung up in the details. The high level overview is always super important in the beginning and it makes it a lot less scary to know what you don't know, lol.

  • @universecode1101
    @universecode1101 2 ปีที่แล้ว +5

    Great job and well explained. Very useful for beginners and seniors 👏🏻

  • @tbcfrankee
    @tbcfrankee 2 ปีที่แล้ว +6

    I've got nothing to do for a few weeks so I'm going to build a simple site with React challenges, with random webdev challenges I think of or find on the web, mostly inspired by your videos. I'll let you know when the MVP is up.

    • @ashishkumawat6110
      @ashishkumawat6110 6 หลายเดือนก่อน +1

      Not to sound like a manager but... Is the MVP ready?

  • @KoOcie92
    @KoOcie92 2 ปีที่แล้ว +1

    Only 150 likes atm ?! Oh c'mon people ! This video deserves recognition, so hit that like button !

  • @rtl6832
    @rtl6832 5 หลายเดือนก่อน

    I can see this approach backfiring during an interview for a junior position. You should start with specifying the MVP. When asked how would you improve/extend, then you could start asking questions around things unrelated to the task like user registration, IMO.

  • @quentinnorris8977
    @quentinnorris8977 ปีที่แล้ว

    Ugh this is incredible. Any guides / brain dumps on where to start prepping for System Design questions (more frontend related?)

  • @j0haan
    @j0haan ปีที่แล้ว

    Great work! Keep doing this!

  • @whoknows3679
    @whoknows3679 10 หลายเดือนก่อน

    At that point to get even faster, some CDN cache would be good

  • @Rust_Rust_Rust
    @Rust_Rust_Rust 2 ปีที่แล้ว +1

    Good job dad 👨

  • @SeibertSwirl
    @SeibertSwirl 2 ปีที่แล้ว +1

    Good job babe ❤️

  • @egaldamez2
    @egaldamez2 2 ปีที่แล้ว +5

    What are you using to do the diagram?

  • @samjohnston3416
    @samjohnston3416 2 ปีที่แล้ว +3

    This covers 3-4 peoples jobs in some companies 😂

  • @jimhawkins2483
    @jimhawkins2483 ปีที่แล้ว +3

    Greetings, i've got a very disturbing question... recently everybody goes wild with chatgp open ai, everyone is saying that junior devs arent needed anymore etc staff... i am few month in with learning js and i am worried if its good choice now or webdevs(especially juniors) will have hard times in nearest future? Should i continue learning? Big thx for your answers

    • @WebDevCody
      @WebDevCody  ปีที่แล้ว +3

      Chatgtp sucks, I’ve played around with it

    • @jimhawkins2483
      @jimhawkins2483 ปีที่แล้ว

      @@WebDevCody thank you for your answer

    • @whoknows3679
      @whoknows3679 10 หลายเดือนก่อน

      ChatGPT doesn’t suck, it just a tool
      You should tried to use if you have a use for it, (summarize for example)
      But currently I think this empowers developers as anything else, 10 years ago it would take a team to do something, today you can do more just alone
      My point is that we should adapt, and use the tools to improve ourselves

  • @yousafwazir3167
    @yousafwazir3167 2 ปีที่แล้ว +1

    Yo nice

  • @darknezbg
    @darknezbg 2 ปีที่แล้ว +2

    You are telling me that I need to do that diagram at the Junior interview soon? :D

    • @WebDevCody
      @WebDevCody  2 ปีที่แล้ว +2

      Idk about junior, but I’ve had people ask me to design things at an interview before

  • @tusharkuwar4
    @tusharkuwar4 11 หลายเดือนก่อน

    I think How to generate short codes is not discussed just, length of it is not enough, we don't want to repeat codes, in case of scalling as there will be more servers, how to handle this scenario where need to avoid same code can get generated.
    A Zookeeper-like solution can work for it I think.

  • @klarnorbert
    @klarnorbert ปีที่แล้ว +1

    Would be pretty meh, because you need to look up every shortened url if it's already exist in the database.

  • @sadunozer2241
    @sadunozer2241 2 ปีที่แล้ว

    pay for a redis as a service, decide what language for backend; serverless node probably; host it using firebase, whatever frontend stack. Everything else confuses me tbh. It's pretty obvious what we have to do

    • @sadunozer2241
      @sadunozer2241 2 ปีที่แล้ว +1

      firestore, just use that b

    • @WebDevCody
      @WebDevCody  2 ปีที่แล้ว

      firestore seems like it is 3x more expensive than dynamo, but yeah I guess that would work as well

    • @sadunozer2241
      @sadunozer2241 2 ปีที่แล้ว

      @@WebDevCody that's nasty! but caching can be very simple and effective for basically static stuff, I'm talking about some sort of 2022 edge caching for apis solution ofc, though CF should nail whatever the problem might be

    • @WebDevCody
      @WebDevCody  2 ปีที่แล้ว

      @@sadunozer2241 yeah you might be able to put cloudfront in front of your api endpoint so that the redirect is cached in cloudfront as well which would reduce dynamodb access by a lot probably.

  • @vamshikrishnareddy76
    @vamshikrishnareddy76 2 ปีที่แล้ว

    Hello I just have a small doubt in react about setting the state after fetching the data does someone have like quick 5 min to clear it out for me

  • @djoezi3662
    @djoezi3662 2 ปีที่แล้ว +1

    can OpenAI replace frontend or backend developers??

    • @WebDevCody
      @WebDevCody  2 ปีที่แล้ว +2

      You spam the same question on multiple video, not sure if I should report you for spam

    • @djoezi3662
      @djoezi3662 2 ปีที่แล้ว

      @@WebDevCody
      That wasn't only for you!! Other people or developers can also answer. But sorry anyway! Thanks for responding

    • @brianfarley2723
      @brianfarley2723 ปีที่แล้ว

      ​@@djoezi3662 OPENai could replace you quite easily.

    • @djoezi3662
      @djoezi3662 ปีที่แล้ว

      @@brianfarley2723 ??

  • @manishalankala1622
    @manishalankala1622 ปีที่แล้ว

    Do you do devops also

    • @WebDevCody
      @WebDevCody  ปีที่แล้ว

      Yeah I setup most of the ci/cd pipeline at my current work along with the terraform and cli scripts used to deploy our apps

    • @manishalankala1622
      @manishalankala1622 ปีที่แล้ว

      @@WebDevCody Okay, i would also like to see devops relavent topics from you if you are planned/interested. as you explained well for this url shortner.

  • @WewCode
    @WewCode ปีที่แล้ว

    hey dude you okay its been a while since youve posted a video? just wondering

    • @WebDevCody
      @WebDevCody  ปีที่แล้ว

      Yeah, just been busy with holidays, took a cruise, family was visiting, Christmas coming up. I should try to at least post something soon

  • @Donaldrobinsoniii
    @Donaldrobinsoniii ปีที่แล้ว

    Anybody know the application he was using to write his notes ?

    • @aiomide
      @aiomide ปีที่แล้ว

      Excalidraw

  • @_zarf64
    @_zarf64 2 ปีที่แล้ว

    Hi, it seems your discord invite link isn't working?

    • @WebDevCody
      @WebDevCody  2 ปีที่แล้ว

      People have been joining fine. Maybe try again?

    • @_zarf64
      @_zarf64 2 ปีที่แล้ว

      @@WebDevCodyJust tried it again and works fine, must’ve caught it at a bad time 😎