Spring Boot Caffeine Cache Integration | Cache in Spring Boot

แชร์
ฝัง

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

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

    Wonderful example for Caffeine + Springboot. Thanks!

  • @testingstories
    @testingstories 9 หลายเดือนก่อน

    It was explained clearly. Thanks!

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

    Super chinna 👍👍👏👏👏🤘🤘

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

    Good video bro

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

    Bro you already done about redis cache? Which cache is better?

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

      If you want to use Redis, you need one server instance and not required any instance for caffeine.
      There are two types of cache:
      1)in-process cache
      2) distributed cache:
      distributed cache, such as redis and memcached, and local (in-process) cache, such as ehcache, GuavaCache and Caffeine. Speaking of Guava Cache, many people are familiar with it. It is a very convenient and easy-to-use localized cache implementation in Google Guava toolkit. Based on LRU algorithm, it supports a variety of cache expiration strategies. Due to the extensive use of Guava, Guava Cache has also been widely used. However, is the performance of Guava Cache necessarily the best? Maybe its performance was very good.
      Caffeine provides a variety of cache filling strategies, value recovery strategies, but also contains statistics such as cache hit times, which can provide a great help for cache optimization.
      Here are the following caffeine time-based recovery strategies:
      expireAfterAccess: expire after access, expire after last read or write
      expireAfterWrite: The expiration time after the last write occurs
      Custom Policy: The expiration time is calculated separately after the Expiry interface is implemented

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

      @@technotowntechie9732 Thanks broi for your great explanation ☺️☺️

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

    git repo is not update