[Zope] Re: "zope.org" incredibly slow

Dieter Maurer dieter at handshake.de
Fri Sep 3 13:53:40 EDT 2004


Simon Michael wrote at 2004-9-3 07:50 -0700:
>Dieter, I'd be grateful for any of those additional tools you can share.


  <http://www.dieter.handshake.de/pyprojects/zope>

for "ManagableIndex", "IncrementalSearch" and "AdvancedQuery".


The instrumented "ZEO/ServerStub.py" is attached.
Logging ZEO communication is controlled by the environment
variable "ZEO_LOG_CLIENT". The resulting log records can
easily be extracted with "grep" and statistically processed
with a Python script.


"ztop" is much more difficult. Because the big-M logfile
(now called "logger trace") has a poor time resolution
and lacks essential information (the query string),
"ztop" requires a custom extension of "ZPublisher.BaseRequest".
Our extension uses a custom module to support rotated logfiles.
Thus, changes to use "ztop" would be quite high -- in addition
to the open source question.

Maybe, I will reimplement "ztop" based on an enhanced
big-M logfile.



-- 
Dieter
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ServerStub.py
Type: application/x-python
Size: 9059 bytes
Desc: instrumented ZEO/ServerStub.py to derive ZEO load
	statistics
Url : http://mail.zope.org/pipermail/zope/attachments/20040903/de868bc8/ServerStub.bin


More information about the Zope mailing list