如何存储用户上传的大量照片和视频?
在 youtube、facebook 上,
用户上传了数百万张照片和视频,那么他们如何管理所有如此大的上传。我知道他们
的服务器上有很大的空间,但我只是想问他们使用哪种技术来存储这些
什么样的巨大数据?
还请建议我从用户那里获得此类大量上传的最佳方法。
谢谢
On you tube,facebook,flicker millions of photos and videos are
uploaded by users so how they manage all such large uploads.i know that they have large space
on their servers but i just want to ask that which technique they are using to store this
kind of huge data?
And also please suggest me to best way to get this kind of large uploads from user.
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
最好直接从马嘴里得到它:
鉴于 flickr 演示文稿相当过时(仍在谈论 PHP4),您可能需要查看 flickr 开发人员博客,其中有大量有关开发高可扩展性应用程序的内部棒球知识具有大数据存储需求:
http://code.flickr.com/blog/2010/02/
Best get it straight from the horse's mouth:
Given that the flickr presentation is quite dated (still talks about PHP4), you'll probably want to check out the flickr developers' blog, which has a ton of inside baseball on developing high scalability applications with large data storage needs:
http://code.flickr.com/blog/2010/02/
据我所知,Facebook 拥有不少于三万台服务器,并且还在不断扩展,因此数据量大、需求量大、支出大。
在我看来,存储这些内容的最佳方法是简单地将照片和视频上传到特定文件夹,然后简单地保存文件名< /strong> 在相应的表格中,而不是 blob 格式的照片和视频本身。
In my knowledge, facebook has no less than thirty thousand servers there with them and expanding, so big data, big requirements and expenditure.
The best way to store those in my view is to simply upload photos and videos to specific folders and simply save the file names in the corresponding tables rather than photos and videos themselves in blob format.