通过主动代码替换促进OODIDA数据分析平台中的快速原型制作
Facilitating Rapid Prototyping in the OODIDA Data Analytics Platform via Active-Code Replacement
摘要:
OODIDA(车载/非车载分布式数据分析)是一个分布式实时分析平台,目标是汽车行业的参考车辆车队。它的用户是数据分析师。大部分数据分析任务由客户端(板载)执行,而中央云服务器执行补充任务(非板载)。OODIDA可以自动打包和部署,这需要重新启动系统的部分或全部。由于这可能会造成破坏,我们增加了在客户端和服务器上执行用户定义的Python模块的能力。这些模块可以在不重新启动系统的任何部分的情况下被替换;它们甚至可以在正在进行的分配的迭代之间被替换。此功能称为活动代码替换。它促进了用例,例如机器学习算法的迭代A/B测试或动态修改实验算法。结果的一致性是通过多数表决来实现的,这可以防止国家受到污染。在理想化的环境中,活动代码替换可以在不到一秒的时间内完成,而标准部署需要多几个数量级的时间。本文的主要贡献是描述了一个相对简单的方法来替换活动代码,这是非常用户友好的。它使数据分析师能够在云服务器和客户端设备上快速执行自定义代码。合理的保护措施和设计决策确保了此功能可以由不熟悉OODIDA实现的非专家使用,特别是此功能。由于添加了活动代码替换特性,OODIDA现在非常适合快速原型设计。
英文摘要:
OODIDA (On-board/Off-board Distributed Data Analytics) is a platform for distributed real-time analytics, targeting fleets of reference vehicles in the automotive industry. Its users are data analysts. The bulk of the data analytics tasks are performed by clients (on-board), while a central cloud server performs supplementary tasks (off-board). OODIDA can be automatically packaged and deployed, which necessitates restarting parts of the system, or all of it. As this is potentially disruptive, we added the ability to execute user-defined Python modules on clients as well as the server. These modules can be replaced without restarting any part of the system; they can even be replaced between iterations of an ongoing assignment. This feature is referred to as active-code replacement. It facilitates use cases such as iterative A/B testing of machine learning algorithms or modifying experimental algorithms on-the-fly. Consistency of results is achieved by majority vote, which prevents tainted state. Active-code replacement can be done in less than a second in an idealized setting whereas a standard deployment takes many orders of magnitude more time. The main contribution of this paper is the description of a relatively straightforward approach to active-code replacement that is very user-friendly. It enables a data analyst to quickly execute custom code on the cloud server as well as on client devices. Sensible safeguards and design decisions ensure that this feature can be used by non-specialists who are not familiar with the implementation of OODIDA in general or this feature in particular. As a consequence of adding the active-code replacement feature, OODIDA is now very well-suited for rapid prototyping.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。