Re: Apache load ballancing

2001-07-11 Thread Russell Coker
On Wed, 11 Jul 2001 16:37, Przemyslaw Wegrzyn wrote:
> On Wed, 11 Jul 2001, staf wagemakers wrote:
> > > I don't need persistent HTTP connections - I need persistent
> > > connections from my web application. That's why I need each session to
> > > be continued on the same host where it started.
> >
> > That is exactly what LVS does, it even works with https, where it is
> > necessary that each session goes back to the same server.
> >
> > You can find more info about LVS & persistence at
> > http://www.linuxvirtualserver.org/persistence.html
>
> I'm just reading it right now, thanks for URL. I'm not sure if I
> understand it well - it assigns client to particular real server on client
> IP number basis ? If so, it can be quite unballanced sometimes...
> Imagine large masqerading networks.

If the balancing is performed based on the number of connections (not the 
number of clients) then a masqueraded network directed to one server would 
balance some hundreds or thousands of non-masqueraded connections.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page




Re: Apache load ballancing

2001-07-11 Thread Russell Coker

On Wed, 11 Jul 2001 16:37, Przemyslaw Wegrzyn wrote:
> On Wed, 11 Jul 2001, staf wagemakers wrote:
> > > I don't need persistent HTTP connections - I need persistent
> > > connections from my web application. That's why I need each session to
> > > be continued on the same host where it started.
> >
> > That is exactly what LVS does, it even works with https, where it is
> > necessary that each session goes back to the same server.
> >
> > You can find more info about LVS & persistence at
> > http://www.linuxvirtualserver.org/persistence.html
>
> I'm just reading it right now, thanks for URL. I'm not sure if I
> understand it well - it assigns client to particular real server on client
> IP number basis ? If so, it can be quite unballanced sometimes...
> Imagine large masqerading networks.

If the balancing is performed based on the number of connections (not the 
number of clients) then a masqueraded network directed to one server would 
balance some hundreds or thousands of non-masqueraded connections.

-- 
http://www.coker.com.au/bonnie++/ Bonnie++ hard drive benchmark
http://www.coker.com.au/postal/   Postal SMTP/POP benchmark
http://www.coker.com.au/projects.html Projects I am working on
http://www.coker.com.au/~russell/ My home page


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Apache load ballancing

2001-07-11 Thread Przemyslaw Wegrzyn


On Wed, 11 Jul 2001, staf wagemakers wrote:

> > I don't need persistent HTTP connections - I need persistent connections
> > from my web application. That's why I need each session to be continued on
> > the same host where it started.
> 
> That is exactly what LVS does, it even works with https, where it is 
> necessary that each session goes back to the same server.
> 
> You can find more info about LVS & persistence at 
> http://www.linuxvirtualserver.org/persistence.html

I'm just reading it right now, thanks for URL. I'm not sure if I
understand it well - it assigns client to particular real server on client
IP number basis ? If so, it can be quite unballanced sometimes...
Imagine large masqerading networks.
 
I need to check mod_backhand, do some benchmarks...
Anybody has done any such benchmarks ?

> or ask it at [EMAIL PROTECTED] if you dont believe me :-)

Well , I need to check archives, I think it can help :)
 
Thanx
-=Czaj-nick=-




Re: Apache load ballancing

2001-07-11 Thread staf wagemakers
On Wed, Jul 11, 2001 at 10:54:36AM +0200, Przemyslaw Wegrzyn wrote:
> > LVS supports persistent connections ( see the webpage for more information)
> > which works well in most cases.
> 
> I don't need persistent HTTP connections - I need persistent connections
> from my web application. That's why I need each session to be continued on
> the same host where it started.

That is exactly what LVS does, it even works with https, where it is 
necessary that each session goes back to the same server.

You can find more info about LVS & persistence at 
http://www.linuxvirtualserver.org/persistence.html

or ask it at [EMAIL PROTECTED] if you dont believe me :-)

The LVS people are working on a level 7 virtualserver but I don't think 
it's very useable in his current state.

> > If it is a java application you could use tomcat/mod_jk which supports 
> > loabalancing.
> 
> I know :) But this is going to be mod_perl application.
> Maybe we will give JSP a try (actually I'm experimennting with it), but
> I'm afraid about it's performance - I need to do some testing.

I wouldn't use java, java is definally slower.

regards,

--
Staf Wagemakers

homepage:   http://www.stafwag.f2s.com
email:  [EMAIL PROTECTED]




Re: Apache load ballancing

2001-07-11 Thread Przemyslaw Wegrzyn



On Wed, 11 Jul 2001, staf wagemakers wrote:

> > I don't need persistent HTTP connections - I need persistent connections
> > from my web application. That's why I need each session to be continued on
> > the same host where it started.
> 
> That is exactly what LVS does, it even works with https, where it is 
> necessary that each session goes back to the same server.
> 
> You can find more info about LVS & persistence at 
> http://www.linuxvirtualserver.org/persistence.html

I'm just reading it right now, thanks for URL. I'm not sure if I
understand it well - it assigns client to particular real server on client
IP number basis ? If so, it can be quite unballanced sometimes...
Imagine large masqerading networks.
 
I need to check mod_backhand, do some benchmarks...
Anybody has done any such benchmarks ?

> or ask it at [EMAIL PROTECTED] if you dont believe me :-)

Well , I need to check archives, I think it can help :)
 
Thanx
-=Czaj-nick=-


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Apache load ballancing

2001-07-11 Thread staf wagemakers

On Wed, Jul 11, 2001 at 10:54:36AM +0200, Przemyslaw Wegrzyn wrote:
> > LVS supports persistent connections ( see the webpage for more information)
> > which works well in most cases.
> 
> I don't need persistent HTTP connections - I need persistent connections
> from my web application. That's why I need each session to be continued on
> the same host where it started.

That is exactly what LVS does, it even works with https, where it is 
necessary that each session goes back to the same server.

You can find more info about LVS & persistence at 
http://www.linuxvirtualserver.org/persistence.html

or ask it at [EMAIL PROTECTED] if you dont believe me :-)

The LVS people are working on a level 7 virtualserver but I don't think 
it's very useable in his current state.

> > If it is a java application you could use tomcat/mod_jk which supports 
> > loabalancing.
> 
> I know :) But this is going to be mod_perl application.
> Maybe we will give JSP a try (actually I'm experimennting with it), but
> I'm afraid about it's performance - I need to do some testing.

I wouldn't use java, java is definally slower.

regards,

--
Staf Wagemakers

homepage:   http://www.stafwag.f2s.com
email:  [EMAIL PROTECTED]


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Apache load ballancing

2001-07-11 Thread Przemyslaw Wegrzyn


On Tue, 10 Jul 2001, ARAKI Yasuhiro wrote:

> Hello,
> 
> > session will come to the same machine in the cluster. This requires load
> > ballancing in 7th layer, so LVS doesn't help much. 
> 
> check libapache-mod-backhand.

Someone already pointed me on it in my private mail
. Looks _very_ interresting, I'm going to examine it this weekend probably
(ugh, lots of other work right now :( )
It has the ability to preserv host-to-session assignment in very
simple, nice way :)

-=Czaj-nick=-




Re: Apache load ballancing

2001-07-11 Thread Przemyslaw Wegrzyn


On Tue, 10 Jul 2001, staf wagemakers wrote:

> LVS supports persistent connections ( see the webpage for more information)
> which works well in most cases.

I don't need persistent HTTP connections - I need persistent connections
from my web application. That's why I need each session to be continued on
the same host where it started.

> > The question is: are there any software level 7 ballancer available ? If
> > not, which hardware box would you recommend ?
> 
> If it is a java application you could use tomcat/mod_jk which supports 
> loabalancing.

I know :) But this is going to be mod_perl application.
Maybe we will give JSP a try (actually I'm experimennting with it), but
I'm afraid about it's performance - I need to do some testing.

-=Czaj-nick=-





Re: Apache load ballancing

2001-07-11 Thread Przemyslaw Wegrzyn


On Tue, 10 Jul 2001, Eric Jennings wrote:

> >I need to build a scalable webserver based on Apache. I'm not sure yet if
> >the application requires persistent TCP connections. If so, it will
> >require that after starting session all subsequent HTTP request in this
> >session will come to the same machine in the cluster. This requires load
> >ballancing in 7th layer, so LVS doesn't help much.
> 
> 7th layer for sure?  I'd imagine that would only need to land in the 4th 
> Layer.
> 7th layer would be custom HTTP requests to test things like an 
> application servers, CGI scripts, or PHP scripts (7th layer == 
> application layer).

Nope - I need sessions opened on one of the servers to be continued on
this one. This requires digging into TCP stream and extracting session
IDs from cookies or URLs. And this is the 7th layer.

-=Czaj-nick=-




Re: Apache load ballancing

2001-07-11 Thread Przemyslaw Wegrzyn



On Tue, 10 Jul 2001, ARAKI Yasuhiro wrote:

> Hello,
> 
> > session will come to the same machine in the cluster. This requires load
> > ballancing in 7th layer, so LVS doesn't help much. 
> 
> check libapache-mod-backhand.

Someone already pointed me on it in my private mail
. Looks _very_ interresting, I'm going to examine it this weekend probably
(ugh, lots of other work right now :( )
It has the ability to preserv host-to-session assignment in very
simple, nice way :)

-=Czaj-nick=-


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Apache load ballancing

2001-07-11 Thread Przemyslaw Wegrzyn



On Tue, 10 Jul 2001, staf wagemakers wrote:

> LVS supports persistent connections ( see the webpage for more information)
> which works well in most cases.

I don't need persistent HTTP connections - I need persistent connections
from my web application. That's why I need each session to be continued on
the same host where it started.

> > The question is: are there any software level 7 ballancer available ? If
> > not, which hardware box would you recommend ?
> 
> If it is a java application you could use tomcat/mod_jk which supports 
> loabalancing.

I know :) But this is going to be mod_perl application.
Maybe we will give JSP a try (actually I'm experimennting with it), but
I'm afraid about it's performance - I need to do some testing.

-=Czaj-nick=-



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Apache load ballancing

2001-07-11 Thread Przemyslaw Wegrzyn



On Tue, 10 Jul 2001, Eric Jennings wrote:

> >I need to build a scalable webserver based on Apache. I'm not sure yet if
> >the application requires persistent TCP connections. If so, it will
> >require that after starting session all subsequent HTTP request in this
> >session will come to the same machine in the cluster. This requires load
> >ballancing in 7th layer, so LVS doesn't help much.
> 
> 7th layer for sure?  I'd imagine that would only need to land in the 4th Layer.
> 7th layer would be custom HTTP requests to test things like an 
> application servers, CGI scripts, or PHP scripts (7th layer == 
> application layer).

Nope - I need sessions opened on one of the servers to be continued on
this one. This requires digging into TCP stream and extracting session
IDs from cookies or URLs. And this is the 7th layer.

-=Czaj-nick=-


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Apache load ballancing

2001-07-10 Thread Eric Jennings
I need to build a scalable webserver based on Apache. I'm not sure yet if
the application requires persistent TCP connections. If so, it will
require that after starting session all subsequent HTTP request in this
session will come to the same machine in the cluster. This requires load
ballancing in 7th layer, so LVS doesn't help much.
7th layer for sure?  I'd imagine that would only need to land in the 4th Layer.
7th layer would be custom HTTP requests to test things like an 
application servers, CGI scripts, or PHP scripts (7th layer == 
application layer).


The question is: are there any software level 7 ballancer available ? If
not, which hardware box would you recommend ?
I've not found any software suitable for the load balancing systems 
we run, which must support SSL, persistent connections (cookie, IP, 
etc.), and can handle a huge load.

That said, we use a Foundry Networks ServerIronXL for load balancing, 
and it's an incredible box.  Quite expensive new, but with all of the 
Dot-Bombs, you should be able to find one cheap on eBay or other 
auction houses.

Best Regards-
Eric Jennings
[EMAIL PROTECTED]



Re: Apache load ballancing

2001-07-10 Thread staf wagemakers
On Tue, Jul 10, 2001 at 01:25:50PM +0200, Przemyslaw Wegrzyn wrote:
> 
> I need to build a scalable webserver based on Apache. I'm not sure yet if
> the application requires persistent TCP connections. If so, it will
> require that after starting session all subsequent HTTP request in this
> session will come to the same machine in the cluster. This requires load
> ballancing in 7th layer, so LVS doesn't help much. 

LVS supports persistent connections ( see the webpage for more information)
which works well in most cases.
 
> The question is: are there any software level 7 ballancer available ? If
> not, which hardware box would you recommend ?

If it is a java application you could use tomcat/mod_jk which supports 
loabalancing.

--
staf wagemakers 

homepage:   http://www.stafwag.f2s.com
email:  [EMAIL PROTECTED]





Re: Apache load ballancing

2001-07-10 Thread Eric Jennings

>I need to build a scalable webserver based on Apache. I'm not sure yet if
>the application requires persistent TCP connections. If so, it will
>require that after starting session all subsequent HTTP request in this
>session will come to the same machine in the cluster. This requires load
>ballancing in 7th layer, so LVS doesn't help much.

7th layer for sure?  I'd imagine that would only need to land in the 4th Layer.
7th layer would be custom HTTP requests to test things like an 
application servers, CGI scripts, or PHP scripts (7th layer == 
application layer).


>The question is: are there any software level 7 ballancer available ? If
>not, which hardware box would you recommend ?

I've not found any software suitable for the load balancing systems 
we run, which must support SSL, persistent connections (cookie, IP, 
etc.), and can handle a huge load.

That said, we use a Foundry Networks ServerIronXL for load balancing, 
and it's an incredible box.  Quite expensive new, but with all of the 
Dot-Bombs, you should be able to find one cheap on eBay or other 
auction houses.


Best Regards-
Eric Jennings
[EMAIL PROTECTED]


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Apache load ballancing

2001-07-10 Thread ARAKI Yasuhiro
Hello,

> session will come to the same machine in the cluster. This requires load
> ballancing in 7th layer, so LVS doesn't help much. 

check libapache-mod-backhand.

Package: libapache-mod-backhand
Priority: optional
Section: web
Installed-Size: 152
Maintainer: James Bromberger <[EMAIL PROTECTED]>
Architecture: i386
Version: 1.2.0-1
Depends: libc6 (>= 2.2.3-1), libdb2 (>= 2:2.7.7-4), apache (>= 1.3.19-1)
Filename: 
pool/main/liba/libapache-mod-backhand/libapache-mod-backhand_1.2.0-1_i386.deb
Size: 63094
MD5sum: 8bc2c53dfb87c8c04679b3343189e34d
Description: Load balancing module for Apache web server
 mod_backhand is project that allows seamless redirection of HTTP requests
 from one web server to another. This redirection can be used to target
 machines with under-utilized resources, thus providing fine-grained,
 per-request load balancing of web requests.

--
ARAKI Yasuhiro




Re: Apache load ballancing

2001-07-10 Thread staf wagemakers

On Tue, Jul 10, 2001 at 01:25:50PM +0200, Przemyslaw Wegrzyn wrote:
> 
> I need to build a scalable webserver based on Apache. I'm not sure yet if
> the application requires persistent TCP connections. If so, it will
> require that after starting session all subsequent HTTP request in this
> session will come to the same machine in the cluster. This requires load
> ballancing in 7th layer, so LVS doesn't help much. 

LVS supports persistent connections ( see the webpage for more information)
which works well in most cases.
 
> The question is: are there any software level 7 ballancer available ? If
> not, which hardware box would you recommend ?

If it is a java application you could use tomcat/mod_jk which supports 
loabalancing.

--
staf wagemakers 

homepage:   http://www.stafwag.f2s.com
email:  [EMAIL PROTECTED]



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Apache load ballancing

2001-07-10 Thread Przemyslaw Wegrzyn

I need to build a scalable webserver based on Apache. I'm not sure yet if
the application requires persistent TCP connections. If so, it will
require that after starting session all subsequent HTTP request in this
session will come to the same machine in the cluster. This requires load
ballancing in 7th layer, so LVS doesn't help much. 

The question is: are there any software level 7 ballancer available ? If
not, which hardware box would you recommend ?

-=Czaj-nick=-





Re: Apache load ballancing

2001-07-10 Thread ARAKI Yasuhiro

Hello,

> session will come to the same machine in the cluster. This requires load
> ballancing in 7th layer, so LVS doesn't help much. 

check libapache-mod-backhand.

Package: libapache-mod-backhand
Priority: optional
Section: web
Installed-Size: 152
Maintainer: James Bromberger <[EMAIL PROTECTED]>
Architecture: i386
Version: 1.2.0-1
Depends: libc6 (>= 2.2.3-1), libdb2 (>= 2:2.7.7-4), apache (>= 1.3.19-1)
Filename: pool/main/liba/libapache-mod-backhand/libapache-mod-backhand_1.2.0-1_i386.deb
Size: 63094
MD5sum: 8bc2c53dfb87c8c04679b3343189e34d
Description: Load balancing module for Apache web server
 mod_backhand is project that allows seamless redirection of HTTP requests
 from one web server to another. This redirection can be used to target
 machines with under-utilized resources, thus providing fine-grained,
 per-request load balancing of web requests.

--
ARAKI Yasuhiro


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Apache load ballancing

2001-07-10 Thread Przemyslaw Wegrzyn


I need to build a scalable webserver based on Apache. I'm not sure yet if
the application requires persistent TCP connections. If so, it will
require that after starting session all subsequent HTTP request in this
session will come to the same machine in the cluster. This requires load
ballancing in 7th layer, so LVS doesn't help much. 

The question is: are there any software level 7 ballancer available ? If
not, which hardware box would you recommend ?

-=Czaj-nick=-



--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]