
Spotify needs to have more decent support chat system because these agents have been going around in circles and still hasn't resolve the issue I'm having 😠jfc i've been disconnected thrice reported 7 hours Well apparently just mentioning the issue has spooked the app into working again! To understand the concept in detail.Latest outage, problems and issue reports in social media:

As a solution, Spotify switched connections through DNS based approach for microservice communication. Now, in the case of Spotify, this control plane went down preventing the microservices to connect with each other. All these containers are connected to the control plane which manages all the mappings and updates all the sidecars whenever there is some change.Ĩ.

This sidecar container is reusable, so no new code is required when onboarding a new microservice.ħ. A sidecar instance runs beside each microservice which contains the mapping of addresses of other microservices and allows the current microservice to connect with other microservices. To prevent this, there comes a technique called service mesh which makes use of the sidecar pattern to allow connections between the microservices directly without writing any extra code.Ħ. Now, if we go by the DNS route, it will take a lot of time. For example, to display the details of a song, Spotify has to call the image service to get the song image, the artist service to get the artist details, and then the song service to get the song details.ĥ. But, this takes a lot of time if a single operation requires multiple API calls from different microservices internally. Exactly the way, we interact with websites is when we put an address in the address bar like “ After DNS resolution, we are returned an IP address that we can use to call the required API.Ĥ. One way to interact can be to interact using the DNS address of the service. Now, how do these microservices interact with each other?ģ. Each of these microservice can be deployed on a different machine or even two microservices on the same machine. These microservices are for different purposes. Spotify’s architecture is built on a lot of different microservices.

Let’s see what happened and what concepts we can learn from this outage.ġ. On March 8, 2022, Spotify faced an outage and Spotify went down for 2 hours.
