-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Tim Post schreef:
> It really depends. For most situations, I try to make sure that the site
> operator has to make only minimal (if any) changes to their code.
> Sometimes sessions can be problematic, other times the application
> itself must have at least one shared mount for certain configuration
> files or other temporary data.

True, but I think that is usually PHP related. And where session data
essencially could be shared.

> This works well for me:
> 
>                          [ CVIP ]

Are you using a Cluster Virtual IP adres in Master-Slave, or are you
able to use the left hand and right hand crossroads instance (with their
respectable cherokee instances)?

>                          /      \
>                [ crossroads]   [ crossroads ]
>              /    \                  /       \
>    [ cherokee ] [ cherokee ]  [ cherokee ] [ cherokee ] 
>       /   \       /    \      /     |    \     /     \
>   [    ] [   ] [   ] [   ]  [   ] [   ] [   ] [   ] [   ]
>  [                fcgi-php as you noted prior            ]
> 
> It is relatively easy to scale and / or package as virtual appliances to
> be deployed on a farm. There are many other options other than
> crossroads for load balancing too.

Yup, that was the idea here too. Until Xen is ready, the idea was just
to package components as VMware instances. In that configuration an
Master-Slave config does not really hurt.

> Also note, each LB should be balancing over all 4 cherokee nodes ..
> which is not depicted because its just an ad hoc ascii drawing in an
> e-mail. The same goes for cherokee -> fcgi servers.

So basically the only 'redudant' part is the [ crossroads ] instance,
the rest is 'reused' by both of them :)


> Also notable, in my experience PHP / Cherokee is not the usual culprit
> when things get 'hot' .. its usually MySQL being sluggish causing PHP to
> live much longer than it should resulting in prolonged connections all
> the way down the pipe.

I was thinking to test the Cherokee MySQL balancer with PHP language
support :) :) :) I am able to deploy two servers so that could be nice.



Thanks for your email, you really gave me some nice ideas. (Or basically
forced me to think out of the box because no real 'hardware' is involved.)


Stefan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEAREKAAYFAkjlimkACgkQYH1+F2Rqwn1qtACfZPCHgTAAiDZr6TU9yOI1/i/w
nZsAn2kYRQBXAh/B4CpPBE3mp2mBQZuu
=6iEi
-----END PGP SIGNATURE-----
_______________________________________________
Cherokee mailing list
[email protected]
http://lists.octality.com/listinfo/cherokee

Reply via email to