lame load balancer, mod_proxy, and sticky sessions

2002-09-06 Thread Calbazana, Al
Title: lame load balancer, mod_proxy, and sticky sessions





Hello,

I'd like to know if it is possible to use mod_proxy as a sticky session manager. Basically, I'd like to put mod_proxy behind the load balancer and allow the proxy servers to talk to the mod_perl servers. Unfortunately, the load balancer does not allow for "sticky" sessions and only bounces the user round-robin style. I am playing with the idea of sending a cookie down to the client and using it to stick a user to a particular mod_perl server, but I'd like mod_proxy to figure it out which server and send the user to the defined machine. I'd also like to enable a "checking" mechanism to determine if a mod_perl server is up before the user is sent to the location specified in the cookie. If the machine that the client is stuck to is down, I'd like to reroute.

I know high powered load balancers do this already, but I'd like to explore dedicating a few medium sized servers to do as there is surplus of these and f5's cost $$$. I apologize in advance if this is a bit off topic!

Thanks,

Al



**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**




RE: large projects in mod_perl

2002-08-28 Thread Calbazana, Al

The resources that were pointed out were great!

For large web apps MVC is great, especially when combined with XML and XSLT.
It is certainly not a panacea as someone stated in an earlier post.
Mod_perl can function as an application server.  I don't know a whole lot
about this, but I know it can be done.  I am currently looking into playing
around with mod_perl in an application server setting.  Cache::Cache seems
promising for keeping objects around. MVC type code offers a good separation
of work flow from business logic and view logic.  Not sure what transaction
management packages are out there now.

I am not sure of what app server products/projects are out there now for
Perl (maybe some were mentioned earlier).  The building blocks are
definitely there.  I am sure someone has assembled, or is assembling, them
to serve as a turn key app server.  I'd like to hear more about projects
that manage session state across a web farm, allow for remote objects,
transaction management, etc...

Al

-Original Message-
From: Oleg Shaikhatarov [mailto:[EMAIL PROTECTED]] 
Sent: Tuesday, August 27, 2002 4:16 AM
To: [EMAIL PROTECTED]
Subject: Re: large projects in mod_perl

There is a really big project called HSPcomplete written mostly on Perl
(AFAIK it took about 200-300 man months to complete 2.0 version). 

It has a three-tier architecture:

Web Apps (Forms processing) - Middle Tier (data management) -
Low-level Libs

It uses own templating system called ASPcms, which uses Text::Template
as a low-level template processor + has a number of common Perl
libraries:

* lib to construct web forms
* Mid-Tier Abstract lib
* DB abstraction library
* lib to construct multi-step wizards
* security and license management lib
etc...

Product homepage:

http://www.sw-soft.com/products/hspcomplete/

Regards,
Oleg Shaikhatarov

zt.zamosc.tpsa.pl wrote:
 Hi all
 
 Does anyone know where I can find some information on creating big
projects
 in Perl (mod_perl)?
 I am facing the really big project now but I don't know what stucture of
the
 program will be the best.
 
 There are such things like Struts, jBoss in Java. What about Perl?
 
 Thank you in advance.
 
 
 
 
 



**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**




RE: Done before?

2002-08-28 Thread Calbazana, Al


What about using sax filtering and custom tag libs to accomplish your
transformations?  If you don't like XSLT (I can see how that is possible :)
) and you are comfortable with events, you can put together a really good
transformation layer.  Not sure if this is overkill, especially when you
will probably need to write state code as you pass through events, but it
is an alternative.

Thanks,

Al




**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**