IDEAS home Printed from https://ideas.repec.org/a/dba/jsppaa/v2y2026i4p53-66.html

A Workload-Aware Hybrid Cache Eviction and Asynchronous Prefetching Strategy for Tail Latency Reduction in Real-Time Streaming Data Pipelines

Author

Listed:
  • Wu, Zetian

Abstract

Real-time streaming data pipelines that feed downstream model inference have become a critical infrastructure component for latency-sensitive analytics and online inference, including operational monitoring, ad-tech serving, and other applications requiring predictable, low-latency processing. While average end-to-end latency in modern stream engines has reached the millisecond level, the 99th-percentile (P99) tail latency often remains an order of magnitude higher than the median and can violate service-level objectives during load spikes and stateful operator stalls. This paper studies the joint optimisation of cache eviction and asynchronous prefetching at the algorithmic layer, without modifying the underlying engine or the inference model. We propose WHEAP (Workload-aware Hybrid Eviction with Asynchronous Prefetching), a strategy that adaptively reweights frequency- and recency-based eviction signals according to online workload skew, and that decouples the data path from state access through key-aware prefetching with a bounded in-flight window. We evaluate WHEAP on three public streaming benchmarks (NEXMark, the Yahoo Streaming Benchmark, and ShuffleBench) for stateful queries with state sizes ranging from 1.2 GB to 4.8 GB and event rates up to 200,000 events per second. Compared with LRU, ARC, and Async+LRU baselines (with LFU also reported on a representative query), WHEAP reduces P99 latency by 18.4% to 27.3% in our experiments while keeping cache hit-rate degradation under 1.6 percentage points and maintaining throughput within 4% of the strongest baseline. Each configuration is repeated three times, and we report the median together with the inter-run spread to characterise statistical variability.

Suggested Citation

  • Wu, Zetian, 2026. "A Workload-Aware Hybrid Cache Eviction and Asynchronous Prefetching Strategy for Tail Latency Reduction in Real-Time Streaming Data Pipelines," Journal of Sustainability, Policy, and Practice, Pinnacle Academic Press, vol. 2(4), pages 53-66.
  • Handle: RePEc:dba:jsppaa:v:2:y:2026:i:4:p:53-66
    as

    Download full text from publisher

    File URL: https://pinnaclepubs.com/index.php/JSPP/article/view/831/796
    Download Restriction: no
    ---><---

    More about this item

    Keywords

    ;
    ;
    ;
    ;

    Statistics

    Access and download statistics

    Corrections

    All material on this site has been provided by the respective publishers and authors. You can help correct errors and omissions. When requesting a correction, please mention this item's handle: RePEc:dba:jsppaa:v:2:y:2026:i:4:p:53-66. See general information about how to correct material in RePEc.

    If you have authored this item and are not yet registered with RePEc, we encourage you to do it here. This allows to link your profile to this item. It also allows you to accept potential citations to this item that we are uncertain about.

    We have no bibliographic references for this item. You can help adding them by using this form .

    If you know of missing items citing this one, you can help us creating those links by adding the relevant references in the same way as above, for each refering item. If you are a registered author of this item, you may also want to check the "citations" tab in your RePEc Author Service profile, as there may be some citations waiting for confirmation.

    For technical questions regarding this item, or to correct its authors, title, abstract, bibliographic or download information, contact: Joseph Clark (email available below). General contact details of provider: https://pinnaclepubs.com/index.php/JSPP .

    Please note that corrections may take a couple of weeks to filter through the various RePEc services.

    IDEAS is a RePEc service. RePEc uses bibliographic data supplied by the respective publishers.