Mikel Larreategi wrote: >Mario Olimpio de Menezes wrote: > > >> I need some hints (or even examples) on how to improve CPS (Zope + >>Apache2) performance. This is critical; I can't use the present setup as a >>production site - it's worst than poor! >> >> > >Hi: > >We have similar problems with a client's website (public site + >intranet). We are running CPS 3.2 (yes, I know it's quite old, we're >planning the upgrade process) in a Zope 2.7.x and we have a 7.5 GB >Data.fs. Debug-mode is configured as off. > >We are developing something like PloneJUpload [1] to allow users to >upload documents to CPS from their computer, and we are facing many >performance problems. Zope and CPS seem to die while uploading the >documents and browing across the site is impossible. > >
Don't know about JUpload, but I suppose it allows to upload several files at the same time ? If there are parallel uploads, that may occupy all the available threads and block actual use of Zope. That may also create conflict errors (just an hypothesis). We have developped a similar tool for drag n drop from the desktop, it is not blazingly fast but it works. So there may be a solution to your problem, though I can't tell you more personally. >There is another CPS site in the same Zope instance just for testing >purposes, and uploading documents in this site doesn't create as much >problems like in the first one. > >We have tested to convert this FileStorage to DirectoryStorage in a >ReiserFS file system, but the performance is similar to the one we get >with FileStorage. > > FileStorage is, according to all the tests that have been done, still the faster way to store objects in the ZODB. (I'm not talking about ORM, which is a different approach we are wrorking on). S. -- Stéfane Fermigier, Tel: +33 (0)6 63 04 12 77 (mobile). Nuxeo Collaborative Portal Server: http://www.nuxeo.com/cps Gestion de contenu web / portail collaboratif / groupware / open source! _______________________________________________ cps-users mailing list [email protected] http://lists.nuxeo.com/mailman/listinfo/cps-users
