arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1605.04035cs.DB
收藏

Afterburner:浏览器内分析案例

Afterburner: The Case for In-Browser Analytics

Kareem El Gebaly, Jimmy Lin

摘要:

本文探讨了在纯JavaScript中实现分析型RDBMS的新颖和非传统的想法,以便它完全在浏览器中运行,没有外部依赖。我们的原型,称为Afterburner,生成编译的查询计划,利用类型数组和asm.js,这是JavaScript中两个相对较新的进步。在一些简单的查询中,我们表明Afterburner实现了与在同一台机器上本机运行的MonetDB相当的性能。这是一个有趣的发现,因为它显示了JavaScript作为一个高效的执行平台已经走了多远。除了纯粹的技术好奇心,我们讨论了我们的技术如何支持无处不在的浏览器中的交互式分析(可能与基于浏览器的笔记本电脑集成),也提出了有趣的机会分割执行策略,其中查询运算符分布在浏览器和后端服务器之间。

英文摘要:

This paper explores the novel and unconventional idea of implementing an analytical RDBMS in pure JavaScript so that it runs completely inside a browser with no external dependencies. Our prototype, called Afterburner, generates compiled query plans that exploit typed arrays and asm.js, two relatively recent advances in JavaScript. On a few simple queries, we show that Afterburner achieves comparable performance to MonetDB running natively on the same machine. This is an interesting finding in that it shows how far JavaScript has come as an efficient execution platform. Beyond a mere technical curiosity, we discuss how our techniques could support ubiquitous in-browser interactive analytics (potentially integrating with browser-based notebooks) and also present interesting opportunities for split-execution strategies where query operators are distributed between the browser and backend servers.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑