简体   繁体   English

存储用户媒体的位置

[英]Where to store user's media

I have a web-service google cloud. 我有一个网络服务的谷歌云。 It consists of: 它包括:

  1. load balancer; 负载均衡器;
  2. group of instances (django code); 实例组(Django代码);
  3. sql service; sql服务;

But I don't know where to store user's files. 但是我不知道在哪里存储用户文件。 Should I use separate media server, or google cloud storage? 我应该使用单独的媒体服务器还是Google云存储?

How do you usually solve such problems? 您通常如何解决此类问题?

Well it will depend on what is your scenario and your requirements. 好吧,这取决于您的方案和要求。

If you want full ECM capaibility for your files like versioning, different renditions, security policies , metadata etc then some ECM vendors like Alfresco, Sharepoint (cloud or on premise) would be a solution. 如果您想为文件提供完整的ECM功能,例如版本控制,不同的格式,安全策略,元数据等,则可以使用Alfresco,Sharepoint(云或本地)之类的ECM供应商。

If you only want to store the files and retrieve them and also with some metadata then using a File Storage, plain Cloud Storage like Google cloud, Dropbox or even an object storage like S3/Swift could be solution. 如果您只想存储文件并检索它们以及一些元数据,则可以使用文件存储,简单的云存储(例如Google Cloud),Dropbox甚至对象存储(例如S3 / Swift)来解决。

Object storage fares better when concurrency is higher and you have requirements for scalabalitiy .If performance is a concern then file storage will do better. 当并发性更高并且对可伸缩性有更高的要求时,对象存储的性能会更好。如果要考虑性能,那么文件存储会更好。

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

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