Hector:使用不受信任的浏览器配置Web应用程序
Hector: Using Untrusted Browsers to Provision Web Applications
摘要:
Web应用程序正在崛起,并迅速发展成为越来越成熟的替代品。这种颠覆性的趋势主要是由平台独立性和即时部署性的实现驱动的。最重要的是,Web浏览器为分布式交互提供了无缝的浏览器到浏览器通信的机会。在本文中,我们提出了赫克托,一个新的Web应用程序框架,将Web浏览器转换成一个分布式的应用程序为中心的计算平台。Hector能够将应用程序逻辑卸载给用户,从而以更低的延迟改善用户体验,同时为服务提供商带来更少的成本。遵循Function-as-a-Service的编程范式,应用程序被分解为多个功能,因此可以有效地管理它们,并以响应性,可扩展性和轻量级的方式进行部署。在客户端资源短缺或客户端无响应的情况下,执行会退回到传统的基于云的基础设施。Hector将WebAssembly与WebRTC相结合,以接近本机的速度进行多语言计算,实现浏览器到浏览器的通信,以及英特尔Software Guard Extensions提供的可信执行,从而使浏览器可以信任彼此的计算。我们通过实施数字助理和推荐系统来评估Hector。我们的评估表明,Hector实现了更低的最终用户延迟,同时产生比传统部署更少的成本。此外,我们表明,赫克托线性扩展与客户端数量的增加,可以很好地应对无响应的客户端。
英文摘要:
Web applications are on the rise and rapidly evolve into more and more mature replacements for their native counterparts. This disruptive trend is mainly driven by the attainment of platform-independence and instant deployability. On top of this, web browsers offer the opportunity for seamless browser-to-browser communication for distributed interaction. In this paper, we present Hector, a novel web application framework that transforms web browsers into a distributed application-centric computing platform. Hector enables offloading application logic to users, thereby improving user experience with lower latencies while generating less costs for service providers. Following the programming paradigm of Function-as-a-Service, applications are decomposed into functions so they can be managed efficiently and deployed in a responsive, scalable and lightweight fashion. In case of client-side resource shortage or unresponsive clients, execution falls back to a traditional cloud-based infrastructure. Hector combines WebAssembly for multi-language computations at near-native speed, WebRTC for browser-to-browser communication and trusted execution as provided by the Intel Software Guard Extensions so browsers can trust each other's computations. We evaluate Hector by implementing a digital assistant as well as a recommendation system. Our evaluation shows that Hector achieves lower end-user latencies while generating less costs than traditional deployments. Additionally, we show that Hector scales linearly with increasing client numbers and can cope well with unresponsive clients.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。