Ultraverse: A System-Centric Framework for Efficient What-If Analysis for Database-Intensive Web Applications

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Ko, Ronny, Xiao, Chuan, Onizuka, Makoto, Huang, Yihe, Lin, Zhiqiang
Format: Preprint
Published: 2022
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909469674307584
author Ko, Ronny
Xiao, Chuan
Onizuka, Makoto
Huang, Yihe
Lin, Zhiqiang
author_facet Ko, Ronny
Xiao, Chuan
Onizuka, Makoto
Huang, Yihe
Lin, Zhiqiang
contents Existing what-if analysis systems are predominantly tailored to operate on either only the application layer or only the database layer of software. This isolated approach limits their effectiveness in scenarios where intensive interaction between applications and database systems occurs. To address this gap, we introduce Ultraverse, a what-if analysis framework that seamlessly integrates both application and database layers. Ultraverse employs dynamic symbolic execution to effectively translate application code into compact SQL procedure representations, thereby synchronizing application semantics at both SQL and application levels during what-if replays. A novel aspect of Ultraverse is its use of advanced query dependency analysis, which serves two key purposes: (1) it eliminates the need to replay irrelevant transactions that do not influence the outcome, and (2) it facilitates parallel replay of mutually independent transactions, significantly enhancing the analysis efficiency. Ultraverse is applicable to existing unmodified database systems and legacy application codes. Our extensive evaluations of the framework have demonstrated remarkable improvements in what-if analysis speed, achieving performance gains ranging from 7.7x to 291x across diverse benchmarks.
format Preprint
id arxiv_https___arxiv_org_abs_2211_05327
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Ultraverse: A System-Centric Framework for Efficient What-If Analysis for Database-Intensive Web Applications
Ko, Ronny
Xiao, Chuan
Onizuka, Makoto
Huang, Yihe
Lin, Zhiqiang
Databases
Software Engineering
Existing what-if analysis systems are predominantly tailored to operate on either only the application layer or only the database layer of software. This isolated approach limits their effectiveness in scenarios where intensive interaction between applications and database systems occurs. To address this gap, we introduce Ultraverse, a what-if analysis framework that seamlessly integrates both application and database layers. Ultraverse employs dynamic symbolic execution to effectively translate application code into compact SQL procedure representations, thereby synchronizing application semantics at both SQL and application levels during what-if replays. A novel aspect of Ultraverse is its use of advanced query dependency analysis, which serves two key purposes: (1) it eliminates the need to replay irrelevant transactions that do not influence the outcome, and (2) it facilitates parallel replay of mutually independent transactions, significantly enhancing the analysis efficiency. Ultraverse is applicable to existing unmodified database systems and legacy application codes. Our extensive evaluations of the framework have demonstrated remarkable improvements in what-if analysis speed, achieving performance gains ranging from 7.7x to 291x across diverse benchmarks.
title Ultraverse: A System-Centric Framework for Efficient What-If Analysis for Database-Intensive Web Applications
topic Databases
Software Engineering
url https://arxiv.org/abs/2211.05327