简体   繁体   English

使用服务器进行聊天备份,例如 Telegram 或 WhatsApp

[英]Use a server for chat backup like Telegram or WhatsApp

I'm adding a chat on my app with node js server, I'll save a cache to my local storage using MongoDB realm but I know that I've to put a limit on doing saving data inside my phone, just some megabytes, that's why I'm thinking to create a backup on another server, right now is on digitalocean but saving all the data there could be expensive thinking about images and videos and of course, being optimistic... Could you please recommend an option?我正在使用节点 js 服务器在我的应用程序上添加聊天,我将使用 MongoDB realm 将缓存保存到本地存储,但我知道我必须限制在手机内保存数据,只有几兆字节,这就是为什么我正在考虑在另一台服务器上创建备份,现在是在 digitalocean 上,但保存所有数据可能需要昂贵的图像和视频思考,当然,要乐观......你能推荐一个选项吗? I was thinking about using AWS Glaciar but I'm very open to other options, thanks for your time!!我正在考虑使用 AWS Glaciar,但我非常愿意接受其他选择,感谢您抽出宝贵时间!!

For videos, image, etc. Amazon S3 is one of the main choices.对于视频、图像等,Amazon S3 是主要选择之一。 It also come with a great node API to connect to your S3.它还带有一个很棒的节点 API 来连接到您的 S3。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM