November 06, 2006

Building, exposing, and monitoring services

After you've chosen your platform and have begun building services, you'll need to allow others to discover them -- and check their integrity in real time

Choosing a platform on which to build services is probably the easiest decision IT faces. When cooking up services from scratch, most organizations simply go with their developers’ strength, as Web service creation tools have matured across all the major development platforms, from Java app servers to .Net on Windows to COBOL on z/OS. When exposing the functionality of existing applications as services, however, some companies also use ESBs as a platform because services can be provisioned via configuration rather than coding.

What matters from the start is building services in accordance with Web services — and in some cases Java — standards, says Martin Moseley, chief architect of integration architecture solutions at Intuit. Standardizing on XML and SOAP means that you can use the widest possible range of tools to orchestrate services. John Turato, vice president of technology at car-rental company Avis Budget Group, is on the same page. As he puts it, “We avoid the add-ons and stick to the vanilla.”

After a service has been built and tested, developers publish it in a registry so authorized folk can discover it and other services or applications can consume it. Today, most registries are coupled with repositories that point to metadata about services — including policies governing service development, such as security design rules, and run-time governance parameters, such as SLAs or expected load.

“We recognized at the outset that we needed a repository tool,” says George Glass, head of strategy and architecture at BT (formerly British Telecom). But repository tools didn’t really exist when BT’s SOA efforts started, so the company used its Borland design tools as the repository, exposing the services to business analysts through a Web interface it created from scratch.

The Hartford publishes available services in a UDDI registry but uses Excel spreadsheets and a database for its repository, says Ben Moreland, director of foundation services at The Hartford, an insurance company. As part of its enterprisewide reference architecture effort, The Hartford is looking at a more formal repository system. Moreland is glad his company waited because current registry/repository products now handle metadata effectively. “So now we can create a better solution than if we jumped in early,” he says.

“Much faster than you thought [after you deploy services], you’ll have people using them,” says James Barrese, vice president of systems development at eBay. “So you need the basic infrastructure in place: a central directory of consumers and publishers, detailed logging of operations, and operations monitoring technology like dashboards.”

Repository metadata about services generally describes what should happen rather than what’s actually going on. In an SOA, real-time service performance, availability, and usage must be monitored — often with the help of service management products provided by vendors such as Actional (recently purchased by Sonic Software), AmberPoint, or Blue Titan (recently acquired by SOA Software). These solutions also support version control, fail-over, and message logging, providing a centralized view to gauge the overall health of a network’s worth of services.

eBay includes QoS parameters in its service templates, so rate-limiting and logging are built in. As Barrese puts it, this functionality is “abstracted from the engineers” to ensure it’s implemented universally and consistently. Dashboard services monitor logs to detect performance issues, and services that are overburdened know it and can request that a clone service be initiated or an IT analyst be notified.

BT follows a similar approach. “All services have measuring and monitoring built in within the XML message set. All transactions are traced, so we can measure at every stage,” BT’s Glass says. A combination of homegrown and commercial monitoring tools analyze the data “footprints” generated by services, alerting BT when mission-critical services fail to meet service-level commitments. The services’ built-in logging functions can be turned on or off, allowing BT to monitor services more closely when desired, such as when first deployed or when performance issues crop up. IT can also perform historic analysis on service logs using BI tools.

Galen Gruman is executive editor of InfoWorld for features and news.
Close

On Twitter now

Architecture

Powered by Twitter

On Twitter now

White Paper

D2D Virtual Tape Library Replication Primer

This whitepaper explains the terminology and concepts behind Data Replication technologies and establishes some sizing rules through worked examples. Learn the new paradigm in disaster tolerance—protect data anywhere.

Download now »

White Paper

An Alternative to Virtualization for Datacenter Cost Savings

Server virtualization is a popular option for dealing with mounting datacenter costs. Another equally promising approach is the use of an Application Delivery Controller. Citrix NetScaler provides a low-cost way for organizations to reduce their server count and accrue cost savings from a reduction in space, cooling, power and personnel.

Download now »

White Paper

Why Your Firewall, VPN, and IEEE 802.11i Aren't Enough to Protect Your Network

The emergence of WLANs has created a new breed of security threats to enterprise networks.

Included in HP ProCurve WLAN solutions is security technology that alleviates threats from WLANs through:
* Monitoring wireless activity inside and out of the enterprise
* Classifying WLAN transmissions into harmful and harmless
* Preventing transmissions that pose a security threat to the enterprise network
* Locating participating devices for physical remediation

Download now »

White Paper

Bringing the Edge to the Data Center

Effectively address data protection challenges, implementing solutions that help store and protect business–critical data while cutting costs and improving efficiency and reliability.

Download now »

Sign up to receive Architecture Resource Alerts

Subscribe to the Today's Headlines: First Look Newsletter

Find out what will be news for the day, with our first-thing-in-the-morning briefing.

©1994-2009 Infoworld, Inc.