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.
翻译:微服务架构已成为设计可扩展分布式应用的主流方法。尽管其在工业环境中已广泛应用超过十年,但人们对于这类应用中产生的数据管理挑战仍缺乏深入理解。因此,推进能够有效支持微服务应用的数据系统技术一直面临困难。为填补这一空白,我们提出了Online Marketplace——一个微服务基准测试,旨在突显现有基准测试未能解决的核心数据管理挑战。这些挑战包括事务处理、查询处理、事件处理、约束执行和数据复制。我们针对各类数据管理问题制定了标准化评估准则,以实现跨数据系统和平台的合理比较。通过对前沿数据平台的案例研究,我们探讨了在实现和满足Online Marketplace准则过程中遇到的问题。通过量化满足现有基准测试所忽视的关键数据管理需求所产生的开销,我们获得了对实验平台具有指导意义的实践洞察。这彰显了Online Marketplace在推动未来数据系统发展以满足微服务实践者需求方面的重要意义。