[Zope-CMF] Mounted storage and member folders

Dieter Maurer dieter@handshake.de
Wed, 17 Jul 2002 21:01:27 +0200


Brad Clements writes:
 > I'm planning a CMF site that will be used by experimental aircraft builders.. Hence a lot 
 > of pictures will be uploaded by each member.
 > 
 > Eventually, I will want to distribute the "site" on CDROM, or allow individual members to 
 > "copy" their own member folder in some way.
 > 
 > Rather than ending up with a single gigantic ZODB, is it reasonable/practical to use 
 > mounted storage with CMF so that each members folder is a mounted storage object?
 > 
 > If I do this, I could have 300+ of these member folders, (all served through ZEO).
I do not feel very well.

  Each mountable storage will at least use one file descriptor.
  File descriptors are a very scare resource. The upper limit
  on many Unix systems is 1024, the default limit is much smaller.

I would instead use "ExtFile" to store images externally and
use "import/export" to move the material from the ZODB.
"ExtFile" can be configured that the external file mirrow
the ZODB structure. Thus, it would be easy to grab just
the files of a single user.

 > Can ZCatalog handle this correctly?
Probably.

 > Will this work, is it advisable?
I would not do it.

If I would want, I would make preliminary tests.


Dieter