Spring boot Cache | Caffeine | Redis

Поделиться
HTML-код
  • Опубликовано: 11 сен 2024
  • Spring boot Cache | Caffeine | Redis
    To get More update like job Opening, free live sessions from IT experts Join This Community : chat.whatsapp....
    #microservices #springboot #springsecurity #java #java8 #javasecurity #cache
    GitHub : github.com/av2...

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

  • @roshanbhivate509
    @roshanbhivate509 15 дней назад +1

    Simple way of explanation...plzz will u make a tutorial on creating custom annotations...

  • @santhosh285
    @santhosh285 Месяц назад +1

    From day before yesterday onwards started worked on Redis cache. Thank you for your explanation.

    • @AVSOFT-fq1qm
      @AVSOFT-fq1qm  Месяц назад

      Thanks Man, please support and share this channel

  • @fahadgaliwango4502
    @fahadgaliwango4502 Месяц назад +1

    Thanks for clarity.
    Can we implement both redis and caffeine in same springboot application.
    eg. since caffeine works at application level(more secure) we use it to cache authentication details and then redis for shareable reads
    How do you advise in that regard?

    • @AVSOFT-fq1qm
      @AVSOFT-fq1qm  Месяц назад +1

      Sure we can implement for this we have to configure 2 cache managers.
      And we have to use @@Cacheable(value = "cache1", cacheManager = "caffeine")
      @Cacheable(value = "redisCache1", cacheManager = "redis")

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

      @@AVSOFT-fq1qm Are they any conflicts that may arise?

    • @AVSOFT-fq1qm
      @AVSOFT-fq1qm  Месяц назад

      @@fahadgaliwango4502 no because we are mentioning cachemanger name in @cacheble annotation

  • @satyasai5172
    @satyasai5172 Месяц назад +2

    Can u implement db side

  • @anm_15
    @anm_15 28 дней назад +1

    Why you added below duplicate lines ? Any particular reason ?
    caffeineCacheManager.setCaffeine(caffeine);
    caffeineCacheManager.setCaffeine(caffeine);
    in Config class

    • @AVSOFT-fq1qm
      @AVSOFT-fq1qm  28 дней назад

      It's added by mistake

    • @anm_15
      @anm_15 28 дней назад

      @@AVSOFT-fq1qm ok