RE: [Zope] Tux Zope?

2001-01-10 Thread Jonathan \(Listserv Account\)

 This is precisely what Zope's new cache management architecture is
 designed to do.  Just create the site then install a cache manager
 object such as an "Accelerated HTTP Cache Manager", available in the
 StandardCacheManagers product.  Visit the "Associate" tab of the cache
 manager to locate all images that should be served by Tux rather than
 Zope.  Turn on the checkboxes.  Voila!

Impressive. The cache management architecture is part of 2.3 right?
Gotta try it sometime this week...

 Accelerated HTTP cache managers set some HTTP headers on the
 response.
 The headers are recognized by downstream caches and the response is
 cached for a determined period.  Simple, reliable, and flexible.

Simple indeed. Good work :)

Cya
Jonathan


___
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] Tux Zope?

2001-01-09 Thread sean . upton

I have extensively looked over the documentation, and am in the midst of
compiling for the first time on my PC.

Haven't tried it already, though; my main reason, is that I operate most of
my Linux servers on Sun hardware, and am waiting for the dust to settle on
2.4.0 before I start trying to work with Tux; Tux is (in theory) only tested
for i386, thought I don't see any reason (offhand) it won't work on
Linux/sparc (unless there are some endian issues I am not aware of with the
kernel-space module).  The main advantage to Tux is that it caches TCP
checksums (for all the content it serves, I believe), reducing CPU load,
which seems likes a good idea (especially if you have hardware - like Sun -
where your CPU is a bigger bottleneck than the bus, I/O, etc).

Anyway, as complicated as it sounds, I am going to be setting up some new
servers that likely have a configuration that uses Tux on port 80 (serving
images only), Apache on 8080 (serving static pages, and logging access), and
ZServer on 9080.  Tux would proxy to Apache, and once that was set up, I
could set up an Apache mod_proxy connection to Zope using the ideas in the
howtos.  This way, I get fast serving of images and multimedia via Tux, a
full Apache config, and Zope running with virtual hosts.

Once I try this config, I will let everyone know how it works out.

What I would really like to see is this: Images and multi-media that can be
served by Tux, but managed by Zope, so that all content is managed, but
serving the images and multi-media is really fast, and not reliant on the
ODB.  I thought I saw something about a product that is like OFS:File 
OFS:Image, but saves the files to the filesystem - that kind of thing might
work for such a config.

Sean

-Original Message-
From: Jonathan [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 09, 2001 3:09 AM
To: Zope Mailinglist
Subject: [Zope] Tux  Zope?


Hi all,

Just one of those things that keeps popping up on my list of 'things I
should try': Zope behind the Tux webserver. For those who do not know:
Tux is a very fast webserver for Linux because it operates at kernel
level. It can pass requests it can't handle to another server, ZServer
for example.

Any tried it already?

Cya
Jonathan



___
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 )

___
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] Tux Zope?

2001-01-09 Thread Takashi Veikko Linzbichler

Hi, Jonathan,

Jonathan wrote:
 
 Just one of those things that keeps popping up on my list of 'things I
 should try': Zope behind the Tux webserver. For those who do not know:
 Tux is a very fast webserver for Linux because it operates at kernel
 level. It can pass requests it can't handle to another server, ZServer
 for example.

Are you sure Tux will help in conjunction with Zope ? AFAIK Tux can only
handle static html pages and nothing more. Any request to dynamic pages
(and I wold consider any Zope powered system being 100% dynamic) has to
be passed to another (user-level) webserver. So IMHO in the case of Zope
this would be no improvement at all. 

But that's just my thoughts, please correct me, if I'm wrong.

mailx,
ta

--
smartferret it-consulting Dipl.-Ing. Linzbichler KEG

Dipl.-Ing. Takashi Veikko Linzbichler
Tannhofweg 28/3
A-8044 Graz, Austria

Tel.:   0316 / 39 89 40 -0
Fax:0316 / 39 89 40 -20
Mobil:  0676 / 31 26 286
eMail:  [EMAIL PROTECTED]

WWW:http://www.smartferret.com
--

___
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] Tux Zope?

2001-01-09 Thread Joachim Werner

 Are you sure Tux will help in conjunction with Zope ? AFAIK Tux can only
 handle static html pages and nothing more. Any request to dynamic pages
 (and I wold consider any Zope powered system being 100% dynamic) has to
 be passed to another (user-level) webserver. So IMHO in the case of Zope
 this would be no improvement at all.

 But that's just my thoughts, please correct me, if I'm wrong.

Yes, Tux can only serve static content, but images in dynamically created 
HTML pages behave exactly the same as images in static web sites. How should 
the web browser know that a page was served by a dynamic server? It gets 
every single image by sending a new HTTP request. So of course the images 
(and all other static stuff like sound files, PDF documents etc.) can be 
served by Tux after the corresponding HTML page was served by Zope!

Cheers,

Joachim.


___
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] Tux Zope?

2001-01-09 Thread Shane Hathaway

[EMAIL PROTECTED] wrote:
 What I would really like to see is this: Images and multi-media that can be
 served by Tux, but managed by Zope, so that all content is managed, but
 serving the images and multi-media is really fast, and not reliant on the
 ODB.  I thought I saw something about a product that is like OFS:File 
 OFS:Image, but saves the files to the filesystem - that kind of thing might
 work for such a config.

This is precisely what Zope's new cache management architecture is
designed to do.  Just create the site then install a cache manager
object such as an "Accelerated HTTP Cache Manager", available in the
StandardCacheManagers product.  Visit the "Associate" tab of the cache
manager to locate all images that should be served by Tux rather than
Zope.  Turn on the checkboxes.  Voila!

Accelerated HTTP cache managers set some HTTP headers on the response. 
The headers are recognized by downstream caches and the response is
cached for a determined period.  Simple, reliable, and flexible.

Shane

___
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 )