利用基于FPGA的可扩展架构提升XML滤波
Boosting XML Filtering with a Scalable FPGA-based Architecture
摘要:
在因特网上交换的XML编码数据量的增长增加了基于XML的发布-订阅(pub-sub)和基于内容的路由系统的重要性。这种系统中的输入通常由XML文档流和一组表示为XML查询的用户订阅组成。然后,发布-订阅系统过滤已发布的文档并将其传递给订阅者。发布-订阅系统的特点是非常高的输入比,因此处理时间是关键的。在本文中,我们提出了一个“纯硬件”的解决方案,它利用FPGA上的查询块来解决过滤问题。通过利用FPGA为并行处理提供的高吞吐量,我们的方法比现有的软件或混合(硬件/软件)架构实现了更好的吞吐量。将XML查询(订阅)转换为正则表达式,然后将其映射到FPGA设备。通过在FPGA中引入堆栈,我们能够在可扩展的环境中非常有效地表达和处理各种路径查询。此外,解析器和滤波器处理在同一FPGA芯片上执行的事实消除了昂贵的通信成本(多核系统将需要),从而实现非常快速和有效的流水线。我们的实验评估表明,超过一个数量级的改进相比,传统的发布/订阅系统。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。