AWS放大:如何在DynamoDB中存储的每个设备之间在每个设备之间同步数据?

发布于 2025-01-29 08:20:07 字数 180 浏览 2 评论 0原文

正如标题所建议的那样,我们知道执行的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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

墨小墨 2025-02-05 08:20:07

尝试以下解决方案:DynamoDB活机时间(TTL)。通过配置自动删除项目。

here's solution after trying: DynamoDB Time to Live (TTL). Automatically delete items by configuration.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文