Distributed Caching for System Design Interviews

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

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

  • @SUNNofODIN
    @SUNNofODIN Год назад +2

    Can't get enough of these videos. Thanks for taking the time to make them.

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

    What do you mean by distributed in-memory cache? An in-memory cache is by definition within the specific node - how can that be distributed?

    • @ByteMonk
      @ByteMonk  Год назад

      You are correct that an in-memory cache is typically implemented within a single node. However, a distributed in-memory cache is a different type of cache that uses the combines memory of multiple nodes to store cached data.
      An in-memory cache can be distributed by using a cluster of servers. Each server in the cluster stores a portion of the cached data. When an application needs to access a cached item, it sends a request to the cluster. The cluster then routes the request to the server that stores the requested item. The server then returns the item to the application.
      There are a number of different ways to implement a distributed in-memory cache cluster. One common approach I showed a hash ring. A hash ring is a data structure that maps keys to servers. When a request is received by the cluster, the cluster uses the hash ring to determine which server is responsible for storing the requested item.
      You may also looking into leader-follower architecture

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

    Which software did you use for animation

  • @Dhanush-m4f
    @Dhanush-m4f Год назад

    Centaralise cache
    Distributed cache