| By Michael Poulin | Article Rating: |
|
| September 10, 2008 08:00 PM EDT | Reads: |
2,952 |
What could be the problem with logging in SOA in the presence of such wonderful tools like log4j, Java's logging library and similar? Why might we need something special for SOA and why aren't existing techniques enough? The answer is simple and complex simultaneously - in SOA we are dealing with distributed and composed entities that cause problems in log maintenance, not in log creation.
Local Build, Distributed Analysis
Let's follow a typical service development process and see what might go wrong with logging along the way. Assume we have three business services - F1, F2, and F3 - each implementing one business feature. Each service comprises two components built independently by different people and at different times.
Each component developer used log4j to log information and exception notes of different severity. Since the components weren't built for the same task, each component has its own log file. Due to the reuse of components, we can't modify them but can reconfigure each log4j, for example, to create log files in the same location for the same service, at least. We may not merge files online because each component may have its own policy for the log file management, which might conflict with the management rules from another component. Thus, we have six log files in, potentially, three different locations, distributed or co-located: F1C1, F1C2, F2C3, F2C4, F3C5, and F3C6.
Now, it appears that the business defines two business functions where two out of three features may be reused. Being in SOA, we develop two new business services - B1 and B2 - as follows: B1={F1, F2, F3}, B2={F1, F3}. It's obvious now that for a relatively simple SOA case of two business services, we have to deal with 12 different log files, where four of them might be shared by independent services B1 and B2. This case is shown in Figure 1. Listen for a moment to what the operation and maintenance teams would have to say to us about such development.
This isn't all. In SOA, each business service is expected to have a service contract that includes a service level agreement, a SLA. For B1, the SLA has to be potentially dependent on the performances of six foreign logging procedures and with the robustness of up to three file systems (or other data stores like databases). Moreover, the B1 provider might not be the owner of F1, F2, and F3 services. This means the service contract between a consumer and B1 service provider may depend on three other service contracts and related SLAs. The B2 service presents a similar picture.
Published September 10, 2008 Reads 2,952
Copyright © 2008 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
About Michael Poulin
Michael Poulin works as an enterprise-level solution architect in the financial industry in the UK. He is a Sun Certified Architect for Java Technology, certified TOGAF Practitioner, and Licensed ZapThink SOA Architect. Michael specializes in distributed computing, SOA, and application security.
![]() |
igh 01/29/09 06:03:00 AM EST | |||
Usually, the reason for using a logging system is to search what has happened on an error state. What is defined in this article only identifies the services an operation moved through, but not the origin of the user action that resulted in error. |
||||
- Ulitzer’s Amazing First 30 Days in Public Beta
- iPhone OS 3.0 Hits the Streets Today
- Ulitzer vs. Ning - a Quick Review
- Ted Weissman and Lois Paul & Partners PR Firm
- Keane Reaches Agreement to Acquire Portions of BearingPoint Public Services Business
- Where Web 2.0 Meets Voice 2.0
- The Beauty of USB & Bluetooth on the iPhone
- New NOKIA 6600 Slider
- Symsource Offers Cross Platform Development Services for Mobile Application Stores
- Sony Ericsson C905 Gorgeous 3G 8 Megapixel Camera Phone
- Ulitzer’s Amazing First 30 Days in Public Beta
- iPhone OS 3.0 Hits the Streets Today
- Palm Unveils webOS Mobile Platform and Pre Phone
- Nokia E71 Black Review
- Telecommunications Providers Face New Availability Standards, Driven by Consumers
- Nokia E63 QWERTY Will Be Available with OS Symbian S60
- SAP & Sybase: Transforming Today's Mobile Workforce
- Ulitzer vs. Ning - a Quick Review
- Ted Weissman and Lois Paul & Partners PR Firm
- Trimble Introduces Nomad 800X Series Rugged Handhelds
- Tiger Woods Sues Christensen Shipyards for Breaking Privacy Agreement
- Highlights From Ft. Lauderdale International Boat Show
- Jim Liddle's Symbian Blog: Is the "Mobile Web" Already With Us ?
- Jim Liddle's Symbian Blog: "GMAIL Mobile"
- Symbian & Open Source: The Momentum Grows
- Symbian Welcomes the Availability of Nokia's N72
- London Streetmap Midlet and Flashlite Supported Phones
- Jim Liddle's Symbian Blog: MIDP on Dangers Hiptop Phone
- Google Gang Unveils "gPhone" Platform, Android
- Yahoo! Buys 40% Chunk of China's Second-Largest Internet Auctioneer








































