Summary
When large‐scale content‐based publish/subscribe systems face dynamic workloads, it is challenging to stabilize event delivery latency. In this article, we propose a latency‐aware parallelism framework (Lap) to address this challenge. Specifically, we propose a lightweight parallelism method called PhSIH for event matching algorithms. In addition, we design a reactive parallelism degree adjustment (RPDA) mechanism in the backpressure way to determine the parallelism degree. We implement Lap in Apache Kafka and evaluate the parallelism effect of PhSIH and the adaptability of RPDA on trace data. The experiment results demonstrate that PhSIH achieves linear speedup on three existing algorithms and RPDA possesses a desirable adaptability to the dynamic workloads.