Sureshkumar V. Subramanian Rudra Dutta Measuring SIP Proxy Server Performance Measuring SIP Proxy Server Performance Sureshkumar V. Subramanian • Rudra Dutta Measuring SIP Proxy Server Performance 123 SureshkumarV.Subramanian RudraDutta CiscoSystems,Inc DepartmentofComputerScience Raleigh,NC,USA NorthCarolinaStateUniversity Raleigh,NC,USA ISBN978-3-319-00989-6 ISBN978-3-319-00990-2(eBook) DOI10.1007/978-3-319-00990-2 SpringerNewYorkHeidelbergDordrechtLondon LibraryofCongressControlNumber:2013943278 ©SpringerInternationalPublishingSwitzerland2013 Thisworkissubjecttocopyright.AllrightsarereservedbythePublisher,whetherthewholeorpartof thematerialisconcerned,specificallytherightsoftranslation,reprinting,reuseofillustrations,recitation, broadcasting,reproductiononmicrofilmsorinanyotherphysicalway,andtransmissionorinformation storageandretrieval,electronicadaptation,computersoftware,orbysimilarordissimilarmethodology nowknownorhereafterdeveloped.Exemptedfromthislegalreservationarebriefexcerptsinconnection with reviews or scholarly analysis or material supplied specifically for the purpose of being entered and executed on a computer system, for exclusive use by the purchaser of the work. Duplication of this publication or parts thereof is permitted only under the provisions of the Copyright Law of the Publisher’slocation,initscurrentversion,andpermissionforusemustalwaysbeobtainedfromSpringer. PermissionsforusemaybeobtainedthroughRightsLinkattheCopyrightClearanceCenter.Violations areliabletoprosecutionundertherespectiveCopyrightLaw. Theuseofgeneraldescriptivenames,registerednames,trademarks,servicemarks,etc.inthispublication doesnotimply,evenintheabsenceofaspecificstatement,thatsuchnamesareexemptfromtherelevant protectivelawsandregulationsandthereforefreeforgeneraluse. While the advice and information in this book are believed to be true and accurate at the date of publication,neithertheauthorsnortheeditorsnorthepublishercanacceptanylegalresponsibilityfor anyerrorsoromissionsthatmaybemade.Thepublishermakesnowarranty,expressorimplied,with respecttothematerialcontainedherein. Printedonacid-freepaper SpringerispartofSpringerScience+BusinessMedia(www.springer.com) To myparentsfortheirguidanceand affection To allmyteachers,lecturers,andprofessors forsharingtheirknowledgeand intelligence To mywife, Gayathri,forher endlesslove, encouragement,and motivation To mykids,ShobanaandShravan,for their understandingand support –Suresh About the Authors SureshkumarV. Subramanianis currently workingas a Senior Software Engineer in the Systems Development Unit (SDU) at Cisco Systems in Research Triangle Park, North Carolina. He has worked in various Software System development engineeringrolesintelecommunicationandnetworkingtechnologycompaniessuch as NEC America Inc., Tekelec Inc., Nortel Networks, Lucent Technologies, and Cisco Systems for the past 23 years. Suresh presented and published technical researchpapersin IEEE conferencesrelated to SIP proxyserverperformance.He receivedhisPh.D. in ComputerScience fromNorthCarolina State University.He liveswithhiswifeandtwochildreninRaleigh,NorthCarolina. Rudra Dutta was born in Kolkata, India, in 1968.After completingelementary schoolingin Kolkata,he receiveda B.E. in ElectricialEngineeringfrom Jadavpur University, Calcutta, India, in 1991; a M.E. in Systems Science and Automation from the Indian Institute of Science, Bangalore, India, in 1993; and a Ph.D. in Computer Science from North Carolina State University, Raleigh, USA, in 2001. From 1993 to 1997 he worked for IBM as a software developerand programmer in various networking-related projects. From 2001 to 2007, he was employed as AssistantProfessor,andsince2007,hehasbeenemployedasAssociateProfessor,in thedepartmentofComputerScienceattheNorthCarolinaStateUniversity,Raleigh. During the summer of 2005, he was a visiting researcher at the IBM WebSphere TechnologyInstitutein RTP, NC, USA. He is marriedwith two childrenandlives in Cary, North Carolina, with his family. His father and his sister’s family live in Kolkata,India. vii Preface The wide-scale deployment of Internet combined with several advancements in hardwareandsoftwaretechnologiescreatedopportunitiesforseveralInternet-based applications such as Voice over IP (VoIP) that involves the delivery of voice, video, and data to the end user. In recent years, Internet Protocol (IP) telephony has been a real alternative to the traditionalPublic Switched Telephone Networks (PSTNs). The IP telephony offers more flexibility in the implementation of new featuresandservices.TheSession InitiationProtocol(SIP)is becominga popular signaling protocol for Voice over IP (VoIP)-based applications. SIP is a peer-to- peer multimedia-signalingprotocolstandardizedby the InternetEngineeringTask Force (IETF) that plays a vital role in providing services to IP telephony. The SIP proxy server is a software application that provides call routing services by parsing and forwarding all the incoming SIP packets in an IP telephony network. The efficiency of this process can create large-scale, highly reliable packet voice networks for service providers and enterprises. We established that the efficient designandimplementationoftheSIPproxyserverarchitecturecouldenhancethe performance characteristics of a SIP proxy server significantly. Since SIP proxy serverperformancecanbecharacterizedbyitstransactionstatesofeachSIPsession, we emulated the M/M/1 performancemodel of the SIP proxyserver and studied someofthekeyperformancebenchmarkssuchasaverageresponsetimetoprocess theSIPcallsandmeannumberofSIPcallsinthesystem.Weshoweditslimitations andprovidedanalternativeanalyticalsolutionbasedonM/D/1modelinourfirst partoftheresearch.Later,basedonthelatestadvancementinsoftwareengineering and networkingtechnologies, we studied another M/M/c-based SIP proxy server performancemodel with enhancedperformanceand predictable results. Then, we studiedtheperformanceandscalabilityoftheSIPproxyserver,whenthecallsare routed through local and wide area networks. Finally, we expanded the research furtherto evaluatethe performanceimpactsof theSIPproxyserverwhensecured ix