基于 Redis 的 Shiro Cache 和 Session 实现 shiro-redisson

码农软件 · 软件分类 · 缓存系统 · 2019-08-29 15:13:27

软件介绍

shiro-redisson 是一个 Apache Shiro 的扩展组件,提供了基于 redis 实现的缓存和会话,以支持分布式环境下的应用。底层使用了 redisson 作为 redis 客户端。

Maven: 

   com.github.streamone
   shiro-redisson
   1.0.0.RELEASE

特性:

缓存

  • 支持遵照 Spring Cache 标准的缓存配置

会话

  • 独立序列化 session 中的属性,以其作为序列化的最小单元

  • 用 lua script 封装 redis 命令,以实现高性能(减少 round-trip time)和 事务支持

其它

  • 支持多种序列化方案:JDK Serialization, JSON, Smile, MsgPack, FST等

  • 支持常规的 redis 部署方式,包括:单机模式、主从复制模式、哨兵模式、集群模式

本文地址:https://codercto.com/soft/d/13433.html

Spring in Action

Spring in Action

Craig Walls / Manning Publications / 2011-6-29 / USD 49.99

Spring in Action, Third Edition has been completely revised to reflect the latest features, tools, practices Spring offers to java developers. It begins by introducing the core concepts of Spring and......一起来看看 《Spring in Action》 这本书的介绍吧!

JSON 在线解析
JSON 在线解析

在线 JSON 格式化工具

XML、JSON 在线转换
XML、JSON 在线转换

在线XML、JSON转换工具

UNIX 时间戳转换
UNIX 时间戳转换

UNIX 时间戳转换