Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

缓存类型可不可以做成可配置的 #13

Closed
qq742464260 opened this issue Apr 8, 2021 · 2 comments
Closed

缓存类型可不可以做成可配置的 #13

qq742464260 opened this issue Apr 8, 2021 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@qq742464260
Copy link

有些环境其实并没有或者不允许安装redis,可不可以把缓存做成可配置的,有条件的可选redis,没条件本地缓存可选guava/caffine

@YunaiV
Copy link
Owner

YunaiV commented Apr 9, 2021

redis 在项目中,会有三个定位

  1. 在线缓存,例如说用户的在线会话、等等
  2. 订阅发布,例如说刷新本地缓存
  3. MQ 消息队列,例如说异步发送消息

所以可能去掉 redis 会有一定难度~~~

@qq742464260
Copy link
Author

redis 在项目中,会有三个定位

1. 在线缓存,例如说用户的在线会话、等等

2. 订阅发布,例如说刷新本地缓存

3. MQ 消息队列,例如说异步发送消息

所以可能去掉 redis 会有一定难度~~~

好的

@YunaiV YunaiV added the question Further information is requested label Dec 14, 2021
@YunaiV YunaiV self-assigned this Dec 14, 2021
@YunaiV YunaiV closed this as completed Dec 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants