Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Support process cache #20

Open
dongyuanxin opened this issue Aug 25, 2020 · 0 comments
Open

Support process cache #20

dongyuanxin opened this issue Aug 25, 2020 · 0 comments

Comments

@dongyuanxin
Copy link
Owner

dongyuanxin commented Aug 25, 2020

应用场景

  • 耗时长,消耗大的API。例如:根据关键词查询API
  • 不稳定的API
  • 对数据实时性要求不高的API。例如:访客量和浏览量

实现思路

  • 底层使用LRU
  • 框架层使用module进行封装
  • 作用域:针对不同Service,生成独有的缓存实例,防止不同service的缓存键重复冲突
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant