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

接入 flash-store 做 contact / room / message 的缓存 #22

Closed
4 tasks
su-chang opened this issue Jan 6, 2022 · 5 comments
Closed
4 tasks

接入 flash-store 做 contact / room / message 的缓存 #22

su-chang opened this issue Jan 6, 2022 · 5 comments
Assignees

Comments

@su-chang
Copy link
Member

su-chang commented Jan 6, 2022

需要缓存 raw data

  • contact 联系人/好友的缓存 (二者可能数据结构有所不同,应该有一个base类型)
  • room 群组的缓存
  • message 消息的缓存
  • 确认各缓存的生存周期以及清除策略
@su-chang su-chang mentioned this issue Jan 6, 2022
42 tasks
@su-chang su-chang self-assigned this Jan 7, 2022
@huan
Copy link
Member

huan commented Jan 7, 2022

Here we have a flash-store cache class using by the Puppet Service module, which I believe can be generalized:

https://github.com/wechaty/puppet-service/blob/main/src/client/payload-store.ts

Just FYI.

@su-chang
Copy link
Member Author

su-chang commented Jan 7, 2022

Here we have a flash-store cache class using by the Puppet Service module, which I believe can be generalized:

I will have a try, thanks for your suggestions.

@huan
Copy link
Member

huan commented Jan 7, 2022

You are welcome

@su-chang
Copy link
Member Author

su-chang commented Jan 7, 2022

  • 激进的时间预估 2022-01-13
  • 保守的时间预估 2022-01-14

@su-chang
Copy link
Member Author

延期至 2022-01-20

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