Microservice architectures emerged as a popular architecture for designing scalable distributed applications. Although microservices have been extensively employed in industry settings for over a decade, there is little understanding of the data management challenges that arise in these applications. As a result, it is difficult to advance data system technologies for supporting microservice applications. To fill this gap, we present Online Marketplace, a microservice benchmark that incorporates core data management challenges that existing benchmarks have not sufficiently addressed. These challenges include transaction processing, query processing, event processing, constraint enforcement, and data replication. We have defined criteria for various data management issues to enable proper comparison across data systems and platforms. After specifying the benchmark, we present the challenges we faced in creating workloads that accurately reflect the dynamic state of the microservices. We also discuss issues that we encountered when implementing Online Marketplace in state-of-the-art data platforms and meeting the criteria. Our evaluation demonstrates that the benchmark is a valuable tool for testing important properties sought by microservice practitioners. As a result, our proposed benchmark will facilitate the design of future data systems to meet the expectations of microservice practitioners.
翻译:微服务架构已成为设计可扩展分布式应用程序的流行架构。尽管微服务在工业环境中已广泛使用超过十年,但人们对这些应用中出现的数据管理挑战仍知之甚少。因此,推进支持微服务应用的数据系统技术面临困难。为填补这一空白,我们提出了Online Marketplace——一个微服务基准测试,它整合了现有基准测试尚未充分解决的核心数据管理挑战。这些挑战包括事务处理、查询处理、事件处理、约束强制实施以及数据复制。我们为各种数据管理问题定义了标准,以便在不同数据系统和平台之间进行合理比较。在明确基准测试规范后,我们介绍了创建准确反映微服务动态状态的工作负载时所面临的挑战。我们还讨论了在最新数据平台上实现Online Marketplace并满足这些标准时遇到的问题。评估结果表明,该基准测试是测试微服务从业者所关注的关键属性的有效工具。因此,我们提出的基准测试将有助于设计满足微服务从业者期望的未来数据系统。