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

jetcache 能否提供对 J2Cache 的支持? #26

Closed
oschina opened this issue Jan 23, 2018 · 2 comments
Closed

jetcache 能否提供对 J2Cache 的支持? #26

oschina opened this issue Jan 23, 2018 · 2 comments

Comments

@oschina
Copy link

oschina commented Jan 23, 2018

https://gitee.com/ld/J2Cache

@areyouok
Copy link
Collaborator

我需要了解更多信息,我看了一下J2Cache也是一个缓存框架,支持内存缓存和redis,那么jetcache在上面再封装一层的意义是什么呢?

jetcache本身是模块化的,增加新的底层缓存非常容易。只需要增加maven模块就可以了,而且并不一定要做到jetcache这个工程组里面。例如,对tair相关的支持(没有开源)有两个模块,一个提供了tair支持,一个提供了相关的spring boot starter方式的配置支持,这两个模块就不在github上开源的这组工程里面。

工作量上来说,以redis支持为例,使用jedis的实现在jetcache-redis中,只有3个类,大约300行。另外spring boot starter支持在jetcache-autoconfigure中(这里没有拆),只有一个类,约150行。

由于现在redis应用普遍,以及个人精力原因,除了redis和tair暂时还没有支持更多的分布式缓存系统。不过这并不妨碍其他人来实现。目前jetache还有一些其他需要完善的地方(比如基于注解不能删除和更新缓存),当前个人精力主要在完善这些方面。

@oschina oschina closed this as completed Jan 24, 2018
@cckmit
Copy link

cckmit commented May 16, 2019

cacheType 缓存是如何同步的啊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants