Fw: [Zope] How to serve huge file/document?
Hello, Yes, that's true, but my question was really concerning the Zserver. I have a Zope intranet system which act as a very simple 'web-archive': just zope+LocalFs. I don't want to have a complex setup. I would like to do all the job with Zope itself, that doesn't sounds to me like a unrealistic requirement, no? Gilles ----- Original Message ----- From: "AM" <list_subscriber@neurobs.com> To: <Gilles.Lavaux@esa.int> Cc: <zope@zope.org> Sent: Wednesday, February 05, 2003 2:45 PM Subject: Re: [Zope] How to serve huge file/document?
unless you have some security issues realted to users who can or cannot download the file, why dont you serve it out of apache, ie put the file in the apache document root and redirect from zope to the complete url.
hth AM
Gilles wrote:
Hello
Sorry if this is well known but how can I serve big file with zope?
Big is more than 1Gb, stored on the fileSystem and accessed with the
LocalFs
product. If I try to get a big file, it is fully reared in memory (I think) before being send, which cause unacceptable performance.
???
Gilles
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- ================================================================== Aseem Mohanty Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706 (R) 510 7696011 (M) 510 3014871 (O) 510 5279231 ================================================================== "I saw `cout' being shifted "Hello world" times to the left and stopped right there!!" -- Steve Gonedes ==================================================================
_______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Gilles wrote (gilles.lavaux@esrin.esa.it) on 2/6/03 11:07 AM]
Hello,
Yes, that's true, but my question was really concerning the Zserver. I have a Zope intranet system which act as a very simple 'web-archive': just zope+LocalFs. I don't want to have a complex setup. I would like to do all the job with Zope itself, that doesn't sounds to me like a unrealistic requirement, no?
Gilles
Zope is a powerful and fast server/application framework for *dynamic* applications/code/content. Apache is a really fast server of *static* content. Use Zope to do what it does best and apache to do what it does best. Anyway, with some rewrite rule magic and the use of similar html templates you can make an apache-based file archives look transparent to your users and get better performance while saving yourself som hassles in the long run. <--> george donnelly - http://zettai.net/ - "We Love Newbies" :) Zope Hosting - Dynamic Website Design - Search Engine Promotion Yahoo, AIM: zettainet - ICQ: 51907738 - e:george@zettai.net
participants (2)
-
george donnelly -
Gilles