使用Google Cloud Spanner构建Uber的地球规模的履行平台

This article is the second in a series covering how Uber’s fulfillment engineering team re-architectured Uber’s fulfillment engine to support new flows across Mobility and Delivery verticals and help scale to the next phase of Uber’s growth.
本文是该系列的第二篇,介绍了Uber的执行工程团队如何重新架构Uber的执行引擎,以支持移动和交付垂直领域的新流程,并帮助扩展到Uber的下一个增长阶段。
Introduction
简介
The Fulfillment Platform is a foundational Uber domain that enables the rapid scaling of new verticals. The platform handles billions of database transactions each day, ranging from user actions (e.g., a driver starting a trip) and system actions (e.g., creating an offer to match a trip with a driver) to periodic location updates (e.g., recalculating eligible products for a driver when their location changes). The platform handles millions of concurrent users and billions of trips per month across over ten thousand cities and billions of database transactions a day.
履行平台是Uber的一个基础领域,能够快速扩展新的垂直领域。该平台每天处理数十亿的数据库事务,从用户行为(例如,司机开始旅行)和系统行为(例如,创建一个报价以匹配司机的旅行)到定期的位置更新(例如,当司机的位置发生变化时,为其重新计算合格的产品)。该平台每月处理超过一万个城市的数百万并发用户和数十亿次出行,每天处理数十亿次数据库交易。
In the previous article, we introduced the Fulfillment domain, highlighted challenges in the previous architecture, and outlined the new architecture.
在上一篇文章中,我们介绍了Fulfillment领域,强调了以前架构中的挑战,并概述了新的架构。
When designing the new architecture, we converged on leveraging Google’s Cloud Spanner, a NewSQL storage engine to satisfy the requirements of transactional consistency, horizontal scalability, and low operational overhead. This article describes how we leveraged Cloud Spanner for planet-scale architecture without sacrificing consistency guarantees and with low operational overhead.
在设计新的架构时,我们趋向于利用谷歌的Cloud Spanner,一个NewSQL存储引擎来满足交易一致性、水平可扩展性和低运营开销的要求。这篇文章描述了我们如何在不牺牲一致性保证和低运营开销的情况下,利用Cloud Spanner进行星球级架构。
Fulfillment Storage Evolution
履约存储的演变
Since the inception of Uber, the Fulfillment stack went through fundamental transitions that completely changed how the application and storage layer is designed to support the growing needs of Uber. To introduce Cloud Sp...