2 min read

The Journey into Microservices at SoundCloud

By sayoneadmin Sept. 7, 2021, 10:35 a.m. Application development company
Share This Article
Modern commerce - It's evolution from the monolith to microservices

The challenges posed by the market led to the development of modern MACH principles-based solutions.

Download Ebook

Establishing microservices at SoundCloud was the only way to go when the growth of the database in the organization exceeded the ability they possessed to support it.

Table of Contents

Subscribe to
Our Blog

We're committed to your privacy. SayOne uses the information you provide to us to contact you about our relevant content, products, and services. check out our privacy policy.

The Journey into Microservices at SoundCloud

SoundCloud is a company that allows millions of people to enjoy online music for free. This said, programmers at SoundCloud do not have an easy job.

Microservices at SoundCloud – How it all started

Just as most companies do, SoundCloud started with a monolithic architectural system, just like most businesses do. Like other successful businesses, SoundCloud’s business also grew. Their service has also become more popular.

In 2014, SoundCould hosted only about 12 hours of music. However, demand soon surged to huge levels, with hundreds of millions of people using the platform on a daily basis. This led to problems such as communication overhead, unnecessary friction, and delays.

For scalable and well-performing microservices, get in touch with SayOne today! 

Want to know more about what moving to microservices entails? Download our eBook ‘Porting from Monoliths to Microservices – Is the shift worth it’ to read all about it!

How the Team Set up Microservices at SoundCloud

The engineering division decided to dismantle the Ruby on Rails monolithic system (which they called Mothership) into a set of numerous smaller services that would help them to manage the service in an easier fashion.

To split the monolithic system into microservices, they did not use a team to set up a working microservices solution. Instead, going by the book called Bounded Context, they decoupled the services from the Mothership with help from highly skilled programmer teams.

  • For this, they invested in tools and libraries that helped them to create the microservices in an easier fashion.
  • Frontend developers started writing backend code with the existing backend developers chipping in with lightweight libraries which enabled the frontend-turned-backend warriors to write edge services easily. These were further standardized, paving the way for a Backend-for-frontend (BFF) framework.
  • They implemented ‘extraction projects’ in which a new service was set up outside the monolith when significant changes were made to a specific feature or entity that existed inside the monolith.
  • They also realized that new features could be built outside the monolith using the internal API that it provides to access its data.

Initially, there were only a few microservices, but today there are many microservices that make up the SoundCloud service. And these are split across different continents.

Closing Thoughts

Unloading the main server from huge streams of data helped to split up the load distribution into smarter paths, and this was a decisive factor in choosing to go the microservices way at SoundCloud.

Download Ebook for FREE "How to choose the best microservices vendor and trim the cost"

We build microservices for you with care and responsibility! Get in touch with us today!


Why Business leaders should care about Microservices
Should you migrate from monolith to microservices architecture
Advantages of Microservices Architecture, Disadvantages of Microservices Architecture
5 Microservices Examples: Amazon, Netflix, Uber, Spotify and Etsy
Uber Microservices Architecture
Future Scope of Microservices
Microservices at eBay

Share This Article

Subscribe to
Our Blog

We're committed to your privacy. SayOne uses the information you provide to us to contact you about our relevant content, products, and services. check out our privacy policy.

Need top engineers for your team?
Got a project on your mind?

We collaborate with visionary leaders on projects that focus on quality and require the expertise of a highly-skilled and experienced team.

Get in touch