[dispatch] SIP Load balancing (SIPLB) Charter proposal

"Parthasarathi R (partr)" <partr@cisco.com> Mon, 23 May 2011 15:04 UTC

Return-Path: <partr@cisco.com>
X-Original-To: dispatch@ietfa.amsl.com
Delivered-To: dispatch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 16D65E0781 for <dispatch@ietfa.amsl.com>; Mon, 23 May 2011 08:04:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.313
X-Spam-Level:
X-Spam-Status: No, score=-9.313 tagged_above=-999 required=5 tests=[AWL=-0.819, BAYES_00=-2.599, FH_RELAY_NODNS=1.451, HELO_MISMATCH_COM=0.553, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-8, RDNS_NONE=0.1]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id LVRUBRagku6q for <dispatch@ietfa.amsl.com>; Mon, 23 May 2011 08:04:29 -0700 (PDT)
Received: from ams-iport-1.cisco.com (unknown [144.254.224.140]) by ietfa.amsl.com (Postfix) with ESMTP id 07F20E0671 for <dispatch@ietf.org>; Mon, 23 May 2011 08:04:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=partr@cisco.com; l=18236; q=dns/txt; s=iport; t=1306163069; x=1307372669; h=mime-version:subject:date:message-id:from:to:cc; bh=I/jngSI9HGOuyEjeGNqixbvRq0eNXy9nXYfMMHNqhcU=; b=T58TuGEoI/U+9CJS+/MGWiL283EAPpJa7dqSV16WBNi2IMK01vGVkawd CoqlCzzK6zGaT96/EvgzK3Hj25Mz1B8Uc7+o7DcxBwm9guhre5nGQBIal hYMYgRjuu9K4gYaM3dQPhRQR5NKGchY/XNIHBTpXwJppk1RpQPAQ5UKyW M=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AigEAJF22k1Io8UQeGdsb2JhbACmJRQBF0umDJ0bgxQTgnIEhk6Ne4pF
X-IronPort-AV: E=Sophos; i="4.65,257,1304294400"; d="scan'208,217"; a="90215230"
Received: from bgl-core-1.cisco.com ([72.163.197.16]) by ams-iport-1.cisco.com with ESMTP; 23 May 2011 15:04:26 +0000
Received: from xbh-bgl-412.cisco.com (xbh-bgl-412.cisco.com [72.163.129.202]) by bgl-core-1.cisco.com (8.14.3/8.14.3) with ESMTP id p4NF4Qvb010749; Mon, 23 May 2011 15:04:26 GMT
Received: from xmb-bgl-411.cisco.com ([72.163.129.207]) by xbh-bgl-412.cisco.com with Microsoft SMTPSVC(6.0.3790.4675); Mon, 23 May 2011 20:34:25 +0530
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01CC195A.B4BE5DF8"
Date: Mon, 23 May 2011 20:34:24 +0530
Message-ID: <A11921905DA1564D9BCF64A6430A6239055B0A4F@XMB-BGL-411.cisco.com>
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
Thread-Topic: SIP Load balancing (SIPLB) Charter proposal
Thread-Index: AcwZVtBeNaZm1dRbQuqPlztWqYWALQAA7TCw
From: "Parthasarathi R (partr)" <partr@cisco.com>
To: dispatch@ietf.org
X-OriginalArrivalTime: 23 May 2011 15:04:25.0966 (UTC) FILETIME=[B4E688E0:01CC195A]
Subject: [dispatch] SIP Load balancing (SIPLB) Charter proposal
X-BeenThere: dispatch@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: DISPATCH Working Group Mail List <dispatch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dispatch>, <mailto:dispatch-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/dispatch>
List-Post: <mailto:dispatch@ietf.org>
List-Help: <mailto:dispatch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dispatch>, <mailto:dispatch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 23 May 2011 15:04:32 -0000

Hi all,
 
Charter proposal for SIP load balancing (SIPLB) is written in this mail
to create a new WG related to SIP based load balancing.
 
There are lot of interest in SIP load balancing work during the time of
IETF-80 and the side meeting leads to the creation of this charter.
There are lot of draft submitted in Dispatch related to this work and
the list is as follows:
 
[1]http://tools.ietf.org/html/draft-bessis-dispatch-adaptive-load-balanc
ing-00
[2]http://tools.ietf.org/html/draft-jones-sip-overload-sce-00
[3]http://tools.ietf.org/html/draft-partha-dispatch-sip-media-overload-c
ontrol-00
 
To make the progress in the work, the charter currently focus on two
types of SIP based load balancing namely signaling only SIP load
balancing and Media-related SIP based load balancing. 
 
Please provide your value inputs and comments in the below charter.
 
Thanks
Vijay/Partha
 
SIP Load balancing (SIPLB) Charter
----------------------------------
 
Session Load balancing (SIPLB) working group is chartered to define a 
SIP-based protocol for load balancing SIP sessions.
 
Load balancing across a farm of SIP servers can be done today, but
without 
generally agreed upon principles on how to best do accomplish this.
Confounding the problem is that a SIP farm may consist of hosts with 
varying capabilities, example, a SIP proxy, a back-to-back user agent 
(B2BUA), a public-switched telephone system (PSTN) gateway, SIP Media 
servers etc. The capabilities and processing capacity on hosts in the
farm 
may be different, sometimes vastly, from each other.  Furthermore, the 
duration of time that a SIP host requires to process a SIP request 
may vary. SIP proxies, operating at the transaction layer, may be 
more efficient at processing transactions than a B2BUA would be, 
which may need to maintain a long-lived dialogue state in addition to 
the transaction state.  PSTN gateways may have other limitations such 
as media resources that may be depleted even though the gateway may 
have enough processing power (i.e., CPU) to handle incoming requests.
 
In face of such diversity, simple load balancing schemes based on 
round-robin selection tend to work only when many assumptions are met.
First, the relative capacity and processing resources of all SIP servers

in the farm should be nearly equal.  Furthermore, because a round-robin 
scheme presents a load of (1/n)*N to each server, where n = number of 
servers and N = arrival rate in requests per second, it assumes that 
the service time at each server is such that the utilization of each 
server is not negatively impacted (i.e., utilization ratio of the
arrival 
rate over the mean service rate is less than 1.0).  And finally, 
the round-robin load balancing does not have a backward feedback
mechanism 
whereby the load-balanced server can inform the load balancer of its 
current utilization (i.e., round-robin load balancing acts as an
open-loop 
controller).
 
The SIP load balancing working group is, therefore, chartered to 
arrive at a load balancing scheme that distributes SIP requests to 
a collection of servers to effectively utilize the resources at those 
servers. These resources can include CPU, memory, network bandwidth, 
input/output, DSP, DS0 or disk resources.  The load balancing
scheme must prevent excessive oscillation in the collection of
servers.
 
In order to achieve such a load balancing scheme in practice, the
following 
considerations must be taken in account:
 
1) Should the load balancing scheme have a closed-loop model, i.e., 
should it report utilization to the load balancer to allow the 
load balancer to distribute requests proportionally?
 
2) What should the diversity of the SIP hosts in a farm be?  Is 
it reasonable to assume that the same load balancing scheme should 
be applicable to a pair of SIP servers, one of which can handle 
an order of magnitude more requests per unit time that the other?
 
3) What information must be provisioned into the load balancer and 
the servers?
 
4) As SIP request resource consumption in SIP signaling only server 
varies drastically from SIP media servers, should the solution be 
split such that load balancing of a pure signaling server is different 
than that of a SIP server that handles signaling as well as media?
 
The last consideration above is especially important since a solution
to load balancing a media farm will require a model where the SIP 
load balancer is closely coupled with the downstream SIP servers.
In such a model, the SIP load balancer knows the resources available
at each of the downstream SIP servers and is able to inspect an
incoming request to determine its media-related requirements and thus
dispatch it to the downstream SIP server that has the highest
probability of servicing that request.  In some architectures, such
a coupling reduces post-dial delay.  
 
Keeping the SIP load balancer and the downstream SIP servers 
loosely coupled suffices for load balancing to a farm of SIP
servers that only handle signaling.  A loosely coupled model
operates purely on the feedback received from the downstream
SIP servers and does not require the SIP load balancer to inspect
an incoming request.
 
Any solution needs to clearly specify its scope.  A solution also 
needs to clearly state any limitations, in performance or otherwise, 
the specified load balancing mechanism may have.  In particular, 
the solution shall carefully define the deployment considerations for 
the effective operation of the specified mechanisms and discuss, 
for example, when a mechanism requires coordinated deployment and 
operation (if all servers need to deploy the same mechanism, certain 
configuration values need to be identical on all servers, etc.), when 
a mechanism can become less effective or ineffective under some
conditions, 
or especially if there are cases when a mechanism these considerations 
is to allow potential deployments to make the best use of these
mechanism in 
their particular networks.
 
SIPLB Working Group will thoroughly identify use cases, provide example 
design & system architectures and deployment scenarios, and 
define requirements.
 
The group will produce:
 
1) Use case and requirement document.
2) A document surveying SIP load balancing strategies in use today.
3) An architecture document showing sample SIP topologies.
4) Specification for SIP based overload scheme applicable to a 
   signaling-only SIP server.
5) Specification for SIP based overload scheme applicable to a
   media-based SIP server.
 
Goals and Milestones
Mar 2012  Survey document for SIP load balancing strategies to IESG
          as an Informational document.
Jun 2012  Use cases and requirement document to IESG as an Informational
          document.
Aug 2012  Design & Architecture to IESG as Informational RFC
Feb 2013  Submit signaling based SIP overload solution to IESG as 
          Proposed Standard RFC 
Feb 2013  Submit signaling and media based SIP overload solution to 
          IESG as Proposed Standard RFC