Manage Learn to apply best practices and optimize your operations.

The governance, quality, management trifecta: Making loose coupling work

Ronald Schmelzer discusses the connections between SOA governance, quality and management in making the illusion of loose coupling a reality.

With service-oriented architecture (SOA) well established in the common parlance of IT, companies are now grappling with the some of the most challenging issues in making SOA work. The companies that are well on the path to SOA adoption know full well that the technical challenges of building and exposing services are less significant than the hurdles of building loosely coupled, business-relevant Services leveraged across their continuously changing business processes. Indeed, the challenge of making loose coupling a reality is only surpassed by the even-greater challenges associated with organizational and cultural adoption of SOA.

While SOA abstracts the complexity associated with heterogeneous, point-to-point integration and tightly-coupled application logic, it introduces a different kind of complexity: the management of distributed, loosely coupled, and dynamically composable services. Over the past few years companies developed a number of approaches for dealing with this new form of complexity: management solutions that isolate failure and provide mechanisms for abstracting end-point differences, quality solutions that provide mechanisms for assuring changes can be propagated in environments of significant change, and governance approaches that provide oversight into the development of service-oriented systems, mitigation of change and version management issues, and enforcement of policies core to the operation of the business as a whole.

ZapThink has written numerous times about each of these critical areas of SOA governance, quality, and management, but only recently have we realized that each of these distinct market segments in their own right are really different solutions to the aspects of same problem: making the illusion of loose coupling a reality. In combination, SOA governance, quality, and management form a perfect trifecta that can make the perceived difficulty of loose coupling in a continuously changing IT and business environment a reality.

The connection between runtime quality and management

One part of this trifecta is the connection between runtime SOA quality and SOA management. The challenges of managing high quality, service-oriented systems is fully explored in the Quality SOA ZapFlash. To summarize, it makes very little difference if one service works in isolation if some aspect of how its composed, or some change to metadata impacts the performance of the system as a whole. In essence, unit testing an individual service implementation is wholly inadequate to determining whether the service actually performs in a composite environment of metadata-controlled services.

The only way to effectively insure SOA quality is to do so continuously, measuring the quality not only of a discrete, atomic service, but also all related metadata, composition logic, policy, and underlying schema continuously in production. Most firms are not familiar or comfortable with this idea of in-production, continuous testing of their systems. However, as we have explored in numerous ZapFlashes including Grappling with SOA Change and Version Management and SOA Quality and Governance: Satisfying the Metarequirement of Agility, the architecture is the business, and since the business is continuously changing, a Quality Assurance (QA) model that requires duplication of the environment in order to insure quality will be enormously expensive, impossible to manage, and ineffective.

Making runtime quality actually work in production requires a mechanism to isolate failures from having recursive and unpredictable effects. This is done by implementing test modes as matters of service contract and policy, and minimizing the side-effects of services in a "test mode" such to avoid any unnecessary commitment of data or action. The ideas of policy-driven test and runtime enforcement of quality overlap those of runtime service management. Many SOA management solutions provide policy enforcement, exception management, failure recovery, and root-cause analysis. Pairing the capabilities of runtime quality tools that facilitate the process of versioning with solutions that minimize the impact of those changes is a natural fit.

Furthermore, there is a "management-quality feedback loop" that exists between tools and approaches to management that provide visibility when systems are approaching an undesired state and mechanisms that allow incremental testing and quality management of the system as a whole. This feedback helps to guarantee loose coupling by making sure that any service-related changes don't break things – a fundamental requirement of loose coupling.

The connection between SOA management and governance

Likewise, there is a connection between SOA Governance and Management that facilitates loose coupling. SOA governance has three distinct, but related parts: design-time governance that provides rules and policies for creating, exposing, and consuming services, run-time governance that governs the behavior of Services in production and the performance of the architecture as a whole, and change-time governance that details how organizations can effect changes in the overall system with the least disruption to the existing business and its policies.

SOA Management offerings can address aspects of policy enforcement, rules-based routing and decision making, and exception handling. As such, policies managed by governance tooling can be enforced at runtime through active SOA management systems. While SOA governance tooling such as registries and repositories serve as systems-of-record to manage the metadata associated with services, SOA management approaches provide a means to make sure that services consumed in production comply with the policies established in those systems. SOA management tooling can also detect and prevent the occurrence of rogue services and inspect service interaction further enabling the value of SOA governance approaches. In addition, runtime SOA management helps with change-time governance issues by enforcing governed and approved changes in the distributed environment while minimizing quality and performance issues.

Furthermore, effective SOA governance requires effective management to provide the visibility required in runtime systems to feedback into the governance process. This "management-governance feedback loop" is part of making sure that not only do companies govern their overall SOA efforts, but also provides effective control and management without overly constricting the agility of the architecture. This feedback loop helps to guarantee loose coupling by making sure that business requirements for change don't have an adverse impact on the behavior of the whole system, by decoupling the logic of the business from the implementation as it exists at that point.

The connection between SOA governance and quality

Implicit in the discussion above is the idea of change-time management and governance. To prevent the SOA Butterfly Effect, companies have to manage and govern change effectively so that no change has a chaotic effect on the complex environment of services. This means not only catching and preventing failure through management approaches at runtime, but also staging and testing those changes in through runtime quality and testing approaches.

Design-time governance also requires that companies enforce service development practices before uncontrolled services permeate the IT environment. Effective integration between governance and quality approaches makes that enforcement possible by providing the visibility into deviations from established policy and methods for limiting the spread of services that are non-compliant.

The challenge of maintaining continuous quality in a continuously changing system is an aspect of maintaining effective governance, and as such, the combination of SOA governance and quality tooling and approaches serve to make that problem more manageable. SOA quality tools provide feedback to governance systems by indicating how policies and changes impact the overall system, and likewise, governance systems and approaches feed into the quality lifecycle by providing continuously changing constraints that impact services at design and run-time. This "quality-governance feedback loop" furthers the realization of loose coupling by making sure that any design-time change has no impact on running systems and that service consumers do not need ot hardcode governance rules into their service consumers or providers.

The emergence of the SOA GQM Suite

Companies have put too much emphasis on solely service development, runtime execution environments, and inter-service messaging as the basis of their SOA infrastructure. In reality, handling the runtime aspects of service infrastructure is a trivial part of making SOA work. Indeed, the sort of infrastructure most companies are implementing for their service-oriented efforts can just as readily create tightly-coupled Web Service APIs on top of legacy integration middleware as they can facilitate the building of loosely-coupled, composable services. Since companies are looking for the latter and not the former as the raison d'etre for SOA, it is imperative that companies place significant effort on the governance-quality-management aspect of SOA infrastructure and not just how to expose a Service interface and run a service implementation. This is not to say that SOA infrastructure, such as some flavor of Enterprise Service Bus (ESB), is not necessary, but rather that ! it is not sufficient to guarantee the loose coupling and composability in an environment of continuous change that companies desire of their SOA implementation.

So, companies should focus on the kind of SOA-specific enablement technology that is central to the goals of SOA: the SOA Governance Quality Management (GQM) suite. The suite might not necessarily be implemented as a single-vendor product solution, even thought it seems the market might actually be converging in this manner. Regardless of whether it is implemented as a single-vendor solution or a collection of best-of-breed applications, the SOA GQM suite is the collection of tools and capabilities that facilitate all three feedback loops mentioned in this ZapFlash, and illustrated below:

ZapThink is already starting to see this complete feedback loop become a reality in successful SOA projects. Right now, companies should focus on addressing each part of the GQM suite by making sure that all the feedback loops are implemented. Whether solved through home-grown solutions, best-of-breed vendor solutions, or packaged offerings that aim to provide the whole suite of offerings, companies need to properly address their GQM needs if they ever hope to realize the benefits of SOA.

The ZapThink take

Companies that are truly interested in the benefits of loosely-coupled, composable, business-oriented services that achieve a flat-cost of change in an environment of heterogeneity and continuous change would be well-served to focus the technology-specific part of their efforts not solely on the ESB as the lynchpin of their SOA success, but rather on the GQM aspects. Addressing all parts of the GQM feedback loop is beneficial to making the illusion of loose coupling a reality. In addition, what makes the GQM space more compelling is that it represents new technology investment that most companies haven't already made.

While much of today's ESB investment is a rehash of existing infrastructure and middleware that is already in place, the same cannot be said of GQM tooling. Investing in GQM in prior architectural and technological evolutions of IT simply was not necessary in an environment of tightly-coupled, proprietary systems, and lack of composable systems. In such environments, testing is a QA activity done only between development and deployment, management something done only once systems are deployed, and then only in a monitoring capacity, and governance an afterthought altogether. However, the compelling value of loose coupling and composition that SOA represents gives companies the opportunity to not only get the architecture right, but also make the right investments in their systems to allow for the sort of governance, quality, and management they probably should have had all this time.


Dig Deeper on Topics Archive

Start the conversation

Send me notifications when other members comment.

Please create a username to comment.

-ADS BY GOOGLE

SearchSoftwareQuality

SearchAWS

SearchCloudComputing

TheServerSide.com

Close