Tuesday, September 6, 2016

Microservices and SOA


Microservices is one of the buzzwords that generate a lot of hype in these days.So we thought about discussing SOA(Service-oriented architecture) and Microservices.

(SOA): an architectural pattern in computer software design in which application components provide services to other components via a communications protocol, typically over a network.

Microservices: a software architecture style in which complex applications are composed of small, independent processes communicating with each other using language-agnostic APIs

When looking at Microservices and SOA based service, I can see a lot of similarities between them. However, Microservices is a special approach of breaking a monolithic SOA service into small parts. So finally one service can be divided into many smaller services that talk to each other. Ideally, each SOA service operation should be implemented as a Microservice.

A Service which is implemented based on Service-oriented architecture has a broader scope than a one Microservice. The primary driving force of a Microservices architectural solution is the scalability. When demand is increasing for one or two services, we can easily scale them with fewer resource constraints. However, if we have a monolithic service, scaling will bring up many unwanted resources as well. So, instead of deploying the entire application only once everyone is done, developers can deploy their respective services. Also, testing, issue isolation are manageable easily in microservices.

When considering disadvantages of microservices, implementing distributed systems can be complex. There will be multiple small-small services which complicates the deployment. Also when implementing a complex service, we need to think about database connectivity and transaction handling as well.


Thursday, August 18, 2016

What is SOA Governance?

What is Governance?

Governance is the process of ensuring that an organizations resource are utilized in a manner in which they contribute to the fulfillment of an organizations goal and it is done in a transparent and measurable manner.The resources can include both people , processes or other physical infrastructure.At the heart of Governance is the concept of controlling how decisions are made.There are a number of different types of Governance:

  • Corporate Governance
  • IT Governance
  • Architecture Governance
  • SOA Governance
  • SDLC Governance

Why has Governance become important?

The past decade has brought to light several corporate scandals that highlight the pitfalls when decisions are made without transparency and accountability. As an example in the late 90s the corporate IT departments initiated a number of IT projects based on the whimsical notion of staying on the bleeding edge without any clear motivation on how these projects would contribute to the business. 

What are the building blocks of Governance?

  1. Precepts
  2. People
  3. Processes
  4. Metrics

Precepts

Precepts define the environment as well as the effects of a decision.It achieves this by defining the following:
  • Defines who can make decisions
  • Defines the constraints under which decisions are made
  • The consequence of non compliance

They can include one or more of the following elements:
  • Objectives
  • Policies
  • Standards
  • Guidelines

People

The focal point of any governance system; it is ultimately the human element that makes decisions. Thus people must be aware of the precepts.

Processes

A process within the context of Governance defines the steps in which decisions can be made, enforce precepts and corrective action can be taken.

Metrics

Metrics provide a way to :
  • Measure the effectiveness of the Governance system
  • Measure compliance to Precepts
  • Assist in determining whether precepts are effective

What is SOA Governance?

SOA Governance ensures that a companies SOA IT projects are:
  • Necessary to meet an organization business goals
  • Producing actual results 

Why is SOA Governance important?

  1. Metrics on the usage of services
    • Are people actually using the service?
    • Is the service consumed in the way it was intended?
  2. Uniformity
    • Ensure that teams across departments are building inter-operable services

References

[1] Prentice.Hall.SOA.Governance.Governing.Shared.Services.On-Premise.and.in.the.Cloud.Apr.2011.ebookmf.com
[2] SOA Governance in Action
[3] Service-Oriented Architecture (SOA) Governance for the Services Driven Enterprise

Friday, August 12, 2016

Taxonomy and SOA

Taxonomy

Taxonomy is the classification of things based on their structural characteristics and evolutionary history. Animal taxonomy is a good real world example for classification and it is based on the tree like structure, and scientists have classified animal kingdom based on the phyla and classes.

Taxonomy and SOA

In SOA world, every asset can have its own attributes which are specific to the asset type or it’s instances. So we can classify assets based on the business classification or asset type level classification. Most of the time, SOA Taxonomy is defined using the business classification.

“Asset type level classification” is totally based on the common attributes in the given asset type and they can be used to filter assets based on “Refined By” option. However, in this article, we are mainly focused on the SOA Taxonomy which is based on the business classification. The Business classification also can be divided into two major taxonomy(classification) types as information taxonomy and compliance taxonomy.

Information taxonomy is mainly based on the business namespace, and examples are like  business area, Own by Team, Geo Location, etc . When considering the compliance taxonomy, they are more generic to the industry (ex: PCI for Internet payments).

The terms which are absorbed from the classification, can be used to tag assets(mainly services) in your Enterprise Governance Solution. Later Asset consumers can easily search and find services that match their needs based on the classification. In addition to that, by looking at taxonomy hierarchy, consumers can easily determine Asset related classifications as well.

However when classifying assets based on the taxonomy and their filtering, should be more user-friendly, and UX should be clearly understandable by the non-technical user as well.  

Saturday, August 6, 2016

SOA Challenges


When evaluating Service-Oriented Architecture(SOA) governance solutions or implementing a service-oriented architecture in your organization, it is a must verify whether that product or solution should be able to overcome below challenges.

  • SOA governance must promote the alignment of organization process(should support the business and IT drivers in org)
  • Conform to organization's governance
  • Identify and represent the SOA governance stakeholders
  • Identify and represent the correct Service metadata
  • Identify and represent the proper SOA governance processes
  • Automate SOA governance processes

Architectural Components in SOA Solution

The elements of a service-oriented architecture are the Service Provider, Service Consumers, and Service Repository(Registry).




A Service Provider is a component or set of components that execute a business function in a stateless fashion, accepting predefined inputs and outputs.

A Service Consumer is a set of components interested in using one or more of the services provided by service providers.

A Service Repository contains the descriptions of the services. Service providers will register their services in this repository(catalog) and service consumers can access the repository to discover the services being provided.