Re: [Zope-dev] Optimization and speed

2000-07-17 Thread Dieter Maurer
Steve Alexander writes: > lib/python/ZPublisher/BaseResponse.py > > def write(self,data): > """\ > Return data as a stream > > HTML data may be returned using a stream-oriented interface. > This allows the browser to display partial results while >

Re: [Zope-dev] Optimization and speed

2000-07-15 Thread Stephan Richter
>It looks like the pages you are serving are mostly big tables. Both >Netscape and IE >won't reder anything unless they got everything in the table. > >I would try to time the 'wget' speed to verify if zope is slow or not. Well, I kinda did that using telnet. I telneted into port 80 and then as

Re: [Zope-dev] Optimization and speed

2000-07-15 Thread Steve Alexander
Stephan Richter wrote: > > > > > >Looks like it's more that just a tweak, though :-( > > So, how can I use this method? I do not understand the internals of the > ZServer completely. You've got a RESPONSE object. For HTTP stuff, it will be a HTTPResponse as defined in lib/python/ZPublisher/HTT

Re: [Zope-dev] Optimization and speed

2000-07-15 Thread Steve Alexander
Stephan Richter wrote: > > >Can you see the stream of data coming if you telnet to your server and > >type GET / HTTP/1.0 or whatever? Is it just that the rendering is slow > >because some part of the page is slow to load? > > You got the hit. It does not stream the page out. It sits there and t

Re: [Zope-dev] Optimization and speed

2000-07-15 Thread Stephan Richter
>At the HTML level, are your pages in one big table? If so, Netscape will >often need to wait until the whole contents of the table is downloaded >before attempting to render it. > >To get around this, you need to specify the size of just about >**everything** in the table. No, we do not do that

Re: [Zope-dev] Optimization and speed

2000-07-15 Thread Steve Alexander
Stephan Richter wrote: > > I have a pretty big site with quiet a big database (PostGreSQL) in the > background. When a site loads I can tell that after about 5 seconds the > site is ready to download. The site downloads quickly thereafter if I am on > a T1, DSL or Cable Modem connection. But sinc

[Zope-dev] Optimization and speed

2000-07-15 Thread Stephan Richter
Hello everyone, I write this mail, because I could not find anything useful in the archives: I have a pretty big site with quiet a big database (PostGreSQL) in the background. When a site loads I can tell that after about 5 seconds the site is ready to download. The site downloads quickly ther