关于redis

springboot引入redis:

springboot中引入redis,在pom.xml文件中引入redis的包即可。

<!-- redis 缓存操作 -->
<dependency>
    <groupId>org.springframework.boot</groupId>
    <artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>

redis实现点赞_java小白@me的博客-CSDN博客

Springboot 使用redis检测浏览量,评论量,点赞量的变化并完成与mysql的交互(有具体实现,有具体需求)-CSDN博客

在线博客系统——评论(redis incr自增实现增加评论数)_redis实现评论-CSDN博客