How We Use Backstage at Spotify

Spotify Engineering
5 min readintermediate
--
View Original

Overview

The article discusses how Spotify utilizes Backstage, its internal developer portal, to streamline developer tasks and enhance productivity. It highlights specific use cases, including creating microservices, managing data pipelines, and searching services, while emphasizing the benefits of a consistent user interface and plugin architecture.

What You'll Learn

1

How to create a microservice using Backstage

2

How to manage data pipelines with Backstage workflows plugin

3

How to search for services in Backstage effectively

Key Questions Answered

What is Backstage and how does Spotify use it?
Backstage is Spotify's developer portal designed to simplify infrastructure management. It allows engineers to create microservices quickly, manage data pipelines, and search for services, all from a unified interface, enhancing productivity and reducing onboarding time.
What are the benefits of using Backstage at Spotify?
Backstage provides a consistent user interface, plugin architecture for scalability, and a centralized ecosystem for managing services. This reduces cognitive load on developers, allowing them to focus on building and debugging, ultimately improving productivity.
How does Backstage improve the developer experience?
By integrating various tools and services into one platform, Backstage reduces the time spent searching for information and managing workflows. This leads to a better developer experience, as evidenced by Spotify cutting engineer onboarding time in half since its adoption.

Key Statistics & Figures

Engineer onboarding time reduction
cut in half
Since adopting Backstage internally

Technologies & Tools

Some links below are affiliate links. We may earn a commission if you make a purchase.

Developer Portal
Backstage
Used for managing infrastructure and improving developer productivity at Spotify
Backend Framework
Spring Boot
Used for creating microservices within Backstage

Key Actionable Insights

1
Implementing Backstage can significantly reduce the time it takes to onboard new engineers.
Spotify has halved its engineer onboarding time since adopting Backstage, demonstrating its effectiveness in streamlining processes and improving new hire integration.
2
Utilizing Backstage's plugin architecture allows for easy integration of new tools.
By writing plugins, teams can customize Backstage to fit their specific workflows, ensuring that the developer portal evolves alongside the organization’s needs.
3
A consistent user interface across components enhances the developer experience.
Once engineers learn to create one type of component in Backstage, they can easily apply that knowledge to other components, reducing the learning curve and increasing efficiency.

Common Pitfalls

1
Failing to leverage Backstage's plugin architecture can lead to missed opportunities for customization.
Without utilizing plugins, teams may struggle with integrating necessary tools, resulting in a fragmented developer experience.

Related Concepts

Microservices Architecture
Data Pipeline Management
Developer Experience Optimization