文章 2024-08-07 来自:开发者社区

SpringBoot的三种缓存技术(Spring Cache、Layering Cache 框架、Alibaba JetCache 框架)

Spring Cache Spring Cache 是 Spring 自带的缓存方案,使用简单,既可以使用本地缓存,也可以使用 Redis 导包: <dependency> <groupId>org.springframework.boot</groupId> <artifactId>sprin...

SpringBoot的三种缓存技术(Spring Cache、Layering Cache 框架、Alibaba JetCache 框架)
文章 2024-04-14 来自:开发者社区

缓存框架-Spring Cache的使用

缓存框架-Spring Cache 概述 Spring Cache 是一个框架,实现了基于注解的缓存功能,只需要简单地加一个注解,就能实现缓存功能。 Spring Cache 提供了一层抽象,底层可以切换不同的缓存实现,例如: EHCache Caffeine Redis(常用) 环境准备 导入R...

缓存框架-Spring Cache的使用
文章 2022-06-13 来自:开发者社区

统一缓存帝国 - 实战 Spring Cache

统一缓存帝国 - 实战 Spring Cache前三篇讲解的缓存使用和分布式锁的都是基于 Redis 来做缓存的,本篇我来向大家介绍一种兼容所有缓存中间件的方案,不论我们是使用 Redis 还是 Ehcache,都不需要关心如何操作 Redis 或者 Ehcache,这套方案统统帮你搞定。这套方案就是大名鼎鼎的 Spring Cache。什么?你没有听过,没关系,本篇带你一起探索。一、揭开 Sp....

统一缓存帝国 - 实战 Spring Cache

本页面内关键词为智能算法引擎基于机器学习所生成,如有任何问题,可在页面下方点击"联系我们"与我们沟通。

微服务

构建可靠、高效、易扩展的技术基石

+关注