Untitled Document

To read part one of this feature click here.



Lightening the Load On Service Providers

A SOA composite in which a service consumer makes a number of service calls to service providers, is shown in Figure 2:


Figure 2: Before | Consuming services without caching

We can use a data grid to front end the service calls and cache results coming back from service calls or composites. This kind of approach typically works well with cases in which a particular service has read only or read mostly data, e.g. reference data, or where multiple invocations to a service over a short time period are likely to return the same result. This pattern of use is captured by the Cache aside pattern that is implemented in an ESB or BPEL engine. The first time a service is called, the result is served to the consumer, but also cached. On subsequent calls, the application logic looks in the data grid first and retrieves the data directly from there, should it be available. Relating this back to the telco-billing example, the bill would be retrieved directly into the cache when the user logs in. The business logic that executes the bill retrieval looks in the cache first when it wants to retrieve a bill. This resulting interaction is shown graphically in Figure 3:

Figure 3: After | Caching service results with fault tolerance

Data of a read only or read mostly nature, e.g. reference data, bills, tariffs, can be cached easily using this approach. However, data grids provide cache expiry rules. In our telco example, wireless bills only change once a month -- so it's definitely ok to cache them for the duration of a session on a single day. However, depending on the use case, the expiry for data can range from one second, as in some of the trading applications we have seen on Wall Street, to a month, as in the telco example. The question that needs to be asked is how long can you live with stale data?

The benefit of using a data grid is the built-in fault tolerance through the duplication of data within the grid infrastructure. Traffic is routed to the backup node (B in the diagram) in case of failure of the primary node (P in the diagram).

1

  • Subscribe
  • Contribute
Subscribe to ebizQ:

Enter your email address:

 Subscribe Blog Updates via RSS

 Subscribe News via RSS

ebizQ is very interested in what you have to say. To contribute an article, an opinion, or to become a blogger, please contact Jessica Ann Mola.

  • Virtual Conferences
  • Webinars
  • Roundtables

SOA in Action

Oct 28-29, 2009

SOA is ready for the business. But is the business ready for SOA?
Welcome to Service-Oriented Architecture, phase two. Six years after SOA first hit the mainstream, many organizations have achieved strong value, while some are struggling to realize business results from this increasingly popular approach to technology deployment. Some challenging hurdles remain in the "Increase SOA value to the business" journeyRegister

View All Virtual Conferences

The Future of Content Management is Vertical

Date: Feb 10, 2010
Time: 12:00 PM ET- (17:00 GMT)

REGISTER TODAY!
View All Webinars

How Continuous Intelligence Improves Your Business Processes

Date:Feb 02, 2010
Time:12:00 PM ET- (17:00 GMT)

REGISTER TODAY!

Understanding and Estimating the Business Value of Data Virtualization

Date:Nov 18, 2009
Time:12:00 PM ET- (17:00 GMT)

REGISTER TODAY!
View All Roundtables
  • White Papers
  • Podcasts
  • News

Joe McKendrick: Part II of II: Designing Evolve-ability into SOA and IT Systems

In part two of Joe McKendrick's recent podcast with Miko Matsumura, chief strategist for Software AG, they talk about how SOA and IT systems need to change and grow and adapt with the organization around it.

Listen Now

Phil Wainewright: Helping Brands Engage with Social Media

Phil Wainewright interviews David Vap, VP of products at RightNow Technologies, and finds out how sharing best practices can help businesses understand how best to engage with online communities.

Listen Now

Peter Schooff: Making Every IT Dollar Result in a Desired Business Outcome: Scott Hebner of IBM Rati

Scott Hebner, Vice President of Marketing and Strategy for IBM Rational, discusses a topic on the top of every company's mind today: getting the most from IT investments.

Listen Now

Jessica Ann Mola: Where Will BI Fit In? Lyndsay Wise Explains

In BI, this tough economy and the increasing role of Web 2.0 and MDM are certainly topics on people's minds today. WiseAnalytics' Lyndsay Wise addresses each of them in this informative podcast.

Listen Now

Dennis Byron: Talking with...Deepak Singh of BPM Provider Adeptia

Deepak Singh, President and CTO of Adeptia, joins ebizQ's Dennis Byron in a podcast that gets its hand around the trend of industry-specific BPM.

Listen Now
More Podcasts
  • Most Popular
  • Quick Guide
  • Most Discussed

Quick Guide: What is Event Processing?

Smart event processing can help your company run smarter and faster. This comprehensive guide helps you research the basics of complex event processing (CEP) and learn how to get started on the right foot with your CEP project using EDA, RFID, SOA, SCADA and other relevant technologies. Learn More

Quick Guide: What is Enterprise 2.0?

A lot of people are talking about Enterprise 2.0 as being the business application of Web 2.0 technology. However, there's still some debate on exactly what this technology entails, how it applies to today's business models, and which components bring true value. Some use the term Enterprise 2.0 exclusively to describe the use of social networking technologies in the enterprise, while others use it to describe a web economy platform, or the technological framework behind such a platform. Still others say that Enterprise 2.0 is all of these things. Learn More

Quick Guide: What is BPM?

Learn More