Skip to main content
QUICK REVIEW

[Paper Review] Boosting XML Filtering with a Scalable FPGA-based Architecture

Abhishek Mitra, Marcos R. Vieira|ArXiv.org|Sep 9, 2009
Advanced Database Systems and QueriesComputer Science21 references39 citations
TL;DR

This paper proposes a pure hardware, FPGA-based architecture for accelerating XML filtering in publish-subscribe systems by translating XPath queries into regular expressions and implementing them on FPGAs using on-chip stacks for scalable, high-throughput path query processing. The approach achieves over tenfold improvement in throughput compared to traditional software or hybrid systems by eliminating inter-processor communication overhead through co-located parsing and filtering on a single FPGA device.

ABSTRACT

The growing amount of XML encoded data exchanged over the Internet increases the importance of XML based publish-subscribe (pub-sub) and content based routing systems. The input in such systems typically consists of a stream of XML documents and a set of user subscriptions expressed as XML queries. The pub-sub system then filters the published documents and passes them to the subscribers. Pub-sub systems are characterized by very high input ratios, therefore the processing time is critical. In this paper we propose a "pure hardware" based solution, which utilizes XPath query blocks on FPGA to solve the filtering problem. By utilizing the high throughput that an FPGA provides for parallel processing, our approach achieves drastically better throughput than the existing software or mixed (hardware/software) architectures. The XPath queries (subscriptions) are translated to regular expressions which are then mapped to FPGA devices. By introducing stacks within the FPGA we are able to express and process a wide range of path queries very efficiently, on a scalable environment. Moreover, the fact that the parser and the filter processing are performed on the same FPGA chip, eliminates expensive communication costs (that a multi-core system would need) thus enabling very fast and efficient pipelining. Our experimental evaluation reveals more than one order of magnitude improvement compared to traditional pub/sub systems.

Motivation & Objective

  • To address the performance bottleneck in high-throughput XML-based publish-subscribe systems due to increasing data volume and complex filtering workloads.
  • To eliminate communication latency and improve throughput by co-locating XML parsing and filtering logic on a single FPGA device.
  • To enable scalable, high-throughput XML filtering using a pure hardware solution that supports a wide range of XPath queries.
  • To achieve significantly higher processing rates than existing software or mixed hardware/software architectures.

Proposed method

  • Translating user-specified XPath queries into equivalent regular expressions for efficient hardware mapping.
  • Implementing the regular expression engines on FPGAs using a scalable, stack-based architecture to handle hierarchical path expressions.
  • Embedding both the XML parser and the filter logic within the same FPGA to enable low-latency, pipelined processing.
  • Utilizing parallelism and hardware-level optimization to achieve high throughput for streaming XML documents.
  • Designing a modular, scalable FPGA architecture that supports dynamic query updates and efficient resource utilization.
  • Minimizing data movement by keeping all processing stages—parsing, matching, and filtering—within a single FPGA device.

Experimental results

Research questions

  • RQ1Can a pure hardware FPGA-based architecture achieve significantly higher throughput than software or hybrid systems for XML filtering in pub-sub systems?
  • RQ2How can XPath queries be effectively translated into regular expressions suitable for efficient FPGA implementation?
  • RQ3What architectural techniques enable scalable and high-throughput processing of hierarchical XML path queries on FPGAs?
  • RQ4To what extent does co-locating parsing and filtering logic on a single FPGA reduce latency and communication overhead?
  • RQ5What performance gains are achievable in terms of throughput and scalability using this FPGA-native approach?

Key findings

  • The proposed FPGA-based architecture achieves more than a tenfold improvement in throughput compared to traditional software-based pub-sub systems.
  • The integration of parsing and filtering on the same FPGA chip eliminates costly inter-processor communication, enabling efficient pipelining and low-latency operation.
  • The use of on-chip stacks allows efficient expression and processing of a wide range of path queries, supporting complex XPath patterns.
  • The hardware mapping of XPath to regular expressions enables high-throughput, scalable processing suitable for real-time XML stream workloads.
  • The system demonstrates strong scalability, making it suitable for deployment in high-volume, low-latency content-based routing environments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.