Upcoming Events

Executive conference

Cloud Connect March 16-18

Comprehensive thought leadership for executives, IT professionals and developers. Topics include: the ROI, cost and economics of on-demand computing; Migration strategies to move from on-premise to cloud-based IT; Vertical cloud specialization, tailoring features and architectures to specific applications, industries, and customer ecosystems

More Events »

Subscribe to Newsletter

  • Keep up with all of the latest news and analysis on the fast-moving IT industry with Network Computing newsletters.
Sign Up
Network + Systems Infrastructure
S N E A K   P R E V I E W  
XML Translations With a Kick

  October 21, 2002
  By Lori MacVittie


TOC Issue TOC
Printer Print full article
E-Mail E-Mail this URL
flameauthor Flame the author

The use of XSLT (Extensible Stylesheet Language Transformations) as the forum for transforming XML (Extensible Markup Language) into the appropriate format for display on various devices has increased dramatically in the last few years. XSL engines--including Microsoft's XML Core Services, The Apache Project's Xalan and proprietary engines found in applications servers--are working overtime as they attempt to perform increasingly complex XSLT.

Data Power's XA35 XML Accelerator, a mean, green XSLT machine, leaves the others in the dust. The 1U network device acts as a supercharged XSLT engine, dramatically decreasing the time required to perform XSLT on XML documents. With four 10/100 Ethernet ports, the XA35 provides the throughput necessary to serve up transformed XML and the horsepower to perform transformations lickety-split.


At the heart of the XA35 is its proprietary XG3 technology, which performs the processing of XSL in hardware. With 2 GB of RAM and no moving parts, the XA35 uses only flash storage. Its VRRP (Virtual Router Redundancy Protocol)-based failover provides redundancy for mission-critical applications. Built for reliability and speed, the XA35 can be deployed in co-processor (side-arm) mode, in-line in proxy mode, or both modes simultaneously.

Configuration is accomplished via telnet or SSH, but both are disabled by default for security reasons. A separate 10/100-Mbps management port can be used to provide management access. Initial configuration via the console is straightforward, but you must use the command-line interface. The company says it has plans to expose some of the configuration and the performance statistics gathered by the XA35 in a graphical interface. The XA35 gathers statistics on throughput and number of transactions processed by the unit in several intervals--5 minutes, 30 minutes and the past 24 hours.

Although the $54,995 price tag of a single XA35 may sound expensive, when you add up the purchase and maintenance costs of servers the XA35 lets you decommission or simply not purchase, the product is well worth its price if XSLT is a part of your mission-critical infrastructure.

Transformations

Good
  • Supports XML Pipelining.
  • Works with market-leading XML editor, XML Spy.
  • CLI uses familiar IOS-like commands.

    Bad
  • Lacks SNMP management/monitoring capabilities.
  • If the device fails in proxy mode all traffic will stop, making it a single point of failure if not deployed in a redundant configuration.

  • The XA35 moves application-level processing onto the network. Although the product is a network device, it should also be thought of as an XSLT engine that can be accessed by developers via several languages, including C/C++ and Java (JAXR). I deployed an XA35 in proxy mode in our Green Bay, Wis., Real-World Labs® and set it to work accelerating some heavy-duty XSL transformations on large (400 KB) XML files served by an Apache Web server and a Caw Networks WebAvalanche device to simulate Web users.

    Much like any other Layer 7 device in proxy mode, the XA35 accepts requests from clients and processes them by communicating with configured back-end servers. When the XA35 receives a request, it gets the XML from the back-end server, then determines the XSL to be applied. If the XSL has been previously processed and compiled down to machine code by the XA35, it will be found in the cache on the device, applied to the XML and returned to the client. If the XSL is not in cache, it will be retrieved from the back-end server, compiled and cached.

    In co-processor mode, the XA35 is invoked by the calling application. The XA35 works with Altova's XML Spy, which lets developers test and deploy their XSL via the XA35 right from the IDE, much in the same manner that other IDEs provide deployment of code from the desktop to the server. Because the XA35 can perform in both modes at the same time, it can provide proxy services for multiple applications. The XA35 also offers URL rewriting and basic Layer 7 routing functionality based on any HTTP header, including SOAP (Simple Object Access Protocol) headers.

    By using the XA35 as the XSLT engine of choice for an enterprise, XSLT can be standardized across applications without fear of introducing quirky behavior as the result of XSL transformations performed in disparate engines.

    Benchmark Tests

    I used ApacheBench and combined an Apache Web server, a Tomcat servlet engine, the commonly used Xalan XSLT engine and an IBM JVM to create benchmarks. I processed 400 KB of XML and associated 400 KB of XSL (real-life examples from a com-pany utilizing XML and XSLT). The results were abysmal--it took 132 seconds for the Xalan to process 25 transactions; it took the XA35 a mere 1.8 seconds to do the same.

    Vendor Info
    XA35 XML Accelerator, starts at $54,995. DataPower Technology, (617) 864-0455. (800) 356-0912. www.datapower.com

    Just to be sure I pushed the same 400 KB of XML and 400 KB of XSL through Caw's WebAvalanche. The Xalan combination attempted 43 transactions in 3.5 minutes but served only 13 successfully. Astonishingly, the XA35, processing the same files in proxy mode, was able to attempt 1,292 transactions in the same time period, failing to successfully process only one of those transactions. The remarkable difference gives credence to Data Power's claims that the XA35 provides huge performance gains over software-based XSLT engines.

    SSL (Secure Sockets Layer) support, both client-to-XA35 and XA35-to-back-end devices, is available for an additional $10,000. SSL acceleration is provided via the latest Broadcom chipset, and the company claims the chipset can handle 4,000 transactions per second.

    Lori MacVittie is a technology editor for Network Computing. Write to her at lmacvittie@nwc.com.




    Best of the Web

    Data deduplication: Declawing the clones

    Data deduplication is emerging as a critically important new arrow in the storage administrator's quiver to answer hard questions about the increasing problem in storage growth costs.

    Quick Read

    Compression, Encryption, Deduplication, and Replication: Strange Bedfellows

    One of the great ironies of storage technology is the inverse relationship between efficiency and security: Adding performance or reducing storage requirements almost always results in reducing the confidentiality, integrity, or availability of a system.

    Quick Read

    WAN Optimization Whitelists and Blacklists

    Optimization is a fantastic way of saving money and creating really happy customers at the same time, but it doesn't work flawlessly for all applications.

    Quick Read

    WAN Optimization as a Managed Service: It's Not About the Cost

    This insight examines how organizations outsourcing their WAN optimization initiatives to a third-party go about achieving their goals for application performance, reducing operational costs, and streamlining enterprise infrastructure.

    Quick Read

      Sponsored Links

    Premium Content

    Next Generation Data Center, Delivered, November 17th
    NWC


    Salary

    Video