首页> 外文会议>International Conference on Web Engineering >WebDelta: Lightweight Migration of Web Applications with Modified Execution State
【24h】

WebDelta: Lightweight Migration of Web Applications with Modified Execution State

机译:WebDelta:具有修改的执行状态的Web应用程序的轻量级迁移

获取原文

摘要

Web applications (apps) can play an important role for the era of ubiquitous computing since they can run on any smart or IoT devices equipped with a browser. This advantage of portability and simplicity can be extended further to allow an interesting user experience called app migration. That is, we can save the execution state of a running web app into a file named snapshot, transmit it to another device, and continue the execution by loading the snapshot. One issue is that saving the whole execution state of a running app including all objects in the runtime heap will be inefficient, since most of the current states are unchanged from the initial state. To reduce this inefficiency, we propose WebDelta which selectively saves only those that are modified from the initial state. This selective snapshot is saved as a patch file so that after migration, once the original app is launched, the current state can be restored by applying the patch file. We model the relationship between the JavaScript objects as a directed graph to efficiently and completely save the delta of the JavaScript state. We solve the challenging issues related to modified closure variables or modified event handlers attached to the DOM objects. Our framework could successfully migrate five real web apps, and we could speed up the total migration time as much as by 2.7x.
机译:Web应用程序可以在任何配备浏览器的智能或物联网设备上运行,因此在无处不在的计算时代可以发挥重要作用。可移植性和简单性的优势可以进一步扩展,以提供一种有趣的用户体验,称为应用程序迁移。也就是说,我们可以将正在运行的Web应用程序的执行状态保存到名为快照的文件中,将其传输到另一台设备,然后通过加载快照来继续执行。一个问题是,保存运行中的应用程序(包括运行时堆中的所有对象)的整个执行状态将效率低下,因为大多数当前状态都与初始状态保持不变。为了减少这种低效率,我们提出了WebDelta,它选择性地仅保存从初始状态修改的那些。该选择性快照将另存为补丁文件,以便在迁移后启动原始应用后,可以通过应用补丁文件来恢复当前状态。我们将JavaScript对象之间的关系建模为有向图,以高效,完全地保存JavaScript状态的变化量。我们解决了与附加到DOM对象的修改的闭包变量或修改的事件处理程序有关的挑战性问题。我们的框架可以成功迁移五个真实的Web应用程序,并且我们可以将总迁移时间加快2.7倍。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号