overload in sip jonathan rosenberg cisco systems

7
Overload in SIP Jonathan Rosenberg Cisco Systems

Upload: winfred-richardson

Post on 24-Dec-2015

216 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: Overload in SIP Jonathan Rosenberg Cisco Systems

Overload in SIP

Jonathan Rosenberg

Cisco Systems

Page 2: Overload in SIP Jonathan Rosenberg Cisco Systems

Problem Definition

SIPClient

ProxyA

Proxy 1

Proxy 2

Proxy 3INVI

TE

INVITE

503

INVITE

ElementOverloaded

SIP allows request to be retriedat another server upon receipt of 503Can include Retry-After header sayingthat this server should be left alonefor some period of time

Page 3: Overload in SIP Jonathan Rosenberg Cisco Systems

Problem Definition

SIPClient

ProxyA

Proxy 1

Proxy 2

Proxy 3INVI

TE

INVITE

503

ElementOverloaded

When all elements are overloaded, 503 creates MORE trafficAmplified further by retransmits ofINVITE since 503 is delayed or lost

Page 4: Overload in SIP Jonathan Rosenberg Cisco Systems

Oscillation Problem 1

SIPClient

ProxyA

Proxy 1

Proxy 2

INVI

TE

INVITE

503 Retry After 20

ElementOverloaded

Proxy 1 is overloaded, rejects requestwith 503 and Retry After of 20 seconds,moving ALL work to proxy 2

Page 5: Overload in SIP Jonathan Rosenberg Cisco Systems

Oscillation Problem 2

SIPClient

ProxyA

Proxy 1

Proxy 2

INVI

TE

ElementOverloaded

Proxy 2 is now overloaded, and rejectsall work, even though proxy 1 is nowfreed up

INVITE

503

Page 6: Overload in SIP Jonathan Rosenberg Cisco Systems

Solution Requirements

• Keep throughput at a good level when elements are overloaded

• Failures should be isolated and not cause widespread outages

• Minimize configuration to work• Deal with malicious elements• Inform upstream elements of overload• Throttle upstream traffic in granular fashions• Fairness across upstream elements

Page 7: Overload in SIP Jonathan Rosenberg Cisco Systems

Sounds Familiar?

• Many of these are traditional congestion control issues, applied to the SIP application plane

• Input from TSV community is much desired!