On 8/16/2011 10:35 AM, John Coryat wrote:
> Essentially, what I do for load balancing is to randomly select a
> server to use for the client session. That will guarantee (or just
> about) an even distribution of requests to the servers. It seems to
> work and I've used this method for years on web apps successfully.

This is water-cooler discussion, right? So it's OK we've gone off-topic? ;)

The reason you want server-side load balancing is that you can scale
dynamically, without updating your app. The easiest (though not best) is
to use load balancing DNS. Say your server is at
"android.johncoryat.com". The DNS can be set up to return one of a dozen
IP addresses when that address is queried.

A much better way to go, if your servers are on Linode, is to use their
new "NodeBalancer" service:

http://blog.linode.com/2011/07/13/introducing-nodebalancer/

It looks like you can use it to take servers out of rotation for
upgrades without affecting users. I haven't used it, but everything I've
heard and experienced relating to Linode has been awesome. And no I'm
not getting anything from recommending them.

Tim

-- 
You received this message because you are subscribed to the Google Groups 
"Android Discuss" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/android-discuss?hl=en.

Reply via email to