System Design Interview - Design a Distributed LRU Cache (Full mock interview with Sr. MAANG SWE)

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

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

  • @tryexponent
    @tryexponent  2 месяца назад

    Make sure you're interview-ready with Exponent's system design interview prep course: bit.ly/474ucRM

  • @AbhishekYadav-ib9jj
    @AbhishekYadav-ib9jj 2 месяца назад +5

    Using doubly linked list is definitely required. During the get operations you’ll need to move the element to the head and delete from current location. With doubly linked list, deletion will constant time operation. With linkedlist, this will O(n) operation.

  • @judeboachie
    @judeboachie 2 месяца назад +4

    Please add chapters to your videos. Will help a lot!

  • @someshgangwar4013
    @someshgangwar4013 Месяц назад

    Great Video

  • @SpyrosGiann
    @SpyrosGiann 2 месяца назад +2

    Thanks, great content! Out of curiosity, what software and hardware (is it a stylus?) is Ravi using to conduct the interview?

    • @ravikant-hi8mz
      @ravikant-hi8mz 2 месяца назад +1

      It is a digital pen - Wacom pen tablet and software is whimsical

    • @tryexponent
      @tryexponent  2 месяца назад +1

      Hey SpyrosGiann, thanks for the kind words! The online whiteboard tool being used is called "Whimsical".

  • @AdityaGupta-yi7oe
    @AdityaGupta-yi7oe 2 месяца назад +1

    I would prefer a query router that would sit in bw Service Hosts and Cache cluster to route the queries, and service hosts and connect to this Router, just like we have in DB Sharding.
    Would this be a better approach to be suggested in an interview?

  • @SUNNYKUMAR-cl1xw
    @SUNNYKUMAR-cl1xw 2 месяца назад

    But why consitency and availability can’t be provided sql databases does that. Cap says any two at one point of time we can support.

  • @lakshaymiddha2531
    @lakshaymiddha2531 2 месяца назад

    I didn’t understand completely that why read requests would go to read replicas. We can read from primary and data will be more consistent. What’s the issue in this approach?

  • @AdityaGupta-yi7oe
    @AdityaGupta-yi7oe 2 месяца назад

    23:35 I would prefer a query router of some sort that would sit bw Service Hosts and Cache cluster and Service hostts just need to connect to the router, the way we have in DB sharding.
    Would this be a better approach to be suggested in an interview?

  • @ZenG2k24
    @ZenG2k24 2 месяца назад

    Great content. Love it :)

  • @szyulian
    @szyulian 2 месяца назад

    watched.😀-------