On Tue, 16 Aug 2011 09:35:42 -0700 (PDT) John Coryat <[email protected]> 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. That should be fine as long as your server can take a large spike (doesn't crash, mem, process, fw limits etc) and your app retries a new random server in case of a short timeout. Even if it does crash under load, an occasional server auto-reboot or process restart may be acceptable to you?. You see random means you should be just as likely to get 10 1s in a row as 1 to 10. It also means that at any moment all your apps may connect to one server and load is unlikely to be evenly distributed. The more apps you have the higher the chance of one server being overloaded. -- 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.
