After discussing #8: Security, let's move on to #7.
Incorrect granularity could mean that a service covers too much functionality or too little functionality. Incorrect granularity of services in your SOA can lead to bad performance, low reuse possibilities, leaky abstractions and services without added business value. . Common causes for this are bottom-up and/or top-down design and taking a too narrow perspective (project instead of company scope). In this blog we’ll first take a closer look at the previously mentioned symptoms and their causes. And then we’ll explain why the solution lies in taking a business perspective when designing services.
First the symptoms that could indicate that services in a SOA are not of the right granularity:
So what types of pitfalls lead to these symptoms?
What is the right level of service decomposition?
Finding the right granularity of services is not as simple as following a recipe. It’s a balancing act that requires knowledge, expertise and trying different options. Design your service using the guidelines above, run through a number of scenarios and see if you see any of the symptoms mentioned pop-up. If so, reconsider...
Next week, Rik de Groot will continue with pitfall #6.
Filed under Architecture, SOA | 4 Comments »
[...] by Rik de Groot late at night: May 19, 2008 After discussing #7: Incorrect granularity of services , let’s move on to [...]
[...] Traduction libre du billet “Top 10 SOA Pitfalls: #7 – Incorrect granularity of services” publié par Gero [...]
[...] each department. It proves almost impossible to introduce collective middleware. The problem is the assigned responsibility and ownership. One of the solutions is creation of a the separate Middleware Competence Center or Shared Service [...]
[...] Next week, Gero Vermaas will continue with pitfall #7. [...]