首页> 外文期刊>Knowledge and Data Engineering, IEEE Transactions on >Program Transformations for Asynchronous and Batched Query Submission
【24h】

Program Transformations for Asynchronous and Batched Query Submission

机译:异步和批处理查询提交的程序转换

获取原文
获取原文并翻译 | 示例

摘要

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.
机译:通过在需要结果的那一点之前异步提交查询/请求,可以大大提高数据库/ Web服务支持的应用程序的性能,从而可以在实际需要它们时就已经获取了结果。但是,手动编写应用程序以利用异步查询提交是乏味且容易出错的。在本文中,我们解决了将假设同步查询提交的程序自动转换为利用异步查询提交的程序的问题。我们的程序转换方法基于数​​据流分析,并被构造为一组转换示例。我们的示例可以在循环内处理查询执行,这与该领域的一些早期工作不同。我们还提出了一种新颖的方法,该方法在运行时可以将多个异步请求合并为批处理,从而实现了除异步提交之外的批处理优势。我们已经构建了一个工具,该工具可以在使用JDBC调用的Java程序上实现转换技术。我们的工具可以扩展为处理Web服务调用。我们对几种实际应用进行了详细的实验研究,从其适用性和所获得的性能方面来讲,都表明了所提出的重写技术的有效性。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号