/ Zope / Apsis / Pound Mailing List / Archive / 2006 / 2006-03 / Load balancing with distant servers

[ << ] [ >> ]

[ Error in my logs. I hope someone can help / ... ] [ monitor thread problem? / "Sergio ... ]

Load balancing with distant servers
Sietjp <sietjp(at)free.fr>
2006-03-09 12:25:40 [ FULL ]
Hi,

I have a stupid question but I want to be sure.
I rent a dedicated server where my website is hosted. I have peak of traffics
for this websiet depending on links over the internet so I wander if I could
use my home computer as a temporarly server when the main server is overloaded.

As my home compiter is very far from the main server, I wander if tis kind of
config will be helpful for the main server.

For example if I decide to serve all images from my home computer, what will be
the trip done by an image file ?

A) User > request image on pound > pound request image on home computer
> home
computer send image to User

B) User > request image on pound > pound request image on home computer
> home
computer send image to pound > pound send image to User

If the solution is A I guess it can be helpful if not I guess it's useless?

Thanks for your help

JP

Re: [Pound Mailing List] Load balancing with distant servers
Robert Segall <roseg(at)apsis.ch>
2006-03-09 12:52:12 [ FULL ]
On Thu, 2006-03-09 at 12:25 +0100, Sietjp wrote:[...]

Either solution is feasible with version 2.x. You can have Pound contact
your home computer, retrieve the data and send it to the user. In this
case your home computer serves as a regular back-end.

You can also have Pound reply with a redirect, in which case the image
is retrieved directly from your machine.

Finally, I don't think solution B is useless: if your regular back-end
is indeed overloaded you gain the additional processing power of another
machine - bandwidth allowing.[...]

Re: [Pound Mailing List] Load balancing with distant servers
Sietjp <sietjp(at)free.fr>
2006-03-09 13:33:02 [ FULL ]
Thanks a lot for your clear answer Robert.
I don't know how you can handle all this work for the community. Many many
thanks.


Selon Robert Segall <roseg(at)apsis.ch>:
[...]

MailBoxer