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

bug(Cloud): 每次同步数据消耗流量过多 #8

Open
rzbdz opened this issue Dec 19, 2021 · 0 comments
Open

bug(Cloud): 每次同步数据消耗流量过多 #8

rzbdz opened this issue Dec 19, 2021 · 0 comments

Comments

@rzbdz
Copy link
Owner

rzbdz commented Dec 19, 2021

一种建议的方案

使用 wx local storage 实现,因为用户会用不同的设备使用,所以每个 local cache 都要具备校验码,每次首先向云查询一下校验码(say 一个 timestamp),然后实现都很常规了。

增量同步,实时同步,需要具对着云开发的数据库各种精细操作来做,时间关系暂时没办法花时间做这部分

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

1 participant