• Home
  • Search
  • Real-time state management techniques using RocksDB: A high-performance approach to scalable stream processing
  • Cite Icon1
  • https://doi.org/10.30574/ijsra.2024.12.1.0867Copy DOI Icon

Real-time state management techniques using RocksDB: A high-performance approach to scalable stream processing

Show More
  • Abstract
  • Literature Map
  • Citations
  • Similar Papers
Abstract

The proliferation of real-time artificial intelligence (AI) and machine learning (ML) systems has amplified the demand for robust, low-latency state management techniques capable of operating at scale. From streaming feature extraction to online model inference and complex event processing, stateful operations lie at the core of intelligent data-driven pipelines. However, managing this state in distributed environments presents numerous challenges, including fault tolerance, efficient recovery, incremental updates, and tight latency budgets. This paper explores RocksDB, a high-performance, embeddable key-value store based on a log-structured merge-tree (LSM) architecture, as a state backend solution for real-time applications. We delve into the internal mechanisms that make RocksDB particularly well-suited for low-latency, high-throughput workloads, such as background compaction, memory/disk tiering, and custom serialization strategies. The article details practical integration techniques with distributed stream processing engines such as Apache Flink and Kafka Streams, emphasizing checkpointing, state TTL, and asynchronous snapshotting. We also introduce a set of design patterns for real-time AI/ML applications — including online feature stores, real-time recommender systems, and stateful anomaly detection — and show how RocksDB enables efficient, fault-tolerant management of evolving application state. Through empirical evaluations, we benchmark performance trade-offs between RocksDB and alternative backends (e.g., in-memory, Redis, Cassandra), and present optimizations that significantly improve state access latency, recovery time, and disk footprint. By providing a comprehensive review of RocksDB’s role in real-time state management, this work serves as both a scholarly reference and a practical guide for engineers, researchers, and system architects building the next generation of AI/ML-driven streaming systems.

Similar Papers
  • Conference Article
  • Citations3

High Performance Distributed In-Memory Architectures for Trade Surveillance System

  • Jun 01, 2018
  • Rishikesh Bansod +5
  • Research Article
  • Citations2

Distributed and parallel processing for real-time and dynamic spatio-temporal graph

  • Nov 18, 2019
  • World Wide Web
  • Junhua Fang +5
  • Research Article
  • Citations4

Survey of Applications of Complex Event Processing (CEP) in Health Domain

  • Dec 31, 2017
  • Sukkur IBA Journal of Computing and Mathematical Sciences
  • Nadeem Mahmood +2
  • Research Article
  • Citations16

Distributed Join Processing Between Streaming and Stored Big Data Under the Micro-Batch Model

  • Jan 01, 2019
  • IEEE Access
  • Young-Ho Jeon +2
  • Conference Article
  • Citations3

A-SAS: An Adaptive High-Availability Scheme for Distributed Stream Processing Systems

  • Jan 01, 2010
  • Hiroaki Shiokawa +2
  • Research Article

Development of a standardized approach for evaluating business insights in stream processing systems based on technical metrics

  • Mar 31, 2025
  • Technology audit and production reserves
  • Artem Bashtovyi +1
  • Research Article
  • Citations5

Evaluating the integration of Esper complex event processing engine and message brokers

  • Jul 12, 2023
  • PeerJ Computer Science
  • Guadalupe Ortiz +3
  • Conference Article
  • Citations4

An event processing approach to text stream analysis

  • May 26, 2014
  • Andreas Bauer +1
  • PDF
  • Research Article
  • Citations40

A Distributed Stream Processing Middleware Framework for Real-Time Analysis of Heterogeneous Data on Big Data Platform: Case of Environmental Monitoring

  • Jun 03, 2020
  • Sensors (Basel, Switzerland)
  • Adeyinka Akanbi +1
  • Research Article
  • Citations100

Recent Advancements in Event Processing

  • Feb 13, 2018
  • ACM Computing Surveys
  • Miyuru Dayarathna +1
  • Book Chapter
  • Citations6

Constructing Event Processing Systems of Layered and Heterogeneous Events with SPARQL

  • Jan 01, 2014
  • Mikko Rinne +1
  • Research Article
  • Citations3

Attributed Graph Rewriting for Complex Event Processing Self-Management

  • Sep 20, 2016
  • ACM Transactions on Autonomous and Adaptive Systems
  • Wilson A Higashino +4
  • Book Chapter

Streaming Data Processing forIoT

  • Mar 06, 2020
  • The Internet of Things
  • Carolina Fortuna +1
  • Research Article
  • Citations10

Approach for Defining Rules in the Context of Complex Event Processing

  • Jan 01, 2018
  • Procedia CIRP
  • Julia Pielmeier +2
  • Conference Article
  • Citations43

Big Data Stream Learning with SAMOA

  • Dec 01, 2014
  • Albert Bifet +1
Cactus Communications logo

Copyright 2026 Cactus Communications. All rights reserved.