Rethinking the application-database interface

PFSW '14 Pub Date : 2014-06-23 DOI:10.1145/2603941.2603947
Alvin Cheung
{"title":"Rethinking the application-database interface","authors":"Alvin Cheung","doi":"10.1145/2603941.2603947","DOIUrl":null,"url":null,"abstract":"From social networking websites to bank transactions, we interact with data-intensive applications every day. Such applications are typically hosted on an application server that interacts with a database server to manipulate persistent data. To make such applications efficient, developers face the daunting task of mastering the intricacies of both the programming system and the database management system. For instance, while many application features can be implemented in either the application or pushed into the database, it is difficult for a programmer to decide where to place a given computation as the decision is typically workload-driven. Unfortunately, making the wrong choice often results in drastic performance hit.\n In this talk, I will show how examining both the programming system and the database management system at the same time allows us to significantly improve the performance of data-intensive applications. To illustrate such cross-system optimization opportunities, I have designed, built, and evaluated three systems: Query By Synthesis, a tool that converts functionality written as imperative code into relational queries; Sloth, a system that combines queries embedded in applications into batches; and Pyxis, a system that seamlessly moves computation between application and database servers. Using real-world examples, I will show that these systems allow orders of magnitude performance improvement and graceful adaptation to changing server environments while preserving the high-level programming interface to the developer. I will furthermore highlight research opportunities and challenges in applying similar techniques to other system problems.","PeriodicalId":358865,"journal":{"name":"PFSW '14","volume":"133 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2014-06-23","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"PFSW '14","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/2603941.2603947","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

From social networking websites to bank transactions, we interact with data-intensive applications every day. Such applications are typically hosted on an application server that interacts with a database server to manipulate persistent data. To make such applications efficient, developers face the daunting task of mastering the intricacies of both the programming system and the database management system. For instance, while many application features can be implemented in either the application or pushed into the database, it is difficult for a programmer to decide where to place a given computation as the decision is typically workload-driven. Unfortunately, making the wrong choice often results in drastic performance hit. In this talk, I will show how examining both the programming system and the database management system at the same time allows us to significantly improve the performance of data-intensive applications. To illustrate such cross-system optimization opportunities, I have designed, built, and evaluated three systems: Query By Synthesis, a tool that converts functionality written as imperative code into relational queries; Sloth, a system that combines queries embedded in applications into batches; and Pyxis, a system that seamlessly moves computation between application and database servers. Using real-world examples, I will show that these systems allow orders of magnitude performance improvement and graceful adaptation to changing server environments while preserving the high-level programming interface to the developer. I will furthermore highlight research opportunities and challenges in applying similar techniques to other system problems.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
重新考虑应用程序-数据库接口
从社交网站到银行交易,我们每天都与数据密集型应用程序交互。此类应用程序通常托管在与数据库服务器交互以操作持久数据的应用程序服务器上。为了使这样的应用程序高效,开发人员面临着掌握编程系统和数据库管理系统的复杂性的艰巨任务。例如,虽然许多应用程序特性既可以在应用程序中实现,也可以推送到数据库中,但程序员很难决定将给定的计算放在哪里,因为决策通常是由工作负载驱动的。不幸的是,做出错误的选择往往会导致严重的性能损失。在这次演讲中,我将展示如何同时检查编程系统和数据库管理系统使我们能够显著提高数据密集型应用程序的性能。为了说明这种跨系统优化的机会,我设计、构建并评估了三个系统:综合查询(Query By Synthesis),这是一种将命令式代码编写的功能转换为关系查询的工具;Sloth,一个将嵌入在应用程序中的查询组合成批量的系统;Pyxis是一个在应用程序和数据库服务器之间无缝移动计算的系统。通过使用真实世界的示例,我将展示这些系统在为开发人员保留高级编程接口的同时,允许数量级的性能改进和对不断变化的服务器环境的优雅适应。我将进一步强调将类似技术应用于其他系统问题的研究机会和挑战。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Rethinking the application-database interface Building an extensible file system via policy-based data management Creating a programmable object storage stack QoS-aware storage virtualization for cloud file systems
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1