Re: [Zope] Zope.org Hidden Stats

2000-06-09 Thread ethan mindlace fremen

Tony McDonald wrote:

 If you're running Zope from behind Apache/PCGI then you *have* to run
 Zope single threaded. Am I correct?

I think Martijn Pieters answers this question in the Zope, Apache/NT,
Reliability Issues
thread.

ethan mindlace fremen
Zopatista Community Liason

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope.org Hidden Stats

2000-06-08 Thread Tony McDonald

Hi all,
under /Software this is shown.

The machine is running RedHat 6.1. The Zope installation is a CVS 
checkout with fairly conservative updating. The content is served 
completely out of the Zope database. Apache is used as the web server 
in front of Zope.org, using PCGI to integrate with the Zope server. 
Soon we will migrate to using FastCGI.

Can someone please clarify something for me here. (I've been Zoping 
for 15 months and *still* don't know the correct answer)

If you're running Zope from behind Apache/PCGI then you *have* to run 
Zope single threaded. Am I correct?

Therefore, that implies that Zope org is not using ZServer to serve 
up documents. Still correct?

If this is the case then I'm even more impressed, but would like to 
ask why not use Ansers 'Apache/ZServer HowTo' and get the best of 
both worlds?

TIA
Tone.


--
Dr Tony McDonald,  FMCC, Networked Learning Environments Project 
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope.org Hidden Stats

2000-06-08 Thread Oleg Broytmann

On Thu, 8 Jun 2000, Tony McDonald wrote:
 If you're running Zope from behind Apache/PCGI then you *have* to run 
 Zope single threaded. Am I correct?

   No, you r not! Yoy can run multithreading ZServer and connect Apache to
it via PCGI. There are two PCGI servers in Zope - single-threaded and
builtin (as a component) in ZServer.

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope.org Hidden Stats

2000-06-08 Thread Tony McDonald

At 10:52 am + 8/6/00, Oleg Broytmann wrote:
On Thu, 8 Jun 2000, Tony McDonald wrote:
  If you're running Zope from behind Apache/PCGI then you *have* to run
  Zope single threaded. Am I correct?

No, you r not! Yoy can run multithreading ZServer and connect Apache to
it via PCGI. There are two PCGI servers in Zope - single-threaded and
builtin (as a component) in ZServer.

Oleg.(All opinions are mine and not of my employer)

Thanks for that Oleg,
Well you live and learn...

To the zope list,
I'm going to go really slowly here, as this is something that has 
been bugging me for yonks!  (I have read doc/WEBSERVER.txt ... again 
and again).

1) Zope + Apache redirected to Zope.cgi with PCGI_PUBLISHER = 
pcgi/pcgi_publisher.py = single threaded server. No ZServer activity. 
Uses ZPublisher?

2) Zope + Apache redirected to Zope.cgi with PCGI_PUBLISHER = 
ZServer/PCGIServer.py = ZServer based multi-threaded server. Implies 
better throughput.

If I'm anywhere near close, can someone please point out any 
resources that will show me how to get option (2) working?

Additionally, can I ask that if (2) *is* correct, then with the 2.2 
release another script (w_zserver_pcgi.py ?) be released.

cheers,
tone
--
Dr Tony McDonald,  FMCC, Networked Learning Environments Project 
http://nle.ncl.ac.uk/
The Medical School, Newcastle University Tel: +44 191 222 5888
Fingerprint: 3450 876D FA41 B926 D3DD  F8C3 F2D0 C3B9 8B38 18A2

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope.org Hidden Stats

2000-06-08 Thread Oleg Broytmann

On Thu, 8 Jun 2000, Tony McDonald wrote:
 1) Zope + Apache redirected to Zope.cgi with PCGI_PUBLISHER = 
 pcgi/pcgi_publisher.py = single threaded server. No ZServer activity. 
 Uses ZPublisher?
 
 2) Zope + Apache redirected to Zope.cgi with PCGI_PUBLISHER = 
 ZServer/PCGIServer.py = ZServer based multi-threaded server. Implies 
 better throughput.
 
 If I'm anywhere near close, can someone please point out any 
 resources that will show me how to get option (2) working?

   There should not be any difference from (1) - when you ./start ZServer,
its builtin PCGI server will create a socket - just point Zope.cgi to the
socket as usual (as in 1). Actually, I think you don't need to do anything
special at all - the socket will be in a place where Zope.cgi expects to
find it.

PLUG mode="SHAMELESS"
   To speed things a bit up - replace Zope.cgi with mod_pcgi2.
/PLUG

Oleg.(All opinions are mine and not of my employer)
 
Oleg Broytmann  Foundation for Effective Policies  [EMAIL PROTECTED]
   Programmers don't die, they just GOSUB without RETURN.


___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope.org Hidden Stats

2000-06-07 Thread ethan mindlace fremen

"J. Atwood" wrote:
 
 Just making my daily visit to Zope.org and stumbled across the statistics at
 
 http://www.zope.org/About/Statistics
 
 Very nice...
 
 There is a bunch more on the about page
 
 http://www.zope.org/About/
 
 Cheers to DC and letting us see what they are doing behind the scenes
 How are you going to spend that $1,000 when you get ZEO working? :)

Thanks!

Why do you call them hidden?  /About/ just shows you a synopsis of hardware,
software, and Statistics.

We might change our priorities with the move to ZEO :)

~ethan

___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )




Re: [Zope] Zope.org Hidden Stats

2000-06-07 Thread J. Atwood


 Why do you call them hidden?  /About/ just shows you a synopsis of hardware,
 software, and Statistics.

I just have been surfing on Zope (way too much) for at least the last year
and never seen them.

 We might change our priorities with the move to ZEO :)

I bet! It would still be very cool to see you do a couple of boxes in a ZEO
configuration under a grand.

J




___
Zope maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )