Amazon's S3 is ideal for this, I use it I mount s3 using fuse interface. Works pretty well for me. Nils On May 12, 2012 7:53 PM, "Sebastian E. Ovide" <sebastian.ov...@gmail.com> wrote:
> just wondering... (I know that it is not a normal application)... where > would you store a couple of millions pictures of less than 60K each ? > > > On Sat, May 12, 2012 at 2:04 AM, Massimo Di Pierro < > massimo.dipie...@gmail.com> wrote: > >> Oops. Sorry. I read it in a hurry. >> >> I would not use the file system for something like this. Anyway, upload >> separate creates up to 1296 subfolder per table.field. This number can be >> increased. >> >> >> On Friday, 11 May 2012 18:33:22 UTC-5, Anthony wrote: >>> >>> On Friday, May 11, 2012 7:25:21 PM UTC-4, Massimo Di Pierro wrote: >>>> >>>> yes. >>>> >>>> Field('name','upload',**uploadseparate=True) >>>> >>> >>> He's aware of that but seems to think that one level of sub-folders >>> won't be enough (he's expecting millions of files, so still more than 1000 >>> files per sub-folder, even with uploadseparate=True). >>> >>> I don't think web2py includes any out-of-the-box solution for generating >>> deeper levels of sub-folders for uploaded files. Maybe subclass Field for >>> that upload field and roll your own .store() and .retrieve() methods. >>> >>> Anthony >>> >>> > > > -- > Sebastian E. Ovide > > > > >