When using multiple load balancers for multiple domains: 1. SNICallback in https is your friend for figuring out domains. 2. You will want to be grabbing data from a shared storage facility like a Database where you can replicate down to your balancers. This information will hold info on where to route requests, when to remove drones from the tables, and even info such as load averages ideally. 3. RoundRobin works better than you might think #2 is overkill usually. 4. Use IP hashes to determine consistently where your connection/session should go to, sending reconnect and session logic to 2 different drones can lead to bad behavior. 5. Terminate SSL for the love of all that is holy if you have already locked down your workers. 6. Save your routing tables in memory, don't go fetch from DB on every request. 7. Cluster + in memory state for apps, support nightmare 8. Multi-port apps, don't do it unless you are letting people drop their own load balancers.
-- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" 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/nodejs?hl=en?hl=en
