What is Redis | Spring Data Redis as Cache | Coded Tribe

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

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

  • @kushsharma6653
    @kushsharma6653 4 года назад +1

    Your videos are amazing. Precise, fast, and to the point.

  • @deltamakuba
    @deltamakuba 2 года назад +2

    Thank you, that was amazing and straight to the point...

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

    Your video are so incredible, Thanks a lot of!!!

  • @souvikadhikary8990
    @souvikadhikary8990 3 года назад

    Clear demonstration with every important steps, explanation & background. 👍

  • @narendrakumariitb
    @narendrakumariitb 3 года назад +1

    Crystal clear thanks man 👍

  • @karthik-pillai
    @karthik-pillai 3 года назад +1

    Perfect and to the point!

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

    That's very kind of you

  • @chowdhuryfarsadaurangzeb5080
    @chowdhuryfarsadaurangzeb5080 3 года назад +1

    Very good tutorial. Thanks.

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

    Is it possible to install Redis software in Windows 10? Please let me know. Thank you for your nice lecture

  • @SachinKumar-rz6cw
    @SachinKumar-rz6cw 3 года назад +2

    Consider the scenario where DB is updated directly, how to tell redis to invalidate the current cache and reload the values from DB.

    • @saifulhasan2532
      @saifulhasan2532 3 года назад

      We need to use Maxwell in that case.

    • @SachinKumar-rz6cw
      @SachinKumar-rz6cw 3 года назад

      @@saifulhasan2532 thanks for the reply. I'll try to search more on this Maxwell thing.

  • @satishryc
    @satishryc 3 года назад

    in GitHub code, I think u have missed to write the logic for delete and find functionalities in UserRepositries Class and also u didn't explain about MySQL connection, the rest all explained pretty good

  • @jamesh4129
    @jamesh4129 3 года назад +1

    Maybe I missed it but where did you tell your spring app to connect to redis??

  • @MahnazMahmoudi-z8j
    @MahnazMahmoudi-z8j Год назад

    Why didn't you write annotations for the getAll?

  • @rakshitingale4083
    @rakshitingale4083 2 года назад

    Man!! Thank you !

  • @physrivdos
    @physrivdos 4 года назад

    Thanks for the great video.
    I have two doubts.
    1) I noticed that the model User (class User) implements Serializable.
    Could you please clarify, why this is required?
    2) Is jedis component to manipulate redis cache data not required to implement Redis cache?

    • @CachedInsights
      @CachedInsights  4 года назад +2

      1).By default, RedisCache and RedisTemplate are configured to use Java native serialization. Hence to make the user model to be able to serialized or deserialized , the marker interface serializable is used here.
      2).In this Example the default configurations of Spring Data Redis is used , but for instance , if you want to run your redis server onto some different host and port , or want to customize the default behavior of spring data redis, then in that case you might need to default configuration of Jedis Component.

    • @physrivdos
      @physrivdos 4 года назад

      @@CachedInsights thnx for the response.

    • @bhushankumarsingh4941
      @bhushankumarsingh4941 3 года назад

      @@physrivdos I think data store in Redis as a stream form that's why we have to implement Serializable so that model will convert into the stream

  • @mayurgaikwad9729
    @mayurgaikwad9729 3 года назад

    Hie.. you didn't write any configuration file... i mean redisConnectionFactort code

  • @Entertainment_Zone2522
    @Entertainment_Zone2522 2 года назад

    Bro, Do for getAll api? Cache not working

  • @alokmaheshwari8755
    @alokmaheshwari8755 2 года назад

    awesome video

  • @sergioddh
    @sergioddh 2 года назад

    How can I find by username, for example?

  • @samssunny16
    @samssunny16 2 года назад

    how we can store and retrieve java collections and Date object in redis cache? Can anyone help me on this?

  • @cbalu73
    @cbalu73 3 года назад

    I couldn't see the Redis connection configuration in the spring-boot project

    • @CachedInsights
      @CachedInsights  3 года назад

      Yes there is no configuration at code level as redis server used locally runs on default port of redis. The dependency spring-data-redis takes care of establishing the connection with the locally running redis.

  • @mayurgaikwad9729
    @mayurgaikwad9729 3 года назад

    Without the connection code is it able to use redis..??

    • @PraveenSingh-sz6zj
      @PraveenSingh-sz6zj 3 года назад +2

      Spring boot auto configures for you as dependency is present in the classpath due to declaration in pom.xml

  • @gulamsarwar7502
    @gulamsarwar7502 4 года назад

    can you pls add the github link

    • @CachedInsights
      @CachedInsights  4 года назад

      Hi Gulam,
      The link to source code is already present in the description.Kindly expand the description box 🙂.
      BDW here it is - github.com/stackfortech/redis-cache-spring