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

1.添加 serverId 用于避免处理由自己发出的消息。2.实现caffeine的接口,主要是添加了getAll, putAll功能 #21

Merged
merged 4 commits into from
Oct 31, 2022

Conversation

FlyInWind1
Copy link
Contributor

serverId 我这里是用redis自增id做的,没有考虑uuid是因为它太长了。
getAll, putAll 批处理方法在缓存预热时有着碾压级别的速度,在普通的业务中也有着不错的速度。不过当然了,用不了@Cacheable注解。
这里实现的caffeine接口与caffeine官方定义的有一点不同,它允许存入null值。

@FlyInWind1
Copy link
Contributor Author

serverId 解决了这个issue的问题 #8

@lltx lltx merged commit 4a0773a into pig-mesh:master Oct 31, 2022
@lltx
Copy link
Contributor

lltx commented Oct 31, 2022

LGTM

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

Successfully merging this pull request may close these issues.

2 participants