阅读背景:

哪个是更好的方法来管理Django应用程序中的照片数量?

来源:互联网 

I'm building a Django application that has includes feature that will allow users to upload photos and view other users' photos. Each photo can be either a public photo viewable by all users or private one that's only viewable by a select set of other users. What would be the best way to store the numbers (i.e. "indicies") associated with the photos? Would I get better performance and scalability by storing them in Unix files or by storing them in a PostgreSQL array field which is accessed via the Django ArrayField type? The indicies would only be written to when a user uploads photos but they would be read quite frequently when other users are viewing someone's photos.I'm building a Django application that has incl




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: