Microservice architectures have become a popular approach for designing scalable distributed applications. Despite their extensive use in industrial settings for over a decade, there is limited understanding of the data management challenges that arise in these applications. Consequently, it has been difficult to advance data system technologies that effectively support microservice applications. To fill this gap, we present Online Marketplace, a microservice benchmark that highlights core data management challenges that existing benchmarks fail to address. 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. Through case studies with state-of-the-art data platforms, we discuss the issues encountered while implementing and meeting Online Marketplace's criteria. By capturing the overhead of meeting the key data management requirements that are overlooked by existing benchmarks, we gain actionable insights into the experimental platforms. This highlights the significance of Online Marketplace in advancing future data systems to meet the needs of microservice practitioners.
翻译:微服务架构已成为设计可扩展分布式应用的主流方法。尽管其在工业环境中已广泛应用超过十年,但人们对于这类应用中涌现的数据管理挑战仍缺乏深入理解。因此,推进能有效支持微服务应用的数据系统技术一直面临困难。为填补这一空白,我们提出了"在线市场"——一个能突显现有基准测试未能涵盖的核心数据管理挑战的微服务基准测试。这些挑战包括事务处理、查询处理、事件处理、约束实施与数据复制。我们针对各类数据管理问题制定了标准化评估准则,以实现跨数据系统与平台的客观比较。通过对前沿数据平台的案例研究,我们探讨了在实现并满足"在线市场"评估准则过程中遇到的关键问题。通过量化现有基准测试所忽视的核心数据管理需求带来的系统开销,我们获得了对实验平台具有实践指导意义的深刻见解。这彰显了"在线市场"基准在推动未来数据系统发展以满足微服务实践者需求方面的重要价值。