{"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.
从社交网站到银行交易,我们每天都与数据密集型应用程序交互。此类应用程序通常托管在与数据库服务器交互以操作持久数据的应用程序服务器上。为了使这样的应用程序高效,开发人员面临着掌握编程系统和数据库管理系统的复杂性的艰巨任务。例如,虽然许多应用程序特性既可以在应用程序中实现,也可以推送到数据库中,但程序员很难决定将给定的计算放在哪里,因为决策通常是由工作负载驱动的。不幸的是,做出错误的选择往往会导致严重的性能损失。在这次演讲中,我将展示如何同时检查编程系统和数据库管理系统使我们能够显著提高数据密集型应用程序的性能。为了说明这种跨系统优化的机会,我设计、构建并评估了三个系统:综合查询(Query By Synthesis),这是一种将命令式代码编写的功能转换为关系查询的工具;Sloth,一个将嵌入在应用程序中的查询组合成批量的系统;Pyxis是一个在应用程序和数据库服务器之间无缝移动计算的系统。通过使用真实世界的示例,我将展示这些系统在为开发人员保留高级编程接口的同时,允许数量级的性能改进和对不断变化的服务器环境的优雅适应。我将进一步强调将类似技术应用于其他系统问题的研究机会和挑战。