统一支付数据在Airbnb的读取
How we redesigned payments data read flow to optimize client integrations, while achieving up to 150x performance gains.
我们如何重新设计支付数据读取流程以优化客户集成,同时实现高达150倍的性能提升。
By: Ali Goksel, Yixia Mao
Introduction
简介
In recent years, Airbnb migrated most of its backend services from a monolith to a service-oriented architecture (SOA). This industry standard architecture brings countless benefits to a company that is at the scale of Airbnb; however, it is not free of challenges. With data scattered across many services, it’s difficult to provide all the information clients need in a simple and performant way, especially for complex domains such as payments. As Airbnb grew, this problem started to crop up for many new initiatives such as host earnings, tax form generation, and payout notifications, all of which required data to be read from the payments system.
近年来,Airbnb将其大部分后端服务从单体迁移到面向服务的架构(SOA)。这种行业标准的架构给像Airbnb这样规模的公司带来了无数的好处;然而,它也不是没有挑战。由于数据分散在许多服务中,因此很难以简单和高性能的方式提供客户需要的所有信息,特别是对于支付等复杂领域。随着Airbnb的发展,这个问题开始出现在许多新举措中,如房东收入、税表生成和支付通知,所有这些都需要从支付系统中读取数据。
In this blog post, we introduce Airbnb’s unified payments data read layer. This read layer was custom built to reduce the friction and complexity for client integrations, while greatly improving query performance and reliability. With this re-architecture, we were able to provide a greatly optimized experience to our host and guest communities, as well as for internal teams in the trust, compliance, and customer support domains.
在这篇博文中,我们介绍了Airbnb的统一支付数据读取层。这个读取层是定制的,以减少客户集成的摩擦和复杂性,同时大大改善查询性能和可靠性。通过这种重新架构,我们能够为我们的房东和客人社区,以及信任、合规和客户支持领域的内部团队提供一个大大优化的体验。
Evolution of Airbnb’s Payments Platform
Airbnb的支付平台的演变
Payments is one of the earliest functionalities of the Airbnb app. Since our co-founder Nate’s first commit, Payments Platform has grown and evolved tremendously, and it continues to evolve at an even faster pace given our expanding global presence.
支付是Airbnb应用程序最早的功能之一。自从我们的联合创始人内特的第一次承诺以来,支付平台已经有了巨大的发展和变化,而且鉴于我们在全球范围内的业务不断扩大,它还在以更快的速度发展。
Similar to other compa...