SlideShare a Scribd company logo
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 
_______________________________________________________________________________________ 
Volume: 03 Issue: 08 | Aug-2014, Available @ http://www.ijret.org 5 
PERFORMANCE IN SOA CONTEXT Sudheer Doodi1, Mohd Fahimuddin2 1Bangalore, India 2Bangalore, India Abstract Service Oriented Architecture (SOA) is a new software development paradigm where application is developed in distinct pieces, providing functionality as a service to other applications, internal and external. Though SOA has many benefits like Loose coupling, incremental implementation, high business agility, reduced lead time, reduces cost, reduced risk and new opportunities to deliver values, some of these benefits also introduce performance overhead. For smaller systems with small number of services and small number of users, this performance hit may be minimal. However, maintaining required performance levels for large SOA implemented systems is big challenge. In this paper, we will discuss the SOA concepts, its architectural style, attributes, performance advantages and disadvantages of SOA and techniques to improve the performance of SOA. Keywords: Service Oriented Architecture (SOA), service-level-agreements (SLA), Extensible markup language (XML), JavaScript object Notation (JSON), Representational State Transfer (REST), Simple Object Access Protocol (SOAP). 
---------------------------------------------------------------------***-------------------------------------------------------------------- 1. INTRODUCTION 
SOA is an architecture for building application as a set of loosely coupled components called services. SOA is been evolved in all fields of engineering, for example, in a traditional music player everything is tightly integrated, where as in latest music players each part – speakers, cassette player, DVD player, amplifier are independent, they are assembled to form a music player, each of this parts play as service in assembled player. Evolutions in software engineering begin from procedural to structure to object- oriented to component based programming and now to service oriented over the years. Each evolution comes with an abstraction building on the previous and SOA applies best of object and component development thus gives higher level of abstraction. A SOA application mainly comprises of a service provider and a service consumer, service consumer could be a web application or any other service as well, that depends on this service component to do its job. Key idea behind SOA is to divide the application into small pieces so these components run on multiple servers as separate services. Combination of all services form a platform to serve internal and external users. 2. ATTRIBUTES OF SOA A SOA service is an independent business logic, following are the attributes of a service in SOA. Stateless: SOA services neither records last activity done nor care about the next. Services are concise to its functionality making it independent of the context or state of other services. 
Discoverable: Needy consumers of the service must be able to discover it easily otherwise it is unlikely to be used. SOA service directory maintained by service providers is the best place to publish the service. 
Self-describing: The SOA service interface must describe, expose and provide all aspects of a service i.e. an entry point. The interface camouflages all technical implementation of a service but providing information a consumer needs to discover and consume it. Composable: SOA services are, by nature, composite. New business solutions can be achieved by composing one or more services in SOA. Loose coupling: Loose coupling separates the concerns of an application into independent pieces. Which in turn provides a process for services to call one another without being tightly bound. Boundaries establishment help in separation of concerns, where a boundary is any separation (logical or physical) that serves a given set of responsibilities. Governed by policy: Services are built by contract. Relationships between service domains and services are controlled by policies and service-level-agreements (SLAs), providing process consistency and reducing complexity. Location, language, and protocol Independent: Services are engineered to be protocol, location and platform independent. Which makes them accessible by any authorized user, any platform and from any location.
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 
_______________________________________________________________________________________ 
Volume: 03 Issue: 08 | Aug-2014, Available @ http://www.ijret.org 6 
3. SOA ARCHITECTURE 
Fig 1 Basic SOA Architecture The above figure illustrates a basic service oriented architecture. It shows a service provider on the left and service consumer on the right. Service consumer sending a service request message to service provider, service provider process the request based on input parameters then forms a response, which is sent back to service consumer. The request and response messages are understandable to both the service consumer and service provider. 4. NON-FUNCTIONAL PERFROMANCE ADVANTAGES OF SOA High Scalability: Since each service component is independent to each other, they can easily clustered across many servers with appropriate load balancing, hence the SOA systems are highly scalable. Higher Availability: High availability can be achieved by introducing redundancy in SOA components using clustering, with SOA’s logical decoupling facility this can easily done, so SOA allows to design a very resilient system. 5. NON-FUNCTIONAL PERFORMANCE DISADVANTAGES OF SOA Latency: Service Oriented Architecture involves distributed processing, hence it is network centric. Service provider and service consumer are usually in different servers, often on different machines and different data centers. The messages that exchange over network to provide service increases the overall response time. Networks used for SOA are mostly internet which do not guarantee latency. Therfore, SOA is not feasible for real-time systems and presents challenges for near real-time systems. Bandwidth: SOA is prone to consume more bandwidth in terms of headers and additional tags which come as part of service responses. Lookup: The service consumer sometimes requires an extra call to a directory of services to locate the desired service. This extra call is an overhead and increases the total time needed to perform the transaction. 
Processing: The data transmission in services is done in forms of XML or JSON technology. These creates additional overhead in processing of data. Processing consists of at least three activities, parsing, validation and transformation which are CPU and memory intensive. 
Security: Providing security for each service call is an additional overhead in SOA. Connections: SOA is highly clustered architecture where each cluster has its own set of open connections to database or directory services, which in turn impacts the end application performance. 6. TECHNIQUES TO IMPROVE PERFORMANCE 
Code for Performance: There are a various programming techniques that can improve SOA application performance. 
a. Application should be designed to use appropriate calls. As client and service are not sitting on same computer or even in the same datacenter, there could be a great distance between them, so avoid making frequent calls to SOA service. Lesser the calls from client to service layer, the better the performance. Choose your calls in such a way that more work can be done in one call instead of multiple calls to do the same work. 
b. Make asynchronous web method calls. 
c. While forming response, data provided should be precise and compact, which means no irrelevant data should be sent. 
Choose right interaction style: Representational State Transfer (REST) has better response times and throughput than Simple Object Access Protocol (SOAP) 
Combining prudent loose coupling with calculated tight coupling: The Simplistic implementation of SOA is to develop as many loosely coupled services to provide required functionality. The fact is loose coupling introduces extra calls overhead, while tight coupling can smooth out bottlenecks. 
So design your SOA in way of providing loose coupling only as much as it needs. 
Apply Caching, pre-fetching and messaging techniques at the macro level. 
7. CONLUSIONS For web applications, decoupling along functional requirements may lead to an increase in network latency, decrease in throughput, and consequently a negative impact on performance. In other words, a service-oriented architecture may not be seen as a performance oriented architecture.
IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 
_______________________________________________________________________________________ 
Volume: 03 Issue: 08 | Aug-2014, Available @ http://www.ijret.org 7 
If you want to have high performing application, then a loosely coupled SOA, while beneficial in terms of system maintenance, management and evolution, may turn out to have unsatisfactory performance. One might argue that performance is lacking because the system was not decomposed in the best possible way, but the more you draw lines to make it service oriented the more it is going to impact the performance. To achieve performance oriented architecture with service oriented mindset then it is good idea to tune the critical subsystems with a performance oriented mindset. We do not suggest to replace SOA with POA across but pay attention to isolated functionality that would benefit from performance oriented architecture. REFERENCES 
[1]. Liam O’Brien, Len Bass, Paulo Merson, Quality Attributes and Service-Oriented Architectures, CMU,SEI- 2005-TN-014 
[2]. Understanding Service-Oriented Architecture by David Sprott and Lawrence Wilkes,http://msdn.microsoft.com/en- us/library/aa480021.aspx 
[3]. How service-oriented architecture (SOA) impacts yourIT infrastructure, http://public.dhe.ibm.com /software/solutions/soa/pdfs/wp_how-soa-impacts-your-it- infrastructure.pdf 
[4]. Service-Oriented Architecture (SOA) Definition, http://www.service-architecture.com/articles/web- services/service-oriented_architecture_soa_definition.html 
[5]. Six Strategies for Building High Performance SOA Applications by Uwe Breitenb cher, Oliver Kopp, Frank Leymann, Michael Reiter, Dieter Roller, and Tobias Unger,ceur-ws.org, vol 847,paper 16. 
[6]. S.Neelavathi and K.Vivekanandan , An Innovative Quality of Service (QOS) based Service Selection for Service Orchrestration in SOA, An Innovative Quality of Service (QOS) based Service Selection for Service Orchrestration in SOA 
[7]. Vikas Anand, Oracle, ODTUG, Kscope11, Tuning Your SOA Infrastructure for Performance and Scalability.

More Related Content

What's hot (20)

PDF
2011-ESB-WP-Draft
Brian Taylor
 
PDF
Performance Prediction of Service-Oriented Architecture - A survey
Editor IJCATR
 
DOCX
Part II - Summary of service oriented architecture (SOA) concepts, technology...
Mohammed Omar
 
PPT
Soa chapter 5
Amar Nath Dsilva
 
PPTX
Middleware Technologies ppt
OECLIB Odisha Electronics Control Library
 
PDF
SOA Service-oriented Architecture Fundamentals IBM Certification
Jaguaraci Silva
 
ODP
Service oriented architecture 27 May 2014
Khawar Nehal [email protected]
 
PPTX
Lecture 04 - Loose Coupling
phanleson
 
PDF
SDN Federation White Paper
Brian Hedstrom
 
DOC
integeration
Shuaibullah Abbasi
 
PDF
A NOVEL APPROACH FOR EXCEPTION HANDLING IN SOA
cscpconf
 
PPTX
Service oriented architecture characteristics of soa
smithaps4
 
PPTX
SOA Princples : 7. service autonomy
Mohamed Zakarya Abdelgawad
 
PPTX
SOA Course - Next Generation
Mohamed Zakarya Abdelgawad
 
PPTX
SOA Principles : 8. service statelessness
Mohamed Zakarya Abdelgawad
 
PPTX
SOA Principles : 4.service loose coupling
Mohamed Zakarya Abdelgawad
 
PPTX
The Middleware technology that connects the enterprise
Kasun Indrasiri
 
PPTX
1. soa design pattern introduction
Mohamed Zakarya Abdelgawad
 
PDF
Review on “service granularity in service oriented
eSAT Publishing House
 
PPT
EAI (Integration) and Mulesoft
Ponviknesh Sivakumar
 
2011-ESB-WP-Draft
Brian Taylor
 
Performance Prediction of Service-Oriented Architecture - A survey
Editor IJCATR
 
Part II - Summary of service oriented architecture (SOA) concepts, technology...
Mohammed Omar
 
Soa chapter 5
Amar Nath Dsilva
 
Middleware Technologies ppt
OECLIB Odisha Electronics Control Library
 
SOA Service-oriented Architecture Fundamentals IBM Certification
Jaguaraci Silva
 
Service oriented architecture 27 May 2014
Khawar Nehal [email protected]
 
Lecture 04 - Loose Coupling
phanleson
 
SDN Federation White Paper
Brian Hedstrom
 
integeration
Shuaibullah Abbasi
 
A NOVEL APPROACH FOR EXCEPTION HANDLING IN SOA
cscpconf
 
Service oriented architecture characteristics of soa
smithaps4
 
SOA Princples : 7. service autonomy
Mohamed Zakarya Abdelgawad
 
SOA Course - Next Generation
Mohamed Zakarya Abdelgawad
 
SOA Principles : 8. service statelessness
Mohamed Zakarya Abdelgawad
 
SOA Principles : 4.service loose coupling
Mohamed Zakarya Abdelgawad
 
The Middleware technology that connects the enterprise
Kasun Indrasiri
 
1. soa design pattern introduction
Mohamed Zakarya Abdelgawad
 
Review on “service granularity in service oriented
eSAT Publishing House
 
EAI (Integration) and Mulesoft
Ponviknesh Sivakumar
 

Viewers also liked (18)

PPTX
Art bank presentation-cards
ART BANK
 
PPTX
Word Weavers 10th Anniversary
Word Weavers- Toastmasters of Wiesbaden
 
PPTX
Website development by goigi
goiginivedita
 
PDF
Multilevel authentication using gps and otp techniques
eSAT Publishing House
 
PDF
Security threats and detection technique in cognitive
eSAT Publishing House
 
PDF
Sheikh Zayed Medical College (SZMC) Rahim Yar Khan Merit List 2014
Rana Waqar
 
PPTX
Spain 1st day powerpoint
Shafonda Spain
 
DOCX
Module For Mathematics
jrbt2014
 
PDF
Training module engine (4)
ashutosh dash
 
PDF
Ech a novel multilevel thresholding technique for minutiae based fingerprint ...
eSAT Publishing House
 
PPTX
Factores de riesgo, efectos de salud y como controlarlos
Johandres_c
 
PDF
Application of passive harmonic filters to mitigate
eSAT Publishing House
 
PPTX
Mobile application development by goigi
goiginivedita
 
PPTX
Under Lake Norman: Crowdsourcing at th Davidson College Archives
Caitlin Christian-Lamb
 
PPTX
HOUSE OF HI-RES!
biancacourtenay
 
PPTX
presentasi kom.Daring
alisoebkhan232
 
PDF
An axisymmetric bending analysis of functionally
eSAT Publishing House
 
DOCX
2014 15 product list
patimpex
 
Art bank presentation-cards
ART BANK
 
Word Weavers 10th Anniversary
Word Weavers- Toastmasters of Wiesbaden
 
Website development by goigi
goiginivedita
 
Multilevel authentication using gps and otp techniques
eSAT Publishing House
 
Security threats and detection technique in cognitive
eSAT Publishing House
 
Sheikh Zayed Medical College (SZMC) Rahim Yar Khan Merit List 2014
Rana Waqar
 
Spain 1st day powerpoint
Shafonda Spain
 
Module For Mathematics
jrbt2014
 
Training module engine (4)
ashutosh dash
 
Ech a novel multilevel thresholding technique for minutiae based fingerprint ...
eSAT Publishing House
 
Factores de riesgo, efectos de salud y como controlarlos
Johandres_c
 
Application of passive harmonic filters to mitigate
eSAT Publishing House
 
Mobile application development by goigi
goiginivedita
 
Under Lake Norman: Crowdsourcing at th Davidson College Archives
Caitlin Christian-Lamb
 
HOUSE OF HI-RES!
biancacourtenay
 
presentasi kom.Daring
alisoebkhan232
 
An axisymmetric bending analysis of functionally
eSAT Publishing House
 
2014 15 product list
patimpex
 
Ad

Similar to Performance in soa context (20)

PDF
Contemporary research challenges and applications of service oriented archite...
Dr. Shahanawaj Ahamad
 
PPTX
Service Oriented Architecture.pptx
siddharth246936
 
PDF
International Journal of Software Engineering & Applications(IJSEA)
sebastianku31
 
PDF
MULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAAS
ijseajournal
 
DOCX
What is service
Gudissa Gabissa
 
DOCX
Study on Use Case Model for Service Oriented Architecture Development
ijbuiiir1
 
PDF
Study on Use Case Model for Service Oriented Architecture Development
ijwtiir
 
DOCX
Study on Use Case Model for Service Oriented Architecture Development
ijcnes
 
PDF
BUSINESS SILOS INTEGRATION USING SERVICE ORIENTED ARCHITECTURE
IJCSEA Journal
 
PDF
M017258892
IOSR Journals
 
PDF
Continuous Testing of Service-Oriented Applications Using Service Virtualization
iosrjce
 
PDF
542 546
Editor IJARCET
 
PDF
Evaluation of a Framework for Integrated Web Services
IRJET Journal
 
PPTX
Service Oriented Computing
Aie Sa
 
PDF
Cc unit 2 updated
Dr. Radhey Shyam
 
DOCX
service orentation documentation
pavan nani
 
PDF
Welcome to International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
PPT
Unit III.ppt
Balasubramanian699229
 
PPTX
SERVICE ORIENTED ARCHITECTURE Software.pptx
ibadcui
 
Contemporary research challenges and applications of service oriented archite...
Dr. Shahanawaj Ahamad
 
Service Oriented Architecture.pptx
siddharth246936
 
International Journal of Software Engineering & Applications(IJSEA)
sebastianku31
 
MULTIVIEW SOA : EXTENDING SOA USING A PRIVATE CLOUD COMPUTING AS SAAS AND DAAS
ijseajournal
 
What is service
Gudissa Gabissa
 
Study on Use Case Model for Service Oriented Architecture Development
ijbuiiir1
 
Study on Use Case Model for Service Oriented Architecture Development
ijwtiir
 
Study on Use Case Model for Service Oriented Architecture Development
ijcnes
 
BUSINESS SILOS INTEGRATION USING SERVICE ORIENTED ARCHITECTURE
IJCSEA Journal
 
M017258892
IOSR Journals
 
Continuous Testing of Service-Oriented Applications Using Service Virtualization
iosrjce
 
Evaluation of a Framework for Integrated Web Services
IRJET Journal
 
Service Oriented Computing
Aie Sa
 
Cc unit 2 updated
Dr. Radhey Shyam
 
service orentation documentation
pavan nani
 
Welcome to International Journal of Engineering Research and Development (IJERD)
IJERD Editor
 
Unit III.ppt
Balasubramanian699229
 
SERVICE ORIENTED ARCHITECTURE Software.pptx
ibadcui
 
Ad

More from eSAT Publishing House (20)

PDF
Likely impacts of hudhud on the environment of visakhapatnam
eSAT Publishing House
 
PDF
Impact of flood disaster in a drought prone area – case study of alampur vill...
eSAT Publishing House
 
PDF
Hudhud cyclone – a severe disaster in visakhapatnam
eSAT Publishing House
 
PDF
Groundwater investigation using geophysical methods a case study of pydibhim...
eSAT Publishing House
 
PDF
Flood related disasters concerned to urban flooding in bangalore, india
eSAT Publishing House
 
PDF
Enhancing post disaster recovery by optimal infrastructure capacity building
eSAT Publishing House
 
PDF
Effect of lintel and lintel band on the global performance of reinforced conc...
eSAT Publishing House
 
PDF
Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...
eSAT Publishing House
 
PDF
Wind damage to buildings, infrastrucuture and landscape elements along the be...
eSAT Publishing House
 
PDF
Shear strength of rc deep beam panels – a review
eSAT Publishing House
 
PDF
Role of voluntary teams of professional engineers in dissater management – ex...
eSAT Publishing House
 
PDF
Risk analysis and environmental hazard management
eSAT Publishing House
 
PDF
Review study on performance of seismically tested repaired shear walls
eSAT Publishing House
 
PDF
Monitoring and assessment of air quality with reference to dust particles (pm...
eSAT Publishing House
 
PDF
Low cost wireless sensor networks and smartphone applications for disaster ma...
eSAT Publishing House
 
PDF
Coastal zones – seismic vulnerability an analysis from east coast of india
eSAT Publishing House
 
PDF
Can fracture mechanics predict damage due disaster of structures
eSAT Publishing House
 
PDF
Assessment of seismic susceptibility of rc buildings
eSAT Publishing House
 
PDF
A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...
eSAT Publishing House
 
PDF
Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...
eSAT Publishing House
 
Likely impacts of hudhud on the environment of visakhapatnam
eSAT Publishing House
 
Impact of flood disaster in a drought prone area – case study of alampur vill...
eSAT Publishing House
 
Hudhud cyclone – a severe disaster in visakhapatnam
eSAT Publishing House
 
Groundwater investigation using geophysical methods a case study of pydibhim...
eSAT Publishing House
 
Flood related disasters concerned to urban flooding in bangalore, india
eSAT Publishing House
 
Enhancing post disaster recovery by optimal infrastructure capacity building
eSAT Publishing House
 
Effect of lintel and lintel band on the global performance of reinforced conc...
eSAT Publishing House
 
Wind damage to trees in the gitam university campus at visakhapatnam by cyclo...
eSAT Publishing House
 
Wind damage to buildings, infrastrucuture and landscape elements along the be...
eSAT Publishing House
 
Shear strength of rc deep beam panels – a review
eSAT Publishing House
 
Role of voluntary teams of professional engineers in dissater management – ex...
eSAT Publishing House
 
Risk analysis and environmental hazard management
eSAT Publishing House
 
Review study on performance of seismically tested repaired shear walls
eSAT Publishing House
 
Monitoring and assessment of air quality with reference to dust particles (pm...
eSAT Publishing House
 
Low cost wireless sensor networks and smartphone applications for disaster ma...
eSAT Publishing House
 
Coastal zones – seismic vulnerability an analysis from east coast of india
eSAT Publishing House
 
Can fracture mechanics predict damage due disaster of structures
eSAT Publishing House
 
Assessment of seismic susceptibility of rc buildings
eSAT Publishing House
 
A geophysical insight of earthquake occurred on 21 st may 2014 off paradip, b...
eSAT Publishing House
 
Effect of hudhud cyclone on the development of visakhapatnam as smart and gre...
eSAT Publishing House
 

Recently uploaded (20)

PPTX
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
PDF
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
PPTX
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
PPTX
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
PDF
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
PPTX
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
PPTX
Hashing Introduction , hash functions and techniques
sailajam21
 
PPTX
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
PPTX
Evaluation and thermal analysis of shell and tube heat exchanger as per requi...
shahveer210504
 
PDF
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
PDF
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
PDF
Design Thinking basics for Engineers.pdf
CMR University
 
PPTX
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
PPTX
Green Building & Energy Conservation ppt
Sagar Sarangi
 
PPTX
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
PPTX
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
PDF
Zilliz Cloud Demo for performance and scale
Zilliz
 
PPTX
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
PPTX
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
PPTX
Introduction to Neural Networks and Perceptron Learning Algorithm.pptx
Kayalvizhi A
 
The Role of Information Technology in Environmental Protectio....pptx
nallamillisriram
 
MAD Unit - 1 Introduction of Android IT Department
JappanMavani
 
265587293-NFPA 101 Life safety code-PPT-1.pptx
chandermwason
 
artificial intelligence applications in Geomatics
NawrasShatnawi1
 
Unified_Cloud_Comm_Presentation anil singh ppt
anilsingh298751
 
Solar Thermal Energy System Seminar.pptx
Gpc Purapuza
 
Hashing Introduction , hash functions and techniques
sailajam21
 
GitOps_Without_K8s_Training_detailed git repository
DanialHabibi2
 
Evaluation and thermal analysis of shell and tube heat exchanger as per requi...
shahveer210504
 
Biomechanics of Gait: Engineering Solutions for Rehabilitation (www.kiu.ac.ug)
publication11
 
Introduction to Productivity and Quality
মোঃ ফুরকান উদ্দিন জুয়েল
 
Design Thinking basics for Engineers.pdf
CMR University
 
Mechanical Design of shell and tube heat exchangers as per ASME Sec VIII Divi...
shahveer210504
 
Green Building & Energy Conservation ppt
Sagar Sarangi
 
Lecture 1 Shell and Tube Heat exchanger-1.pptx
mailforillegalwork
 
Heart Bleed Bug - A case study (Course: Cryptography and Network Security)
Adri Jovin
 
Zilliz Cloud Demo for performance and scale
Zilliz
 
GitOps_Repo_Structure for begeinner(Scaffolindg)
DanialHabibi2
 
Damage of stability of a ship and how its change .pptx
ehamadulhaque
 
Introduction to Neural Networks and Perceptron Learning Algorithm.pptx
Kayalvizhi A
 

Performance in soa context

  • 1. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 03 Issue: 08 | Aug-2014, Available @ http://www.ijret.org 5 PERFORMANCE IN SOA CONTEXT Sudheer Doodi1, Mohd Fahimuddin2 1Bangalore, India 2Bangalore, India Abstract Service Oriented Architecture (SOA) is a new software development paradigm where application is developed in distinct pieces, providing functionality as a service to other applications, internal and external. Though SOA has many benefits like Loose coupling, incremental implementation, high business agility, reduced lead time, reduces cost, reduced risk and new opportunities to deliver values, some of these benefits also introduce performance overhead. For smaller systems with small number of services and small number of users, this performance hit may be minimal. However, maintaining required performance levels for large SOA implemented systems is big challenge. In this paper, we will discuss the SOA concepts, its architectural style, attributes, performance advantages and disadvantages of SOA and techniques to improve the performance of SOA. Keywords: Service Oriented Architecture (SOA), service-level-agreements (SLA), Extensible markup language (XML), JavaScript object Notation (JSON), Representational State Transfer (REST), Simple Object Access Protocol (SOAP). ---------------------------------------------------------------------***-------------------------------------------------------------------- 1. INTRODUCTION SOA is an architecture for building application as a set of loosely coupled components called services. SOA is been evolved in all fields of engineering, for example, in a traditional music player everything is tightly integrated, where as in latest music players each part – speakers, cassette player, DVD player, amplifier are independent, they are assembled to form a music player, each of this parts play as service in assembled player. Evolutions in software engineering begin from procedural to structure to object- oriented to component based programming and now to service oriented over the years. Each evolution comes with an abstraction building on the previous and SOA applies best of object and component development thus gives higher level of abstraction. A SOA application mainly comprises of a service provider and a service consumer, service consumer could be a web application or any other service as well, that depends on this service component to do its job. Key idea behind SOA is to divide the application into small pieces so these components run on multiple servers as separate services. Combination of all services form a platform to serve internal and external users. 2. ATTRIBUTES OF SOA A SOA service is an independent business logic, following are the attributes of a service in SOA. Stateless: SOA services neither records last activity done nor care about the next. Services are concise to its functionality making it independent of the context or state of other services. Discoverable: Needy consumers of the service must be able to discover it easily otherwise it is unlikely to be used. SOA service directory maintained by service providers is the best place to publish the service. Self-describing: The SOA service interface must describe, expose and provide all aspects of a service i.e. an entry point. The interface camouflages all technical implementation of a service but providing information a consumer needs to discover and consume it. Composable: SOA services are, by nature, composite. New business solutions can be achieved by composing one or more services in SOA. Loose coupling: Loose coupling separates the concerns of an application into independent pieces. Which in turn provides a process for services to call one another without being tightly bound. Boundaries establishment help in separation of concerns, where a boundary is any separation (logical or physical) that serves a given set of responsibilities. Governed by policy: Services are built by contract. Relationships between service domains and services are controlled by policies and service-level-agreements (SLAs), providing process consistency and reducing complexity. Location, language, and protocol Independent: Services are engineered to be protocol, location and platform independent. Which makes them accessible by any authorized user, any platform and from any location.
  • 2. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 03 Issue: 08 | Aug-2014, Available @ http://www.ijret.org 6 3. SOA ARCHITECTURE Fig 1 Basic SOA Architecture The above figure illustrates a basic service oriented architecture. It shows a service provider on the left and service consumer on the right. Service consumer sending a service request message to service provider, service provider process the request based on input parameters then forms a response, which is sent back to service consumer. The request and response messages are understandable to both the service consumer and service provider. 4. NON-FUNCTIONAL PERFROMANCE ADVANTAGES OF SOA High Scalability: Since each service component is independent to each other, they can easily clustered across many servers with appropriate load balancing, hence the SOA systems are highly scalable. Higher Availability: High availability can be achieved by introducing redundancy in SOA components using clustering, with SOA’s logical decoupling facility this can easily done, so SOA allows to design a very resilient system. 5. NON-FUNCTIONAL PERFORMANCE DISADVANTAGES OF SOA Latency: Service Oriented Architecture involves distributed processing, hence it is network centric. Service provider and service consumer are usually in different servers, often on different machines and different data centers. The messages that exchange over network to provide service increases the overall response time. Networks used for SOA are mostly internet which do not guarantee latency. Therfore, SOA is not feasible for real-time systems and presents challenges for near real-time systems. Bandwidth: SOA is prone to consume more bandwidth in terms of headers and additional tags which come as part of service responses. Lookup: The service consumer sometimes requires an extra call to a directory of services to locate the desired service. This extra call is an overhead and increases the total time needed to perform the transaction. Processing: The data transmission in services is done in forms of XML or JSON technology. These creates additional overhead in processing of data. Processing consists of at least three activities, parsing, validation and transformation which are CPU and memory intensive. Security: Providing security for each service call is an additional overhead in SOA. Connections: SOA is highly clustered architecture where each cluster has its own set of open connections to database or directory services, which in turn impacts the end application performance. 6. TECHNIQUES TO IMPROVE PERFORMANCE Code for Performance: There are a various programming techniques that can improve SOA application performance. a. Application should be designed to use appropriate calls. As client and service are not sitting on same computer or even in the same datacenter, there could be a great distance between them, so avoid making frequent calls to SOA service. Lesser the calls from client to service layer, the better the performance. Choose your calls in such a way that more work can be done in one call instead of multiple calls to do the same work. b. Make asynchronous web method calls. c. While forming response, data provided should be precise and compact, which means no irrelevant data should be sent. Choose right interaction style: Representational State Transfer (REST) has better response times and throughput than Simple Object Access Protocol (SOAP) Combining prudent loose coupling with calculated tight coupling: The Simplistic implementation of SOA is to develop as many loosely coupled services to provide required functionality. The fact is loose coupling introduces extra calls overhead, while tight coupling can smooth out bottlenecks. So design your SOA in way of providing loose coupling only as much as it needs. Apply Caching, pre-fetching and messaging techniques at the macro level. 7. CONLUSIONS For web applications, decoupling along functional requirements may lead to an increase in network latency, decrease in throughput, and consequently a negative impact on performance. In other words, a service-oriented architecture may not be seen as a performance oriented architecture.
  • 3. IJRET: International Journal of Research in Engineering and Technology eISSN: 2319-1163 | pISSN: 2321-7308 _______________________________________________________________________________________ Volume: 03 Issue: 08 | Aug-2014, Available @ http://www.ijret.org 7 If you want to have high performing application, then a loosely coupled SOA, while beneficial in terms of system maintenance, management and evolution, may turn out to have unsatisfactory performance. One might argue that performance is lacking because the system was not decomposed in the best possible way, but the more you draw lines to make it service oriented the more it is going to impact the performance. To achieve performance oriented architecture with service oriented mindset then it is good idea to tune the critical subsystems with a performance oriented mindset. We do not suggest to replace SOA with POA across but pay attention to isolated functionality that would benefit from performance oriented architecture. REFERENCES [1]. Liam O’Brien, Len Bass, Paulo Merson, Quality Attributes and Service-Oriented Architectures, CMU,SEI- 2005-TN-014 [2]. Understanding Service-Oriented Architecture by David Sprott and Lawrence Wilkes,http://msdn.microsoft.com/en- us/library/aa480021.aspx [3]. How service-oriented architecture (SOA) impacts yourIT infrastructure, http://public.dhe.ibm.com /software/solutions/soa/pdfs/wp_how-soa-impacts-your-it- infrastructure.pdf [4]. Service-Oriented Architecture (SOA) Definition, http://www.service-architecture.com/articles/web- services/service-oriented_architecture_soa_definition.html [5]. Six Strategies for Building High Performance SOA Applications by Uwe Breitenb cher, Oliver Kopp, Frank Leymann, Michael Reiter, Dieter Roller, and Tobias Unger,ceur-ws.org, vol 847,paper 16. [6]. S.Neelavathi and K.Vivekanandan , An Innovative Quality of Service (QOS) based Service Selection for Service Orchrestration in SOA, An Innovative Quality of Service (QOS) based Service Selection for Service Orchrestration in SOA [7]. Vikas Anand, Oracle, ODTUG, Kscope11, Tuning Your SOA Infrastructure for Performance and Scalability.