Program Transformations for Asynchronous and Batched Query Submission

被引:12
|
作者
Ramachandra, Karthik [1 ]
Chavan, Mahendra [2 ]
Guravannavar, Ravindra [3 ]
Sudarshan, S. [1 ]
机构
[1] Indian Inst Technol, Dept Comp Sci & Engn, Bombay 400076, Maharashtra, India
[2] SAP, Pune, Maharashtra, India
[3] IIT Hyderabad, Dept Comp Sci & Engn, Hyderabad, Andhra Pradesh, India
关键词
Query optimization; program analysis; program transformation; PREFETCH;
D O I
10.1109/TKDE.2014.2334302
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The performance of database/web-service backed applications can be significantly improved by asynchronous submission of queries/requests well ahead of the point where the results are needed, so that results are likely to have been fetched already when they are actually needed. However, manually writing applications to exploit asynchronous query submission is tedious and error-prone. In this paper, we address the issue of automatically transforming a program written assuming synchronous query submission, to one that exploits asynchronous query submission. Our program transformation method is based on data flow analysis and is framed as a set of transformation examples. Our examples can handle query executions within loops, unlike some of the earlier work in this area. We also present a novel approach that, at runtime, can combine multiple asynchronous requests into batches, thereby achieving the benefits of batching in addition to that of asynchronous submission. We have built a tool that implements our transformation techniques on Java programs that use JDBC calls; our tool can be extended to handle Web service calls. We have carried out a detailed experimental study on several real-life applications, which shows the effectiveness of the proposed rewrite techniques, both in terms of their applicability and the performance gains achieved.
引用
收藏
页码:531 / 544
页数:14
相关论文
共 50 条
  • [21] Batch Model for Batched Timestamps Data Analysis with Application to the SSA Disability Program
    Yue, Qingqi
    Yuan, Ao
    Che, Xuan
    Huynh, Minh
    Zhou, Chunxiao
    KDD'16: PROCEEDINGS OF THE 22ND ACM SIGKDD INTERNATIONAL CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, 2016, : 343 - 352
  • [22] Analysis and Transformations for Efficient Query-based Debugging
    Gorbovitski, Michael
    Tekle, K. Tuncay
    Rothamel, Tom
    Stoller, Scott D.
    Liu, Yanhong A.
    EIGHTH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS, 2008, : 174 - 183
  • [23] Evaluation of Query Transformations without Data Short paper
    David, Jerome
    Euzenat, Jerome
    Geneves, Pierre
    Layaida, Nabil
    COMPANION PROCEEDINGS OF THE WORLD WIDE WEB CONFERENCE 2018 (WWW 2018), 2018, : 1599 - 1602
  • [24] Query transformations and their role in Web searching by the general public
    Whittle, Martin
    Eaglestone, Barry
    Ford, Nigel
    Gillet, Valerie J.
    Madden, Andrew
    INFORMATION RESEARCH-AN INTERNATIONAL ELECTRONIC JOURNAL, 2006, 12 (01):
  • [25] Open unification for program query languages
    Brichau, Johan
    De Roover, Coen
    Mens, Kim
    SCCC 2007: XXVI INTERNATIONAL CONFERENCE OF THE CHILEAN SOCIETY OF COMPUTER SCIENCE, PROCEEDINGS, 2007, : 92 - +
  • [26] Query-Driven Program Testing
    Holzer, Andreas
    Schallhart, Christian
    Tautschnig, Michael
    Veith, Helmut
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, 2009, 5403 : 151 - 166
  • [27] Query technologies and applications for program comprehension
    Verbaere, Mathieu
    Godfrey, Michael W.
    Girba, Tudor
    PROCEEDINGS OF THE 16TH IEEE INTERNATIONAL CONFERENCE ON PROGRAM COMPREHENSION, 2008, : 283 - 286
  • [28] Acoustic adaptation to dynamic background conditions with asynchronous transformations
    Saz, Oscar
    Hain, Thomas
    COMPUTER SPEECH AND LANGUAGE, 2017, 41 : 180 - 194
  • [29] Behavioral transformations to increase noise immunity in asynchronous specifications
    Taubin, A
    Kondratyev, A
    Cortadella, J
    Lavagno, L
    FIFTH INTERNATIONAL SYMPOSIUM ON ADVANCED RESEARCH IN ASYNCHRONOUS CIRCUITS AND SYSTEMS - PROCEEDINGS, 1999, : 36 - 47
  • [30] Transformations for the synthesis and optimization of asynchronous distributed control.
    Theobald, M
    Nowick, SM
    38TH DESIGN AUTOMATION CONFERENCE PROCEEDINGS 2001, 2001, : 263 - 268