Hermes: Off-the-Shelf Real-Time Transactional Analytics
Many modern applications require real-time analytics, where analytical processing (AP) workloads needs access to the latest data updates from a transactional processing (TP) engine. However, managing separate TP and AP engines across teams complicates achieving real-time analytics without switching to specialized HTAP systems. To address this challenge, we introduce off-the-shelf real-time analytics , a system design that leverages the existing TP and AP engines to provide (1) the latest transactional updates for analytical queries and (2) support for efficient transactional analytics-transactions that combine transactional logic and analytical queries within a single ACID transaction-at various isolation levels. We demonstrate this concept with a new service called Hermes , which acts as a middleware that merges log records with analytical reads without altering existing engines. Our evaluation utilizes two AP engines, FlexPushdownDB and DuckDB , with MySQL as the TP engine. Using the HATtrick benchmark and a new workload called Transactional Analytics Workload (TAW), we compare Hermes with the leading HTAP solution, TiDB. Our results indicate that Hermes performs comparably to current HTAP solutions for real-time analytics and surpasses them by 3× in transactional analytics performance.
Authors
- Elena Milkai
- Jignesh M. Patel (ORCID: https://orcid.org/0000-0003-3653-2538)
- Xiangyao Yu (ORCID: https://orcid.org/0009-0001-0785-2519)
Institutions
- University of Wisconsin–Madison (US)
- Carnegie Mellon University (US)
Publication Details
- Journal
- Proceedings of the VLDB Endowment
- Published
- 2025-04-01
- DOI
- https://doi.org/10.14778/3742728.3742731
- Primary Topic
- Peer-to-Peer Network Technologies
- Type
- article
- Field-Weighted Citation Impact
- 0.00