InfoQ

InfoQ

News

My Bookmarks

Login or Register to enable bookmarks for unlimited time.

The content has been bookmarked!

There was an error bookmarking this content! Please retry.

Service Custodian

Posted by Dilip Krishnan on Nov 25, 2008

Sections
Enterprise Architecture
Topics
SOA
Tags
SOA Adoption

“Let's imagine a pretty world of SOA-happiness where the computing needs of an enterprise are split into many small applications that provide services to each other to allow effective collaboration. One fine morning a consumer service needs some information from a supplier service.” Martin Fowler sets the stage for problems that face any multi-business-unit SOA infrastructure.

In an ideal world the developers of the consumer service just asks the supplier service to develop the potential service and all is dandy. But life is not ideal - the sticking point here is that the developers of the supplier service have other things to do, usually things that are more important to their customer and management than helping out the consumer service team.

Martin points to an example of a  real world solution to the problem, employed by colleague Erik Dörnenburg.

They took a leaf out of the open source play-book and made all their services into internal open source systems. This allows consumer service developers write the service themselves.

He suggests that anyone could work on service enhancements and submit "Patches" which are then reviewed and "applied" by a service custodian. He likens the role of a service custodian an to open-source maintainer and “though the custodian approach doesn't entirely eliminate the problem of consumer developers needing to wait on supplier developers, it does a lot to reduce the difficulty”. He suggests that it is easier for the custodians to apply "patches" than to develop service enhancements themselves and that the process scales well, as the consumer service developer gains the trust of the custodian over time.

The responsibility of the service custodian can be vital to the success of this approach. The solution that Martin alludes to, can be likened to Jim Webber’s Geurilla SOA, a grassroots SOA effort. Tony Baer, from the SOA Insights podcasts, warns of the potential risks of such an approach,  

What if the project grows large enough that, to respond to a new requirement, you create a new service from scratch because you’ll get the job done much quicker? That’s exactly how spaghetti code (where you have tangles of point programs) gets created –- while it’s quicker to produce, you really don’t want to end up maintaining all that crud.

Does service re-use need to be institutionalized and governed by the respective functional teams or should it be a grass-roots open-source movement within the enterprise and curated by a Service Custodian in each of the functional teams? Be sure to check out Martin Fowlers original post and do share your experiences.

  • This article is part of a featured topic series on SOA

No comments

Watch Thread Reply

Educational Content

New-age Transactional Systems - Not Your Grandpa's OLTP

John Hugg discusses high volume transaction processing applications with high and low frequency profiles, and how VoltDB can be used for that purpose.

Cool Code

Kevlin Henney examines code samples to see what can be learned from them starting from the premise that one won’t write great code unless he knows how to read it.

Collaboration: At the Extremities of Extreme

Jason Ayers share the observations he made watching a team of developers collaborating in real time on the same code base, pushing XP, pair programming and continuous integration to their extremes.

Yesod Web Framework

Michael Snoyman presents Yesod, a web framework written in Haskell and containing a web server, templating, ORM, libraries (templating, gravatar, etc.).

Transactions without Transactions

Richard Kreuter and Kyle Banker on how to avoid classical RDBMS transactional systems by using compensation mechanisms, transactional messaging or transactional procedures.

Attila Szegedi on JVM and GC Performance Tuning at Twitter

Attila Szegedi talks about performance tuning Java and Scala programs at Twitter: how to approach GC problems, the importance of asynchronous I/O, when to use MySQL/Cassandra/Redis, and much more.

10 tips on how to prevent business value risk

One category of risk that project teams need to ensure they address is business value failure – delivering a product that fails to provide value for the business investor.

Interview: Software Systems Architecture: Working With Stakeholders Using Viewpoints and Perspectives

InfoQ spoke to the authors of Software Systems Architecture on a couple of new topics, the System Context viewpoint and Agile, which have been added to the second edition.