首页> 外文期刊>Empirical Software Engineering >The modular and feature toggle architectures of Google Chrome
【24h】

The modular and feature toggle architectures of Google Chrome

机译:Google Chrome的模块化和功能切换架构

获取原文
获取原文并翻译 | 示例

摘要

Software features often span multiple directories and conceptual modules making the extraction of feature architectures difficult. In this work, we extract a feature toggle architectural view and show how features span the conceptual, concrete, and reference architectures. Feature toggles are simple conditional flags that allow developers to turn a feature on or off in a running system. They are commonly used by large web companies, including Google, Netflix and Facebook to selectively enable and disable features. Recently, libraries to help inject and manage toggles have been created for all the major programming languages. We extract the feature toggles from the Google Chrome web browser to illustrate their use in understanding the architecture of a system. Since there is no high-level conceptual and concrete architectures for Chrome, we had to manually derive these representations from available documentation and map them into the source code. These modular representations of a modern web browser allowed us to update the 12 year old research on browser reference architectures with current technologies and browser concepts. Mining the usages of feature toggles in the source code, we were able to map them on to the modular representation to create a feature toggle architectural view of Chrome. We are also able to show which features are contained in a module and which modules a feature spans. Throughout the paper, we show how the feature toggle view can give new perspectives into the feature architecture of a system.
机译:软件功能通常跨越多个目录和概念模块,这使得提取功能体系结构变得困难。在这项工作中,我们提取了一个功能切换架构视图,并显示了功能如何跨越概念,具体和参考架构。功能切换是简单的条件标志,允许开发人员在正在运行的系统中打开或关闭功能。大型网络公司(包括Google,Netflix和Facebook)通常使用它们来选择性地启用和禁用功能。最近,已经为所有主要的编程语言创建了帮助注入和管理切换的库。我们从Google Chrome网络浏览器中提取功能切换,以说明它们在理解系统架构中的用法。由于Chrome没有高级的概念和具体架构,因此我们不得不从可用的文档中手动获取这些表示形式,并将其映射到源代码中。现代网络浏览器的这些模块化表示形式使我们能够使用当前技术和浏览器概念来更新有关浏览器参考体系结构的12年研究。在源代码中挖掘功能切换的用法,我们能够将它们映射到模块化表示形式,以创建Chrome的功能切换架构视图。我们还能够显示模块中包含哪些功能以及功能跨越哪些模块。在整篇文章中,我们展示了功能切换视图如何为系统的功能体系结构提供新的视角。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号