[Zope] slow site

Timothy Wilson wilson@visi.com
Mon, 24 Apr 2000 07:08:20 -0500 (CDT)


On Mon, 24 Apr 2000, Morten W. Petersen wrote:

> Could this be because Zope doesn't stream its output? For example, if you
> have a page; 1k big; that has a method which takes n*seconds to execute,
> the server will not send the page until it's fully rendered.

It certainly seems like that might be happening. I wouldn't think that my
homepage is dynamic enough to put much of a load on my old dog of a server.
I could be wrong of course, which means that I really need to get a
brand-new, dual-processor, 4 GB RAM, 2 TB SCSI ... <snaps himself out of
it>.

> I think it's a good idea to .. <dtml-call "REQUEST.flush()"> or somesuch,
> in key points of the documents.

I'm not familiar with this. What does the REQUEST.flush() do?

-Tim

--
Tim Wilson      | Visit Sibley online:         | Check out:
Henry Sibley HS | http://www.isd197.k12.mn.us/ | http://www.zope.org/
W. St. Paul, MN |                              | http://slashdot.org/
wilson@visi.com |   <dtml-var pithy_quote>     | http://linux.com/