# springboot-fast-cache **Repository Path**: wangxiaohuo2/springboot-fast-cache ## Basic Information - **Project Name**: springboot-fast-cache - **Description**: 综合redis和本地缓存应用demo - **Primary Language**: Java - **License**: 0BSD - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 2 - **Forks**: 0 - **Created**: 2020-12-11 - **Last Updated**: 2022-02-10 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # springboot-fast-cache 本程序实现分布式二级缓存解决方案。 技术选型: 一级缓存为redis。 二级缓存基于com.google.guava实现。 演示DB组件采用了Mybatis Plus,非常好用。 主要功能: 1、集成redis和guva。 2、实现两个注解,即读取注解和更新注解,减少业务侵入性。 3、通过redis消息发布/订阅更新集群本地缓存。 运行步骤: 1、执行doc下sql建一个表user 2、更改数据库配置application.properties 3、更改redis配置application.properties 4、运行FastCacheDemoApplication 5、访问swagger:http://localhost:8080/swagger-ui.html# 改善空间: 1、增加可配置性 2、扩展消息消费处理程序 3、支持部分条件缓存 4、做成starter方便调用 author:fire wang qq:410377712@qq.com