[Zope] Pound users?
sean.upton@uniontrib.com
sean.upton@uniontrib.com
Thu, 02 Jan 2003 08:53:53 -0800
Chris,
Squid will do this if you use a redirector and shuffle based-upon client
request IP address. You would have to write a custom redirector that kept
track of IPaddr to server-node mappings, and returned the right backend url.
I realize this isn't perfect, but it should accomplish fair balancing of
load and still keep sessions going to the server that first served them,
assuming someone's DHCP lease doesn't get renewed or something like that.
Alternatively for sessions, you could consider using an alternate storage
served by your ZSS. So far, we have had good luck for our classifieds
site's clipping application using the old BDB2 storage served over ZEO 1.0
with an old version of Zope using CoreSessionTracking, and I suppose this
would likely work for Zope 2.5+ seasoning as well. It is quite likely that
once packing is implemented in DirectoryStorage's "Minimal" non-undo storage
(pack releases space used by deleted objects), we will use that for our
newer applications as a session store.
Sean
-----Original Message-----
From: Chris Muldrow [mailto:cmuldrow@fredericksburg.com]
Sent: Wednesday, December 25, 2002 7:04 AM
To: rhires@earthlink.net
Cc: zope@zope.org
Subject: Re: [Zope] Pound users?
Pound is a load-balancing server that apparently was built orginally
specifically to feed traffic through Zope clients on a ZEO. I installed a
copy and the setup is really really easy, but I haven't tried putting some
stress on it to see how it works. We're using a squid-to-ZEO deal right now
which works OK, but I need a way to bind a user to a server for sessions
because we had real problems trying to use Berkeley to back a non-undoing
storage for the built-in sessions. I got it working, but it looked like it
was eating our servers for lunch. Now I'm not so sure that was what was
causing our performance problems.
Here's their site: http://www.apsis.ch/pound
On Monday, December 23, 2002, at 08:43 PM, Russell Hires wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I can't help you, but what is Pound? Never heard of that! :-)
Russell
On Monday 23 December 2002 15:18 pm, you wrote:
Is anyone out there using Pound in a production capacity with a ZEO/Zope
setup? Particularly using sessions? - chris
_______________________________________________
Zope maillist - Zope@zope.org
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 )
- --
Linux -- the OS for the Renaissance Man
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org
iD8DBQE+B7u2AqKGrvVshJQRAnKnAJ4i/U/7y0hyTI0LQcjfIBBhycGAUwCdGd0P
R0kxeh+XaLkGJYB4/Sxroqw=
=/jp8
-----END PGP SIGNATURE-----
_______________________________________________
Zope maillist - Zope@zope.org
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 )