AWS放大:如何在DynamoDB中存储的每个设备之间在每个设备之间同步数据?
正如标题所建议的那样,我们知道执行的dataStore.save()
何时会传输到DynamoDB并已经与每个客户端同步。因此,数据将存储在那里。 现在,我想仅将新数据同步到其他客户端,此后,在DynamoDB中很明显。用户在您的设备中本地使用数据存储,当它们删除它们时,bum,它会永远消失。 我该怎么做? 提前致谢!
As the title suggested, we know when DataStore.save()
performed, data would be transfer to the DynamoDB and already to sync to every client. So, the data will be store there.
Now I would like to sync only new data to other clients, after that, it will be clear in the DynamoDB. Users use data store locally in your device and when they delete them, bum, it disappears forever.
How can I do that?
Thanks in advance!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
尝试以下解决方案:DynamoDB活机时间(TTL)。通过配置自动删除项目。
here's solution after trying: DynamoDB Time to Live (TTL). Automatically delete items by configuration.