Catalogue / soundcloud-2021-backends-for-frontends

SoundCloud runs dozens of Backends for Frontends as its API gateways and reports growing trouble applying authorization across them

SoundCloud, 2021. Backends for Frontends (BFF) API layer.

Organisation
SoundCloud
Evidence
Reported from production
Source
Service Architecture at SoundCloud — Part 1: Backends for Frontends

SoundCloud Developers blog, published 2021-07-29

Records

Decision#d1

Give each client type its own Backend for Frontend instead of one API shared by first-party apps and third parties

Decision#d2

Handle collection pagination recursively in the BFF, as part of a tendency to move client logic there

Sign in to read what was chosen, what was rejected and what it cost, each with its place in the source. An account is free. The job-queue cards are open without one.