Free Newsletters

   All InfoWorld Newsletters
Real World SOA | David Linthicum » When Services Attack

September 07, 2007 | Comments: (0)

When Services Attack

Lately, I've been hearing about some nightmares when considering bad service design. They fall into three basic problem areas:

First, services that are too course grained, and thus are basically cumbersome applications until themselves, not services. We'll call that one the "Fat Service" problem. Developers are asked the reuse this beast, and can't really find a use for it since it is an all-or-nothing proposition, providing too much bulk for a single service. How would you like to deal with a service called General_Ledger? This issue has typically be caused by developers that learned early on that course grained services…good…fine grained services…bad. That's not always the case.

Second, and as you guessed, are services that are too fine grained, decomposed to nothing, and do a very good job in saturating the network as very heavy HTTP calls are made (of course, you don't have to use Web services). We can call this the "Skinny Service" problem. I think the developers actually had good intensions here, but just go carried away, assuming that thousands of services can plug into a composite, and it will all be good. It won't.

Finally, poorly designed services, or services that perhaps are the right weight, neither fat, nor skinny, but the way the service is structured leaves a lot to be desired. Poorly designed interfaces are the bulk of the issues that I see, as well as services that are, well, not built like services. The end result is something that needs to be redone from scratch, going through a good service design process, re-implemented, and tested. We'll call this the "Ugly Service" problem.

So, what's a service builder to do? It's really not complicated. Services contain certain patterns that should be considered during design. I'll hit upon those patterns in the future. I hope your services are never fat, skinny, or ugly.

 

Posted by Dave Linthicum on September 7, 2007 11:18 AM


RATE THIS ARTICLE:





 

  •  
  • COMMENTS




Sounds like Cinderella's step sisters!

I have another one to add, one to think about. How about two services that are excellent, in their own right, but which make incompatible assumptions about the underlying enterprise data, driving a very expensive problem into the composition layer.

One is a concert violinist, the other is a hip-hop DJ with two turntables and some rockin' beats. Each is super. Making nice music with the two is wildly difficult.

Let's call this the Babel Services problem.

Posted by: Nick Malik at September 10, 2007 02:53 PM

I too have one monster too add!

The unwanted monster.
These can't be defined in form or shape, because I don't think any similar thing exists in nature. But these are too frequently found in our creations. SOA for the sake of doing it and services created for the sake of having them.

One of my most interesting reads on the topic till date, a briliant post! I will recomend everyone to go through this atleast once before starting of with services or SOA.

Reading this I thought, I need to do something about it, so I blogged about it :)
My tribute to this post, David, at http://mytechrantings.blogspot.com/2007/09/attack-of-services-monsters-roaming.html

That's what movie makers in India say about a movie they make that is or it's theme is a copy of an existing movie.

I hope you'll like my copy too ;)

Posted by: Rohit Rai at September 10, 2007 10:54 PM

Technology White Papers

 

InfoWorld Technology Marketplace

» Technology White Papers Library

Technology White Papers by Topic

Technology White Papers E-mail Alert

Find out when the latest white paper is available:
 
 
» BUY A LINK NOW

Sponsored Technology Links