Converged LoadBalancer Overview

1,311 views

Published on

Overview of the Converged (SIP + HTTP) Load Balancer in SailFin. By Kshitiz Saxena

Published in: Technology
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
1,311
On SlideShare
0
From Embeds
0
Number of Embeds
8
Actions
Shares
0
Downloads
36
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide

Converged LoadBalancer Overview

  1. 1. SAILFIN WEBINAR Overview of Converged Load-Balancer Kshitiz Saxena CLB Eng. Lead, Sun Microsystems, Inc Converged Load-Balancer Overview 1
  2. 2. SAILFIN WEBINAR Agenda Why Converged Load Balancer ● Deployment Topology ● Heterogeneous Application Deployments ● What JavaEE developer needs to know ● Load Balancing Policies ● Health Detect Mechanism ● Configuration interface ● Demo ● References ● Converged Load-Balancer Overview 2
  3. 3. SAILFIN WEBINAR Why we need Converged Load Balancer SIP, Converged Applications ● Messages over Web path and SIP path need to be ● directed to same server replica. Multiple client invocations need to be directed to same ● server replica. SIP component can result in outgoing requests as well. ● Converged Load-Balancer Overview 3
  4. 4. SAILFIN WEBINAR Deployment Topology Converged Load-Balancer Overview 4
  5. 5. SAILFIN WEBINAR Deployment Topology Converged Load-Balancer Overview 5
  6. 6. SAILFIN WEBINAR Heterogeneous Application Deployments Pure JavaEE Web Applications, SIP Applications, ● Converged SIP and JavaEE Applications. Application Level Load Balancing. ● Load Balancing and Fail-over of pure Web App's over ● HTTP protocol. Converged Load Balancing and Fail-over of SIP, ● Converged App's over SIP and HTTP application protocol. Converged Load-Balancer Overview 6
  7. 7. SAILFIN WEBINAR What JavaEE developer needs to know Primarily needs to concentrate on building a distributable application using standard platform constructs. + Data Centric Rules Converged Load-Balancer Overview 7
  8. 8. SAILFIN WEBINAR Load Balancing policies Consistent Hash Algorithm ● Hash key is extracted from request using configured data- ● centric rules or default-headers Above hash key is used to pick which instance should ● service the request Requests mapping to unhealthy instances are failed over ● to other healthy instances Fail-over is restricted to cluster boundary ● Used for pure sip applications and converged applications ● Converged Load-Balancer Overview 8
  9. 9. SAILFIN WEBINAR Load Balancing policies(cont ...) Round Robin Algorithm ● Instance to service request are selected in round-robin ● fashion from a set of healthy instances Sticky requests are serviced by same instance if it is ● healthy Sticky requests for unhealthy instances are failed over ● to other healthy instances Fail-over is restricted to cluster boundary ● Used for pure web applications ● Converged Load-Balancer Overview 9
  10. 10. SAILFIN WEBINAR Health Check Mechanism CLB gathers cluster health information from Group ● Management Service(GMS) at startup CLB registers itself as listener for GMS events ● GMS propagates all cluster view change events to CLB ● Converged Load-Balancer Overview 10
  11. 11. SAILFIN WEBINAR Configuration interface CLI ● Sailfin user can create CLB using asadmin command ● asadmin > create-converged-lb --target <cluster- name> --autocommit=true --configfile <converged- load-balancer-xml> <converged-load-balancer-name> GUI ● Sailfin user can create CLB using admin GUI ● interface as well Converged Load-Balancer Overview 11
  12. 12. SAILFIN WEBINAR DEMO Converged Load-Balancer Overview 12
  13. 13. SAILFIN WEBINAR References Documentation : ● http://docs.sun.com/app/docs/doc/820-4287/gghcl? a=view Functional Specification : http://wiki.glassfish.java.net/ ● attach/FunctionalSpecsOnePagers/ConvergedLB- FSD.pdf Blog : ● http://blogs.sun.com/kshitiz/entry/converged_load_balan cer Converged Load-Balancer Overview 13
  14. 14. SAILFIN WEBINAR Thanks Kshitiz Saxena CLB Eng. Lead, Sun Microsystems, Inc Converged Load-Balancer Overview 14

×