Re: [PHP] load balancing with php/apache?

2001-01-15 Thread Alex Black

> 
> We used LocalDirector for awhile, with it's 'sticky bit' functionality,
> and it basically didn't work with AOL.  I just looked at the
> coyote product and they claim it works with 'large ISP' proxies - maybe a
> veiled
> reference to AOL directly (why not just say AOL?).

from my testing, the "EQUALIZER" (I kind of like how obnoxious the name is,
actually :) does in fact work with AOL.

> Do you have any more info on HOW they do this?  The
> only thing I can think of is that they code it recognize particular IP blocks
> known to be proxies for AOL/mindspring/etc and route ALL traffic from these to
> a
> particular box, which doesn't seem terribly balanced.  OR... they drop a
> separate
> 'cookie' or similar header data piece between the server and the client and
> track
> that.

The installation I tested is not large, though, and I did not hit it with
more than one client.. in the case of the particular site, it doesn't
matter... but I would be interested to know that.


> Either way, it seems a bit expensive, although cheaper than LD, last time I
> checked.

Yeah, Cisco r' bastards :)

At _least_ for the money, their stuff does actually work most of the time.

> Personally, we do the 'stateless' model with session data in a database -
> works
> fine.  Your coyote solution is still stateless, but the session data is kept
> local
> to the webserver.

Yeah, we might end up writing a session handler for binarycloud, probably
"switchable" so you can store sessions on the machine re: php.ini, or pipe
'em to your DB.

> Problem I see with that is that if you need to take a particular machine
> offline,
> hundreds of people could lose their session data.  Same can be said of taking
> the
> database offline, but taking a db offline will probably affect the whole site
> anyway.  Part of the benefit of an intelligent load balancer is that you can
> remove/take down machines for maintenance/upgrades without worrying about the
> impact on the visitors.
> 
> Am I missing something?

Nope, not a thing.


That is a consequence of the stateless-but-not-quite model. In my case, it's
fine. In other cases, it certainly is not :)

_alex



> 
> Alex Black wrote:
> 
>> what?
>> 
>> you use an utterly completely stateless model?
>> 
>> craziness!
>> 
>> so you set cookies, and store the sig in the db?
>> 
>> agh! :)
>> 
>> I'm using this box from "coyote systems" called, wait for it:
>> 
>> "THE EQUALIZER"
>> 
>> which is a really obnoxious name, but it sticks clients with a particular
>> server intelligently, so we can be ever-so-slightly-lazy about that.
>> 
>> do you _like_ that system? (that isn't a challenge, it's real interest)
>> 
>> _a
>> 
>> --
>> Alex Black, Head Monkey
>> [EMAIL PROTECTED]
>> 
>> The Turing Studio, Inc.
>> http://www.turingstudio.com
>> 
>> vox+510.666.0074
>> fax+510.666.0093
>> 
>> Saul Zaentz Film Center
>> 2600 Tenth St Suite 433
>> Berkeley, CA 94710-2522
>> 
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] load balancing with php/apache?

2001-01-15 Thread Joe Stump

I would agree - we started using one at work (the 760 I believe) with 128GB of
online RAID 4 storage - YUM! We run a large SUN DB and run our DB straight from
the NetApp. NetApp basically rules.

--Joe


On Mon, Jan 15, 2001 at 10:08:32AM -, Tim Parkin wrote:
> A NetApp (Network Appliance) is a big RAID that uses multiple scsi drives to
> create a single transparent volume which, with CIFS (transparent filesystem)
> can be used by any OS. They are v fast, use NVRAM buffering and can go up to
> post terabyte storage capacity without worries. 
> 
> Oh and they start at 60k pounds sterling
> 
> But they are great. Network Attatched Storage at its best (gigabit fibre
> too)
> 
> Tim Parkin
> Didio Communications
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Monday, January 15, 2001 08:39
> To: Alex Black; [EMAIL PROTECTED]
> Subject: Re: [PHP] load balancing with php/apache?
> 
> 
> Addressed to: Alex Black <[EMAIL PROTECTED]>
>   [EMAIL PROTECTED]
> 
> ** Reply to note from Alex Black <[EMAIL PROTECTED]> Sun, 14 Jan 2001
> 17:16:50 -0800
> >   
> > > Whoever said NFS is slow hasn't used a NetApp
> >   
> 
> OK, I'll bite.  What is NetApp?   Network Appliance?
> 
> 
> Is this a cache technology, or will it help if I want to transfer 1GB
> of data with no duplication?  Once upon a time I was considering using
> NFS for backing up my web servers.  Then I found it would take over 150
> hours per backup over my 56K Frame Relay link.  I've got it down to
> about 46 hours with tar.gz and ftp.  It takes most of my sleep time
> during the week.
> 
> 
> 
> 
> 
> 
> Rick Widmer
> Internet Marketing Specialists
> http://www.developersdesk.com
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 

Joe Stump, PHP Hacker
[EMAIL PROTECTED]
http://www.miester.org/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] load balancing with php/apache?

2001-01-15 Thread Tim Parkin

A NetApp (Network Appliance) is a big RAID that uses multiple scsi drives to
create a single transparent volume which, with CIFS (transparent filesystem)
can be used by any OS. They are v fast, use NVRAM buffering and can go up to
post terabyte storage capacity without worries. 

Oh and they start at 60k pounds sterling

But they are great. Network Attatched Storage at its best (gigabit fibre
too)

Tim Parkin
Didio Communications

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, January 15, 2001 08:39
To: Alex Black; [EMAIL PROTECTED]
Subject: Re: [PHP] load balancing with php/apache?


Addressed to: Alex Black <[EMAIL PROTECTED]>
  [EMAIL PROTECTED]

** Reply to note from Alex Black <[EMAIL PROTECTED]> Sun, 14 Jan 2001
17:16:50 -0800
>   
> > Whoever said NFS is slow hasn't used a NetApp
>   

OK, I'll bite.  What is NetApp?   Network Appliance?


Is this a cache technology, or will it help if I want to transfer 1GB
of data with no duplication?  Once upon a time I was considering using
NFS for backing up my web servers.  Then I found it would take over 150
hours per backup over my 56K Frame Relay link.  I've got it down to
about 46 hours with tar.gz and ftp.  It takes most of my sleep time
during the week.






Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] load balancing with php/apache?

2001-01-14 Thread php3

Addressed to: Alex Black <[EMAIL PROTECTED]>
  [EMAIL PROTECTED]

** Reply to note from Alex Black <[EMAIL PROTECTED]> Sun, 14 Jan 2001 17:16:50 
-0800
>
> > Whoever said NFS is slow hasn't used a NetApp
>

OK, I'll bite.  What is NetApp?   Network Appliance?


Is this a cache technology, or will it help if I want to transfer 1GB
of data with no duplication?  Once upon a time I was considering using
NFS for backing up my web servers.  Then I found it would take over 150
hours per backup over my 56K Frame Relay link.  I've got it down to
about 46 hours with tar.gz and ftp.  It takes most of my sleep time
during the week.






Rick Widmer
Internet Marketing Specialists
http://www.developersdesk.com

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] load balancing with php/apache?

2001-01-14 Thread Michael Kimsal

Wasn't directed quite at me, but I'll chime in nonetheless

We used LocalDirector for awhile, with it's 'sticky bit' functionality,
and it basically didn't work with AOL.  I just looked at the
coyote product and they claim it works with 'large ISP' proxies - maybe a veiled
reference to AOL directly (why not just say AOL?).

Do you have any more info on HOW they do this?  The
only thing I can think of is that they code it recognize particular IP blocks
known to be proxies for AOL/mindspring/etc and route ALL traffic from these to a
particular box, which doesn't seem terribly balanced.  OR... they drop a separate
'cookie' or similar header data piece between the server and the client and track
that.

Either way, it seems a bit expensive, although cheaper than LD, last time I
checked.

Personally, we do the 'stateless' model with session data in a database - works
fine.  Your coyote solution is still stateless, but the session data is kept local
to the webserver.

Problem I see with that is that if you need to take a particular machine offline,
hundreds of people could lose their session data.  Same can be said of taking the
database offline, but taking a db offline will probably affect the whole site
anyway.  Part of the benefit of an intelligent load balancer is that you can
remove/take down machines for maintenance/upgrades without worrying about the
impact on the visitors.

Am I missing something?


Alex Black wrote:

> what?
>
> you use an utterly completely stateless model?
>
> craziness!
>
> so you set cookies, and store the sig in the db?
>
> agh! :)
>
> I'm using this box from "coyote systems" called, wait for it:
>
> "THE EQUALIZER"
>
> which is a really obnoxious name, but it sticks clients with a particular
> server intelligently, so we can be ever-so-slightly-lazy about that.
>
> do you _like_ that system? (that isn't a challenge, it's real interest)
>
> _a
>
> --
> Alex Black, Head Monkey
> [EMAIL PROTECTED]
>
> The Turing Studio, Inc.
> http://www.turingstudio.com
>
> vox+510.666.0074
> fax+510.666.0093
>
> Saul Zaentz Film Center
> 2600 Tenth St Suite 433
> Berkeley, CA 94710-2522
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] load balancing with php/apache?

2001-01-14 Thread Alex Black

check out 

http://www.coyotepoint.com/

only $4000!

does 512 clients!

can even stick clients through the famous AOHell proxies!

cheap!

:)


--
Alex Black, Head Monkey
[EMAIL PROTECTED]

The Turing Studio, Inc.
http://www.turingstudio.com

vox+510.666.0074
fax+510.666.0093

Saul Zaentz Film Center
2600 Tenth St Suite 433
Berkeley, CA 94710-2522




> From: [EMAIL PROTECTED] (jeremy brand)
> Newsgroups: php.general
> Date: 13 Jan 2001 12:16:09 -0800
> Subject: Re: [PHP] load balancing with php/apache?
> 
>>> We use LVS on our website - it works great! We have 2 load balancers with
>>> the
>>> HA package and 6 PHP webservers running behind it (with a central DB
>>> server).
>> 
>> Yes, I have heard very good things about LVS.  Haven't had a chance to set
>> it up myself yet.  Definitely something for the TODO list.
> 
> LVS with linux-ha is a win-win situation.  Even if you loose a LVS,
> the failover is transparent. The connections hang for about 5-15
> seconds, then transfer over to the other machine.
> 
> With the traffic that we have, we opted to use direct
> routing, this way there is no translation (thus no additional CPU on
> the LVS machine) needed for the answers; the web servers talk directly
> back to the client themselves.
> 
> We were planning on using Local Directors, then cost became a major
> issue.  I'm actually glad we did it this way, because personally I
> like envesting my knowledge in open solutions rather than learning
> proprietary OSs and strategies.
> 
> Jeremy
> 
> Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
> http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
> Get your own Free, Private email at http://www.smackdown.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> ""   -- Quoted from Yahoo! homepage, http://www.yahoo.com
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] load balancing with php/apache?

2001-01-14 Thread Alex Black

> Whoever said NFS is slow hasn't used a NetApp

amen brother.

-a


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] load balancing with php/apache?

2001-01-14 Thread Alex Black

what?

you use an utterly completely stateless model?

craziness!

so you set cookies, and store the sig in the db?

agh! :)


I'm using this box from "coyote systems" called, wait for it:

"THE EQUALIZER"

which is a really obnoxious name, but it sticks clients with a particular
server intelligently, so we can be ever-so-slightly-lazy about that.

do you _like_ that system? (that isn't a challenge, it's real interest)

_a


--
Alex Black, Head Monkey
[EMAIL PROTECTED]

The Turing Studio, Inc.
http://www.turingstudio.com

vox+510.666.0074
fax+510.666.0093

Saul Zaentz Film Center
2600 Tenth St Suite 433
Berkeley, CA 94710-2522




> From: [EMAIL PROTECTED] (jeremy brand)
> Newsgroups: php.general
> Date: 13 Jan 2001 13:41:19 -0800
> Subject: RE: [PHP] load balancing with php/apache?
> 
> we store the sessions in the DB.
> 
> Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
> http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
> Get your own Free, Private email at http://www.smackdown.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> ""   -- Quoted from Yahoo! homepage, http://www.yahoo.com
> 
> On Sat, 13 Jan 2001, Cal Evans wrote:
> 
>> Date: Sat, 13 Jan 2001 14:43:19 -0600
>> From: Cal Evans <[EMAIL PROTECTED]>
>> To: jeremy brand <[EMAIL PROTECTED]>
>> Cc: [EMAIL PROTECTED]
>> Subject: RE: [PHP] load balancing with php/apache?
>> 
>> When you say "handled by us" do you mean you:
>> 
>> 1) Write the sess_* files to a shared drive
>> 2) Store them in the database
>> 3) ignore them totally, who needs users anyhow?
>> 4) some other option?
>> 
>> Cal
>> http://www.calevans.com
>> 
>> 
>> -Original Message-
>> From: jeremy brand [mailto:[EMAIL PROTECTED]]
>> Sent: Saturday, January 13, 2001 2:20 PM
>> To: Cal Evans
>> Cc: [EMAIL PROTECTED]
>> Subject: RE: [PHP] load balancing with php/apache?
>> 
>> 
>> We have a centralized DB server.  Sessions are handled by us, the
>> programmers, not the cluster.
>> 
>> Jeremy
>> 
>> Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
>> http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
>> Get your own Free, Private email at http://www.smackdown.com/
>> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>> ""   -- Quoted from Yahoo! homepage, http://www.yahoo.com
>> 
>> On Sat, 13 Jan 2001, Cal Evans wrote:
>> 
>>> Date: Sat, 13 Jan 2001 11:51:01 -0600
>>> From: Cal Evans <[EMAIL PROTECTED]>
>>> To: [EMAIL PROTECTED]
>>> Subject: RE: [PHP] load balancing with php/apache?
>>> 
>>> How does it deal with sessions? Or do use store sessions in the database?
>>> 
>>> Cal
>>> 
>>> -Original Message-
>>> From: Joe Stump [mailto:[EMAIL PROTECTED]]
>>> Sent: Saturday, January 13, 2001 11:22 AM
>>> To: Rasmus Lerdorf
>>> Cc: [EMAIL PROTECTED]
>>> Subject: Re: [PHP] load balancing with php/apache?
>>> 
>>> 
>>>> http://www.linuxvirtualserver.org/
>>> 
>>> We use LVS on our website - it works great! We have 2 load balancers with
>>> the
>>> HA package and 6 PHP webservers running behind it (with a central DB
>>> server).
>>> 
>>> In short, it's possible and works quite well. BTW We user FreeBSD for
>>> webservers
>>> if that's any help (though linux, NT, solaris, etc would all work)
>>> 
>>> --Joe
>>> 
>>> 
>>> 
>>> 
>>>> http://linas.org/linux/load.html
>>>> 
>>>> -Rasmus
>>>> 
>>>> 
>>>> --
>>>> PHP General Mailing List (http://www.php.net/)
>>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>>> 
>>> --
>>> 
>>> Joe Stump, PHP Hacker
>>> [EMAIL PROTECTED]
>>> http://www.miester.org/
>>> 
>>> 
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>>> 
>>> 
>>> 
>>> --
>>> PHP General Mailing List (http://www.php.net/)
>&g

RE: [PHP] load balancing with php/apache?

2001-01-14 Thread jeremy brand

unfortunately not because it is not opensource.  I did want to make it
clear that sessions is a gereric word.  Thus, when it is said, it
shouldn't be mis-understood as to be PHP Sessions, which obviously is
not a generic word.

Jeremy

Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more 
Get your own Free, Private email at http://www.smackdown.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   ""   -- Quoted from Yahoo! homepage, http://www.yahoo.com

On Sun, 14 Jan 2001, Cal Evans wrote:

> Date: Sun, 14 Jan 2001 08:26:46 -0600
> From: Cal Evans <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED], jeremy brand <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] load balancing with php/apache?
> 
> I agree. You've piqued my curiosity.  Can you go into details?
> 
> Cal
> http://.calevans.com
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 13, 2001 10:19 PM
> To: jeremy brand
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] load balancing with php/apache?
> 
> 
> On Sat, 13 Jan 2001, jeremy brand wrote:
> 
> > Oh, BTW, we don't use PHP sessions, we use our own.  
> That has got me hooked - what do you use?
> do you mean you dont use 
> 1) PHP4 sessions 
> OR
> 2) don't use PHP for session handling at all?
> 
> Tarique
> 
> -- 
> =
>B2B Application Providers
> http://www.sanisoft.com
>  Vortal for Nagpur http://nagpurcity.net
> =
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] load balancing with php/apache?

2001-01-14 Thread jeremy brand

Like I said, we use our own.  It is home grown, but not opensource --
sorry, if it was my choice it would be ;)

Jeremy

Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more 
Get your own Free, Private email at http://www.smackdown.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   ""   -- Quoted from Yahoo! homepage, http://www.yahoo.com

On Sun, 14 Jan 2001, [EMAIL PROTECTED] wrote:

> Date: Sun, 14 Jan 2001 09:49:03 +0530 (IST)
> From: "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
> To: jeremy brand <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] load balancing with php/apache?
> 
> On Sat, 13 Jan 2001, jeremy brand wrote:
> 
> > Oh, BTW, we don't use PHP sessions, we use our own.  
> That has got me hooked - what do you use?
> do you mean you dont use 
> 1) PHP4 sessions 
> OR
> 2) don't use PHP for session handling at all?
> 
> Tarique
> 
> -- 
> =
>B2B Application Providers
> http://www.sanisoft.com
>  Vortal for Nagpur http://nagpurcity.net
> =
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] load balancing with php/apache?

2001-01-14 Thread Cal Evans

I agree. You've piqued my curiosity.  Can you go into details?

Cal
http://.calevans.com

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 13, 2001 10:19 PM
To: jeremy brand
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] load balancing with php/apache?


On Sat, 13 Jan 2001, jeremy brand wrote:

> Oh, BTW, we don't use PHP sessions, we use our own.  
That has got me hooked - what do you use?
do you mean you dont use 
1) PHP4 sessions 
OR
2) don't use PHP for session handling at all?

Tarique

-- 
=
   B2B Application Providers
http://www.sanisoft.com
 Vortal for Nagpur http://nagpurcity.net
=


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] load balancing with php/apache?

2001-01-13 Thread [EMAIL PROTECTED]

On Sat, 13 Jan 2001, jeremy brand wrote:

> Oh, BTW, we don't use PHP sessions, we use our own.  
That has got me hooked - what do you use?
do you mean you dont use 
1) PHP4 sessions 
OR
2) don't use PHP for session handling at all?

Tarique

-- 
=
   B2B Application Providers
http://www.sanisoft.com
 Vortal for Nagpur http://nagpurcity.net
=


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] load balancing with php/apache?

2001-01-13 Thread jeremy brand

Oh, BTW, we don't use PHP sessions, we use our own.  

Jeremy

Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more 
Get your own Free, Private email at http://www.smackdown.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   ""   -- Quoted from Yahoo! homepage, http://www.yahoo.com

On Sat, 13 Jan 2001, jeremy brand wrote:

> Date: Sat, 13 Jan 2001 13:44:18 -0800 (PST)
> From: jeremy brand <[EMAIL PROTECTED]>
> To: Cal Evans <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] load balancing with php/apache?
> 
> we store the sessions in the DB.
> 
> Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
> http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more 
> Get your own Free, Private email at http://www.smackdown.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>""   -- Quoted from Yahoo! homepage, http://www.yahoo.com
> 
> On Sat, 13 Jan 2001, Cal Evans wrote:
> 
> > Date: Sat, 13 Jan 2001 14:43:19 -0600
> > From: Cal Evans <[EMAIL PROTECTED]>
> > To: jeremy brand <[EMAIL PROTECTED]>
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP] load balancing with php/apache?
> > 
> > When you say "handled by us" do you mean you:
> > 
> > 1) Write the sess_* files to a shared drive
> > 2) Store them in the database
> > 3) ignore them totally, who needs users anyhow?
> > 4) some other option?
> > 
> > Cal
> > http://www.calevans.com
> > 
> > 
> > -Original Message-
> > From: jeremy brand [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, January 13, 2001 2:20 PM
> > To: Cal Evans
> > Cc: [EMAIL PROTECTED]
> > Subject: RE: [PHP] load balancing with php/apache?
> > 
> > 
> > We have a centralized DB server.  Sessions are handled by us, the
> > programmers, not the cluster.
> > 
> > Jeremy
> > 
> > Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
> > http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
> > Get your own Free, Private email at http://www.smackdown.com/
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> >""   -- Quoted from Yahoo! homepage, http://www.yahoo.com
> > 
> > On Sat, 13 Jan 2001, Cal Evans wrote:
> > 
> > > Date: Sat, 13 Jan 2001 11:51:01 -0600
> > > From: Cal Evans <[EMAIL PROTECTED]>
> > > To: [EMAIL PROTECTED]
> > > Subject: RE: [PHP] load balancing with php/apache?
> > >
> > > How does it deal with sessions? Or do use store sessions in the database?
> > >
> > > Cal
> > >
> > > -Original Message-
> > > From: Joe Stump [mailto:[EMAIL PROTECTED]]
> > > Sent: Saturday, January 13, 2001 11:22 AM
> > > To: Rasmus Lerdorf
> > > Cc: [EMAIL PROTECTED]
> > > Subject: Re: [PHP] load balancing with php/apache?
> > >
> > >
> > > > http://www.linuxvirtualserver.org/
> > >
> > > We use LVS on our website - it works great! We have 2 load balancers with
> > > the
> > > HA package and 6 PHP webservers running behind it (with a central DB
> > > server).
> > >
> > > In short, it's possible and works quite well. BTW We user FreeBSD for
> > > webservers
> > > if that's any help (though linux, NT, solaris, etc would all work)
> > >
> > > --Joe
> > >
> > >
> > >
> > >
> > > > http://linas.org/linux/load.html
> > > >
> > > > -Rasmus
> > > >
> > > >
> > > > --
> > > > PHP General Mailing List (http://www.php.net/)
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> > >
> > > --
> > >
> > > Joe Stump, PHP Hacker
> > > [EMAIL PROTECTED]
> > > http://www.miester.org/
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> > >
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > &

RE: [PHP] load balancing with php/apache?

2001-01-13 Thread jeremy brand

we store the sessions in the DB.

Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more 
Get your own Free, Private email at http://www.smackdown.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   ""   -- Quoted from Yahoo! homepage, http://www.yahoo.com

On Sat, 13 Jan 2001, Cal Evans wrote:

> Date: Sat, 13 Jan 2001 14:43:19 -0600
> From: Cal Evans <[EMAIL PROTECTED]>
> To: jeremy brand <[EMAIL PROTECTED]>
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] load balancing with php/apache?
> 
> When you say "handled by us" do you mean you:
> 
> 1) Write the sess_* files to a shared drive
> 2) Store them in the database
> 3) ignore them totally, who needs users anyhow?
> 4) some other option?
> 
> Cal
> http://www.calevans.com
> 
> 
> -Original Message-
> From: jeremy brand [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 13, 2001 2:20 PM
> To: Cal Evans
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] load balancing with php/apache?
> 
> 
> We have a centralized DB server.  Sessions are handled by us, the
> programmers, not the cluster.
> 
> Jeremy
> 
> Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
> http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
> Get your own Free, Private email at http://www.smackdown.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>""   -- Quoted from Yahoo! homepage, http://www.yahoo.com
> 
> On Sat, 13 Jan 2001, Cal Evans wrote:
> 
> > Date: Sat, 13 Jan 2001 11:51:01 -0600
> > From: Cal Evans <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: RE: [PHP] load balancing with php/apache?
> >
> > How does it deal with sessions? Or do use store sessions in the database?
> >
> > Cal
> >
> > -Original Message-
> > From: Joe Stump [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, January 13, 2001 11:22 AM
> > To: Rasmus Lerdorf
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP] load balancing with php/apache?
> >
> >
> > > http://www.linuxvirtualserver.org/
> >
> > We use LVS on our website - it works great! We have 2 load balancers with
> > the
> > HA package and 6 PHP webservers running behind it (with a central DB
> > server).
> >
> > In short, it's possible and works quite well. BTW We user FreeBSD for
> > webservers
> > if that's any help (though linux, NT, solaris, etc would all work)
> >
> > --Joe
> >
> >
> >
> >
> > > http://linas.org/linux/load.html
> > >
> > > -Rasmus
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> > --
> >
> > Joe Stump, PHP Hacker
> > [EMAIL PROTECTED]
> > http://www.miester.org/
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Joe Stump

> Any of the above.  It's up to you.  Most people probably store the session info in a 
>database.  But you could also do it in a shared drive. But I got a little static a 
>while ago when I suggested storing shared session data on an NFS mounted drive. NFSes 
>are too slow I guess.

Whoever said NFS is slow hasn't used a NetApp

--Joe


> 
> Michael
> 
> 
> On Saturday, January 13, 2001, at 03:43 PM, Cal Evans wrote:
> 
> > When you say "handled by us" do you mean you: 
> >  
> > 1) Write the sess_* files to a shared drive 
> > 2) Store them in the database 
> > 3) ignore them totally, who needs users anyhow? 
> > 4) some other option? 
> >  
> > Cal 
> > http://www.calevans.com 
> >  
> >  
> > -Original Message- 
> > From: jeremy brand [mailto:[EMAIL PROTECTED]] 
> > Sent: Saturday, January 13, 2001 2:20 PM 
> > To: Cal Evans 
> > Cc: [EMAIL PROTECTED] 
> > Subject: RE: [PHP] load balancing with php/apache? 
> >  
> >  
> > We have a centralized DB server.  Sessions are handled by us, the 
> > programmers, not the cluster. 
> >  
> > Jeremy 
> >  
> > Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] 
> > http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more 
> > Get your own Free, Private email at http://www.smackdown.com/ 
> > - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
> >""   -- Quoted from Yahoo! homepage, http://www.yahoo.com 
> >  
> > On Sat, 13 Jan 2001, Cal Evans wrote: 
> >  
> > > Date: Sat, 13 Jan 2001 11:51:01 -0600 
> > > From: Cal Evans <[EMAIL PROTECTED]> 
> > > To: [EMAIL PROTECTED] 
> > > Subject: RE: [PHP] load balancing with php/apache? 
> > > 
> > > How does it deal with sessions? Or do use store sessions in the database? 
> > > 
> > > Cal 
> > > 
> > > -Original Message- 
> > > From: Joe Stump [mailto:[EMAIL PROTECTED]] 
> > > Sent: Saturday, January 13, 2001 11:22 AM 
> > > To: Rasmus Lerdorf 
> > > Cc: [EMAIL PROTECTED] 
> > > Subject: Re: [PHP] load balancing with php/apache? 
> > > 
> > > 
> > > > http://www.linuxvirtualserver.org/ 
> > > 
> > > We use LVS on our website - it works great! We have 2 load balancers with 
> > > the 
> > > HA package and 6 PHP webservers running behind it (with a central DB 
> > > server). 
> > > 
> > > In short, it's possible and works quite well. BTW We user FreeBSD for 
> > > webservers 
> > > if that's any help (though linux, NT, solaris, etc would all work) 
> > > 
> > > --Joe 
> > > 
> > > 
> > > 
> > > 
> > > > http://linas.org/linux/load.html 
> > > > 
> > > > -Rasmus 
> > > > 
> > > > 
> > > > -- 
> > > > PHP General Mailing List (http://www.php.net/) 
> > > > To unsubscribe, e-mail: [EMAIL PROTECTED] 
> > > > For additional commands, e-mail: [EMAIL PROTECTED] 
> > > > To contact the list administrators, e-mail: [EMAIL PROTECTED] 
> > > 
> > > -- 
> > > 
> > > Joe Stump, PHP Hacker 
> > > [EMAIL PROTECTED] 
> > > http://www.miester.org/ 
> > > 
> > > 
> > > -- 
> > > PHP General Mailing List (http://www.php.net/) 
> > > To unsubscribe, e-mail: [EMAIL PROTECTED] 
> > > For additional commands, e-mail: [EMAIL PROTECTED] 
> > > To contact the list administrators, e-mail: [EMAIL PROTECTED] 
> > > 
> > > 
> > > 
> > > -- 
> > > PHP General Mailing List (http://www.php.net/) 
> > > To unsubscribe, e-mail: [EMAIL PROTECTED] 
> > > For additional commands, e-mail: [EMAIL PROTECTED] 
> > > To contact the list administrators, e-mail: [EMAIL PROTECTED] 
> > > 
> > > 
> >  
> >  
> > -- 
> > PHP General Mailing List (http://www.php.net/) 
> > To unsubscribe, e-mail: [EMAIL PROTECTED] 
> > For additional commands, e-mail: [EMAIL PROTECTED] 
> > To contact the list administrators, e-mail: [EMAIL PROTECTED] 
> >  
> >  
> >  
> > --  
> > PHP General Mailing List (http://www.php.net/) 
> > To unsubscribe, e-mail: [EMAIL PROTECTED] 
> > For additional commands, e-mail: [EMAIL PROTECTED] 
> > To contact the list administrators, e-mail: [EMAIL PROTECTED] 
> >  
> >  
> >  
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 

Joe Stump, PHP Hacker
[EMAIL PROTECTED]
http://www.miester.org/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Joe Stump

I work with Jer - we use DB based session management. You log in - get a cookie
and everything is handled with that session id.

--Joe

On Sat, Jan 13, 2001 at 02:43:19PM -0600, Cal Evans wrote:
> When you say "handled by us" do you mean you:
> 
> 1) Write the sess_* files to a shared drive
> 2) Store them in the database
> 3) ignore them totally, who needs users anyhow?
> 4) some other option?
> 
> Cal
> http://www.calevans.com
> 
> 
> -Original Message-
> From: jeremy brand [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 13, 2001 2:20 PM
> To: Cal Evans
> Cc: [EMAIL PROTECTED]
> Subject: RE: [PHP] load balancing with php/apache?
> 
> 
> We have a centralized DB server.  Sessions are handled by us, the
> programmers, not the cluster.
> 
> Jeremy
> 
> Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
> http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
> Get your own Free, Private email at http://www.smackdown.com/
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
>""   -- Quoted from Yahoo! homepage, http://www.yahoo.com
> 
> On Sat, 13 Jan 2001, Cal Evans wrote:
> 
> > Date: Sat, 13 Jan 2001 11:51:01 -0600
> > From: Cal Evans <[EMAIL PROTECTED]>
> > To: [EMAIL PROTECTED]
> > Subject: RE: [PHP] load balancing with php/apache?
> >
> > How does it deal with sessions? Or do use store sessions in the database?
> >
> > Cal
> >
> > -----Original Message-----
> > From: Joe Stump [mailto:[EMAIL PROTECTED]]
> > Sent: Saturday, January 13, 2001 11:22 AM
> > To: Rasmus Lerdorf
> > Cc: [EMAIL PROTECTED]
> > Subject: Re: [PHP] load balancing with php/apache?
> >
> >
> > > http://www.linuxvirtualserver.org/
> >
> > We use LVS on our website - it works great! We have 2 load balancers with
> > the
> > HA package and 6 PHP webservers running behind it (with a central DB
> > server).
> >
> > In short, it's possible and works quite well. BTW We user FreeBSD for
> > webservers
> > if that's any help (though linux, NT, solaris, etc would all work)
> >
> > --Joe
> >
> >
> >
> >
> > > http://linas.org/linux/load.html
> > >
> > > -Rasmus
> > >
> > >
> > > --
> > > PHP General Mailing List (http://www.php.net/)
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> > --
> >
> > Joe Stump, PHP Hacker
> > [EMAIL PROTECTED]
> > http://www.miester.org/
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> >
> >
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 

Joe Stump, PHP Hacker
[EMAIL PROTECTED]
http://www.miester.org/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] load balancing with php/apache?

2001-01-13 Thread Michael Stearne

Any of the above.  It's up to you.  Most people probably store the session info in a 
database.  But you could also do it in a shared drive. But I got a little static a 
while ago when I suggested storing shared session data on an NFS mounted drive. NFSes 
are too slow I guess.

Michael


On Saturday, January 13, 2001, at 03:43 PM, Cal Evans wrote:

> When you say "handled by us" do you mean you: 
>  
> 1) Write the sess_* files to a shared drive 
> 2) Store them in the database 
> 3) ignore them totally, who needs users anyhow? 
> 4) some other option? 
>  
> Cal 
> http://www.calevans.com 
>  
>  
> -Original Message- 
> From: jeremy brand [mailto:[EMAIL PROTECTED]] 
> Sent: Saturday, January 13, 2001 2:20 PM 
> To: Cal Evans 
> Cc: [EMAIL PROTECTED] 
> Subject: RE: [PHP] load balancing with php/apache? 
>  
>  
> We have a centralized DB server.  Sessions are handled by us, the 
> programmers, not the cluster. 
>  
> Jeremy 
>  
> Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED] 
> http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more 
> Get your own Free, Private email at http://www.smackdown.com/ 
> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
>""   -- Quoted from Yahoo! homepage, http://www.yahoo.com 
>  
> On Sat, 13 Jan 2001, Cal Evans wrote: 
>  
> > Date: Sat, 13 Jan 2001 11:51:01 -0600 
> > From: Cal Evans <[EMAIL PROTECTED]> 
> > To: [EMAIL PROTECTED] 
> > Subject: RE: [PHP] load balancing with php/apache? 
> > 
> > How does it deal with sessions? Or do use store sessions in the database? 
> > 
> > Cal 
> > 
> > -----Original Message----- 
> > From: Joe Stump [mailto:[EMAIL PROTECTED]] 
> > Sent: Saturday, January 13, 2001 11:22 AM 
> > To: Rasmus Lerdorf 
> > Cc: [EMAIL PROTECTED] 
> > Subject: Re: [PHP] load balancing with php/apache? 
> > 
> > 
> > > http://www.linuxvirtualserver.org/ 
> > 
> > We use LVS on our website - it works great! We have 2 load balancers with 
> > the 
> > HA package and 6 PHP webservers running behind it (with a central DB 
> > server). 
> > 
> > In short, it's possible and works quite well. BTW We user FreeBSD for 
> > webservers 
> > if that's any help (though linux, NT, solaris, etc would all work) 
> > 
> > --Joe 
> > 
> > 
> > 
> > 
> > > http://linas.org/linux/load.html 
> > > 
> > > -Rasmus 
> > > 
> > > 
> > > -- 
> > > PHP General Mailing List (http://www.php.net/) 
> > > To unsubscribe, e-mail: [EMAIL PROTECTED] 
> > > For additional commands, e-mail: [EMAIL PROTECTED] 
> > > To contact the list administrators, e-mail: [EMAIL PROTECTED] 
> > 
> > -- 
> > 
> > Joe Stump, PHP Hacker 
> > [EMAIL PROTECTED] 
> > http://www.miester.org/ 
> > 
> > 
> > -- 
> > PHP General Mailing List (http://www.php.net/) 
> > To unsubscribe, e-mail: [EMAIL PROTECTED] 
> > For additional commands, e-mail: [EMAIL PROTECTED] 
> > To contact the list administrators, e-mail: [EMAIL PROTECTED] 
> > 
> > 
> > 
> > -- 
> > PHP General Mailing List (http://www.php.net/) 
> > To unsubscribe, e-mail: [EMAIL PROTECTED] 
> > For additional commands, e-mail: [EMAIL PROTECTED] 
> > To contact the list administrators, e-mail: [EMAIL PROTECTED] 
> > 
> > 
>  
>  
> -- 
> PHP General Mailing List (http://www.php.net/) 
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
> To contact the list administrators, e-mail: [EMAIL PROTECTED] 
>  
>  
>  
> --  
> PHP General Mailing List (http://www.php.net/) 
> To unsubscribe, e-mail: [EMAIL PROTECTED] 
> For additional commands, e-mail: [EMAIL PROTECTED] 
> To contact the list administrators, e-mail: [EMAIL PROTECTED] 
>  
>  
>  

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] load balancing with php/apache?

2001-01-13 Thread Cal Evans

When you say "handled by us" do you mean you:

1) Write the sess_* files to a shared drive
2) Store them in the database
3) ignore them totally, who needs users anyhow?
4) some other option?

Cal
http://www.calevans.com


-Original Message-
From: jeremy brand [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 13, 2001 2:20 PM
To: Cal Evans
Cc: [EMAIL PROTECTED]
Subject: RE: [PHP] load balancing with php/apache?


We have a centralized DB server.  Sessions are handled by us, the
programmers, not the cluster.

Jeremy

Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more
Get your own Free, Private email at http://www.smackdown.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   ""   -- Quoted from Yahoo! homepage, http://www.yahoo.com

On Sat, 13 Jan 2001, Cal Evans wrote:

> Date: Sat, 13 Jan 2001 11:51:01 -0600
> From: Cal Evans <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] load balancing with php/apache?
>
> How does it deal with sessions? Or do use store sessions in the database?
>
> Cal
>
> -Original Message-
> From: Joe Stump [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 13, 2001 11:22 AM
> To: Rasmus Lerdorf
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] load balancing with php/apache?
>
>
> > http://www.linuxvirtualserver.org/
>
> We use LVS on our website - it works great! We have 2 load balancers with
> the
> HA package and 6 PHP webservers running behind it (with a central DB
> server).
>
> In short, it's possible and works quite well. BTW We user FreeBSD for
> webservers
> if that's any help (though linux, NT, solaris, etc would all work)
>
> --Joe
>
>
>
>
> > http://linas.org/linux/load.html
> >
> > -Rasmus
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
> --
>
> Joe Stump, PHP Hacker
> [EMAIL PROTECTED]
> http://www.miester.org/
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] load balancing with php/apache?

2001-01-13 Thread jeremy brand

We have a centralized DB server.  Sessions are handled by us, the
programmers, not the cluster.

Jeremy

Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more 
Get your own Free, Private email at http://www.smackdown.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   ""   -- Quoted from Yahoo! homepage, http://www.yahoo.com

On Sat, 13 Jan 2001, Cal Evans wrote:

> Date: Sat, 13 Jan 2001 11:51:01 -0600
> From: Cal Evans <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: RE: [PHP] load balancing with php/apache?
> 
> How does it deal with sessions? Or do use store sessions in the database?
> 
> Cal
> 
> -Original Message-
> From: Joe Stump [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 13, 2001 11:22 AM
> To: Rasmus Lerdorf
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] load balancing with php/apache?
> 
> 
> > http://www.linuxvirtualserver.org/
> 
> We use LVS on our website - it works great! We have 2 load balancers with
> the
> HA package and 6 PHP webservers running behind it (with a central DB
> server).
> 
> In short, it's possible and works quite well. BTW We user FreeBSD for
> webservers
> if that's any help (though linux, NT, solaris, etc would all work)
> 
> --Joe
> 
> 
> 
> 
> > http://linas.org/linux/load.html
> >
> > -Rasmus
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> --
> 
> Joe Stump, PHP Hacker
> [EMAIL PROTECTED]
> http://www.miester.org/
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] load balancing with php/apache?

2001-01-13 Thread jeremy brand

> > We use LVS on our website - it works great! We have 2 load balancers with the
> > HA package and 6 PHP webservers running behind it (with a central DB server).
> 
> Yes, I have heard very good things about LVS.  Haven't had a chance to set
> it up myself yet.  Definitely something for the TODO list.

LVS with linux-ha is a win-win situation.  Even if you loose a LVS,
the failover is transparent. The connections hang for about 5-15
seconds, then transfer over to the other machine.

With the traffic that we have, we opted to use direct
routing, this way there is no translation (thus no additional CPU on
the LVS machine) needed for the answers; the web servers talk directly
back to the client themselves.

We were planning on using Local Directors, then cost became a major
issue.  I'm actually glad we did it this way, because personally I
like envesting my knowledge in open solutions rather than learning
proprietary OSs and strategies.

Jeremy

Jeremy Brand :: Sr. Software Engineer :: 408-245-9058 :: [EMAIL PROTECTED]
http://www.JeremyBrand.com/Jeremy/Brand/Jeremy_Brand.html for more 
Get your own Free, Private email at http://www.smackdown.com/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
   ""   -- Quoted from Yahoo! homepage, http://www.yahoo.com


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] load balancing with php/apache?

2001-01-13 Thread Rasmus Lerdorf

The session id is not an issue, but yes, obviously you will need to store
the session data itself somewhere where all the machines can get at
it.  So either on a common NFS share, ldap or some sort of
database.  PHP's session handling allows you to write your own backend
session datastore functions using session_set_save_handler()
http://php.net/manual/en/function.session-set-save-handler.php

-Rasmus

On Sat, 13 Jan 2001, Cal Evans wrote:

> How does it deal with sessions? Or do use store sessions in the database?
> 
> Cal
> 
> -Original Message-
> From: Joe Stump [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, January 13, 2001 11:22 AM
> To: Rasmus Lerdorf
> Cc: [EMAIL PROTECTED]
> Subject: Re: [PHP] load balancing with php/apache?
> 
> 
> > http://www.linuxvirtualserver.org/
> 
> We use LVS on our website - it works great! We have 2 load balancers with
> the
> HA package and 6 PHP webservers running behind it (with a central DB
> server).
> 
> In short, it's possible and works quite well. BTW We user FreeBSD for
> webservers
> if that's any help (though linux, NT, solaris, etc would all work)
> 
> --Joe
> 
> 
> 
> 
> > http://linas.org/linux/load.html
> >
> > -Rasmus
> >
> >
> > --
> > PHP General Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> --
> 
> Joe Stump, PHP Hacker
> [EMAIL PROTECTED]
> http://www.miester.org/
> 
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Michael Kimsal

We've used local director in the past, as well as the 'f5' product
(big IP? - I forgot the company name).  Maybe it's 'big ip' from f5.
Shows you how much we think about it - it just does it's job.

As others pointed out, you can go with a software version under
Linux, and I think W2k enterprise has some type of load balancer
available for it too.  All a load balancer will do is route requests to
different web servers - what the web servers do with the requests
(run ASP, PHP, Perl, CF, etc.) is entirely irrelevant to the
load balancing situation.

The 'enterprise' issue with respect to PHP is a bit of a red herring, IMO.
VBScript doesn't do load balancing, and that never stopped anyone
from deploying ASP pages...

Good luck.  :)

Erick Papadakis wrote:

> hello people
>
> this might be a very silly question, but folks in my
> company have now started asking some enterprise
> questions like "sure, we'll do php but how about load
> balancing?" i have a feeling that this can be achieved
> with some caching on apache? how can i achieve this?
>
> thanks/erick
>
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




RE: [PHP] load balancing with php/apache?

2001-01-13 Thread Cal Evans

How does it deal with sessions? Or do use store sessions in the database?

Cal

-Original Message-
From: Joe Stump [mailto:[EMAIL PROTECTED]]
Sent: Saturday, January 13, 2001 11:22 AM
To: Rasmus Lerdorf
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] load balancing with php/apache?


> http://www.linuxvirtualserver.org/

We use LVS on our website - it works great! We have 2 load balancers with
the
HA package and 6 PHP webservers running behind it (with a central DB
server).

In short, it's possible and works quite well. BTW We user FreeBSD for
webservers
if that's any help (though linux, NT, solaris, etc would all work)

--Joe




> http://linas.org/linux/load.html
>
> -Rasmus
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

--

Joe Stump, PHP Hacker
[EMAIL PROTECTED]
http://www.miester.org/


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Rasmus Lerdorf

> > http://www.linuxvirtualserver.org/
> 
> We use LVS on our website - it works great! We have 2 load balancers with the
> HA package and 6 PHP webservers running behind it (with a central DB server).

Yes, I have heard very good things about LVS.  Haven't had a chance to set
it up myself yet.  Definitely something for the TODO list.

-Rasmus


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Joe Stump

> http://www.linuxvirtualserver.org/

We use LVS on our website - it works great! We have 2 load balancers with the
HA package and 6 PHP webservers running behind it (with a central DB server).

In short, it's possible and works quite well. BTW We user FreeBSD for webservers
if that's any help (though linux, NT, solaris, etc would all work)

--Joe




> http://linas.org/linux/load.html
> 
> -Rasmus
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

-- 

Joe Stump, PHP Hacker
[EMAIL PROTECTED]
http://www.miester.org/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Rasmus Lerdorf

> this might be a very silly question, but folks in my
> company have now started asking some enterprise
> questions like "sure, we'll do php but how about load
> balancing?" i have a feeling that this can be achieved
> with some caching on apache? how can i achieve this?

Surely they don't expect a scripting language to be doing load balancing
for them?  There are dozens if not hundreds of ways to load balance your
web server.  Read some of these:

http://www.dmoz.org/Computers/Software/Internet/Site_Management/Load_Balancing/
http://www.linuxvirtualserver.org/
http://linas.org/linux/load.html

-Rasmus


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] load balancing with php/apache?

2001-01-13 Thread Tim Zickus

We use Cisco LocalDirector to do load balancing in our web cluster.  It's
very configurable and has worked very well (so far!).

- Tim

> this might be a very silly question, but folks in my
> company have now started asking some enterprise
> questions like "sure, we'll do php but how about load
> balancing?" i have a feeling that this can be achieved
> with some caching on apache? how can i achieve this?



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]