Exploiting SIMD-Ified Bit-Parallelism for High-Performance Complex Event Matching
- 2 December 2025
- journal article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Knowledge and Data Engineering
- Vol. 38 (2) , 1054-1069
Abstract
The advent of Single Instruction Multiple Data (SIMD) instructions in modern processors has revolutionized data processing by enabling simultaneous computation across multiple data elements. While database systems have extensively adopted SIMD for traditional operations, its potential for complex event pattern matching remains largely unexplored. This paper presents a novel approach that bridges this gap through bit-parallel processing enhanced with AVX-512 vectorization. Our approach encodes event streams into compact bit sequences, where each bit corresponds to a time slice, and an event’s presence is marked by a 1-bit when its timestamp falls within the respective slice. This representation enables the formulation of bit-parallel operations that natively enforce complex event constraints, including temporal window requirements and event ordering relationships. We develop a family of bit-parallel algorithms that leverage this representation for continuous event matching, and further optimize their performance through SIMD vectorization (AVX-512 instructions) to exploit modern hardware parallelism. Experimental evaluations on both real-world and synthetic datasets demonstrate the superiority of our method, achieving at least 35.7x improvement in query efficiency compared to state-of-the-art alternatives.Keywords
Funding Information
- National Natural Science Foundation of China (U23A20309)
- National Natural Science Foundation of China (U22A2025)
- National Natural Science Foundation of China (62232007)
- NSF of Liaoning (2025-MS-125)
- Key Laboratory of Rapid Manufacturing for Aircraft, MOE (LJ232410143008)
- Liaoning Provincial Science and Technology Program - Key R&D Program (2025JH2/101800116)
- CCF Alibaba Cloud Yaochi Research Fund (CCF-Aliyun2024006)
This publication has 32 references indexed in Scilit:
- Faster Positional‐Population Counts for AVX2, AVX‐512, and ASIMDConcurrency and Computation: Practice and Experience, 2025
- Parsing Millions of DNS Records Per SecondSoftware: Practice and Experience, 2024
- On‐demand JSON: A better way to parse documents?Software: Practice and Experience, 2024
- Transcoding unicode characters with AVX‐512 instructionsSoftware: Practice and Experience, 2023
- Efficient Structural Matching for RNA Secondary Structure Using Bit-Parallelism2022
- Parsing gigabytes of JSON per secondThe VLDB Journal, 2019
- Complex event recognition in the Big Data era: a surveyThe VLDB Journal, 2019
- CityBench: A Configurable Benchmark to Evaluate RSP Engines Using Smart City Datasets2015
- Pattern Matching over Multi-attribute Data StreamsLecture Notes in Computer Science, 2002
- Fast and practical approximate string matching1992