- 博客(6)
- 收藏
- 关注
原创 SpringBoot集成Redis实现缓存的简单应用
1.导入依赖: <!-- redis--> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> 2.application配置
2022-04-01 22:28:11
1073
原创 Redis基础知识
Redis基础知识 redis了解 redis:redis是单线程的。基于内存操作。cpu并不是影响redis的性能瓶颈,redis的瓶颈是机器的内存和网络带宽。 redis单线程快的原因:redis将所有数据放在内存中,多线程(cpu会上下文切换。会有一定的延迟)。 启动redis服务:redis-server redisconfig/redis.conf 启动redis程序:redis-cli -p 6379 关闭redis服务:shutdown 查看有.
2022-04-01 22:21:16
1031
原创 Springboot集成Swagger
1.导入相关pom依赖 <!--springboot集成swagger2--> <dependency> <groupId>io.springfox</groupId> <artifactId>springfox-swagger2</artifactId> <version>2.7.0</version> </dependency> <dependen...
2022-04-01 22:13:50
403
原创 IDEA使用springboot+mybatis实现增删改查(CRUD)功能
IDEA使用springboot+mybatis实现增删改查(CRUD)功能
2022-03-17 21:31:51
6078
4
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅