ArticleslgStudy

computer science

Service normalization pattern

Service normalization pattern is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Service normalization pattern rather than just read about it. In short: Service normalization is a design pattern, applied within the service-orientation design paradigm, whose application ensures that services that are part of the same service inventory do not contain any redundant functionality. This design pattern emphasizes on creating normalized services, much like creating normalized tables in a database where all the attributes in a table only relate to the entity described by th…

Service normalization pattern — main illustration
Service normalization pattern — illustration

Key takeaways

  • Service normalization pattern belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Service normalization pattern to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Service normalization pattern from memory before moving on to harder problems.

Reference excerpt

Service normalization is a design pattern, applied within the service-orientation design paradigm, whose application ensures that services that are part of the same service inventory do not contain any redundant functionality. This design pattern emphasizes on creating normalized services, much like creating normalized tables in a database where all the attributes in a table only relate to the entity described by the table and any attributes that do not directly relate to the entity are either put into a new table or in an existing table that better fits the context of that attribute.

Rationale When different teams are delivering multiple services as part of automating various business processes, there is a possibility that some of these services might end up having duplicate functionality. For example, the automation of two different business processes, by two different teams, which need to exchange messages with the same legacy system may end up in two different versions of a wrapper service that are created to enable exchange of messages with the services. This overlap in functionality can lead to other problems including which service to be advertised as the official service for the provision of a particular functionality and maintenance of redundant services as they can easily get out of alignment. In order to deliver services, as part of the same service inventory, that are free of any duplicate functionality, the functional boundary of each service needs to be carefully established so that it is not in conflict with any other service. The Service Normalization design pattern provides guidelines for creating service inventories that contain streamlined services without any functional duplication. By creating normalized services, the purpose of the service also becomes clearer to its potential consumers.

Usage

The application of this design pattern requires knowledge about the functional contexts of all the services because only then it can be guaranteed that the services do not contain any overlapping functionality. This is achieved by creating service models i.e. services without any actual service contracts but having high level details about the kind of functionality that they would be providing. In order to create service models, following activities need to be performed:

Decompose the business process into individual steps that falls within the boundary of a specific service inventory. Assign each step to an individual function of a service Make sure that the above functionality is not already provided by some other service. Even if a service provides part of the new required functionality, instead of creating altogether a new service, the new functionality needs to be added to the existing service as long as the functional context of the functionality being added matches with the existing service’s functional context. The same process needs to be applied to each business process that falls within the boundaries of the service inventory. By following the guidelines of the service normalization design pattern, the total number of services within the service inventory would also decrease. This is because the development of redundant services is avoided, which further helps in decreasing the governance overhead of the service inventory. The application of this design pattern further supports the application of the logic centralization and the service refactoring design patterns. This is because the services do not contain any redundant functionality and hence it is easy to retain logic that does not relate to a particular business process in a single service and to evolve a service without breaking any dependencies.

Considerations The application of this design pattern requires following a top–down service delivery process, which requires considerable upfront analysis before any actual services are delivered. This requires extra resources both in terms of man-hours as well as time. This could be addressed by the adoption of meet-in-the-middle service delivery process where the service delivery process can start once sufficient services have been modeled without waiting to create a full service inventory blueprint. An ongoing governance of existing normalized services is required as more and more business processes are automated. This is because the automation of new business processes might result in adding functionality to the existing normalized services and to make sure that these services remain normalized, rest of the services need to be analyzed.

References

Further reading Erl et al.,(2009).SOA Design Patterns. Prentice Hall. ISBN 0-13-613516-1 Mauro. et al. Service Oriented Device Integration – An Analysis of SOA Design Patterns. [Online], pp. 1–10, 2010 43rd Hawaii International Conference on System Sciences, 2010. Date accessed: 4 April 2010. Matthew Dailey.Software Architecture Design Service Oriented Architectures (Part II) Archived 24 July 2011 at the Wayback Machine[Online].Date accessed: 22 April 2010.

External links SOA Concepts SOA Terms Glossary SOA Design Patterns

Illustrations

Service normalization pattern: Diagram BThe creation of a service inventory blueprint results in the merger of the two red services into one red service and any functionality not falling within the context of the red service is added to the new orange service.
Diagram BThe creation of a service inventory blueprint results in the merger of the two red services into one red service and any functionality not falling within the context of the red service is added to the new orange service.

Worked examples

Example 1 — a first encounter with Service normalization pattern

Start with the simplest possible case. Write down what Service normalization pattern claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Service normalization pattern before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Service normalization pattern ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Service normalization pattern

In research
Service normalization pattern appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Service normalization pattern in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Service normalization pattern is common in secondary-school and first-year university syllabi. It links to neighbouring topics Service-oriented (business computing), so understanding it makes those chapters shorter.
In everyday life
Look for Service normalization pattern outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Service normalization pattern” →

How to study Service normalization pattern in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Service normalization pattern means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Service normalization pattern out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Service normalization pattern in simple terms?

Service normalization is a design pattern, applied within the service-orientation design paradigm, whose application ensures that services that are part of the same service inventory do not contain any redundant functionality. This design pattern emphasizes on creating normalized services, much lik…

Why does Service normalization pattern matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Service normalization pattern?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Service normalization pattern.

Tags

  • Service-oriented (business computing)

Keep exploring