Spotify

Sowmiya P
3 min readAug 18, 2020

--

Spotify is a digital music streaming service that gives you access to millions of songs, podcasts, and videos from artists all over the world, like Apple Music and Amazon Music Unlimited.

Spotify is immediately appealing because you can access content for free by simply signing up using an email address or by connecting with Facebook. If you’re not keen on monthly subscription fees for Spotify Premium, or just want to dip your toe in and test it out, it’s easy to get started and there’s no commitment.

Why it is the BEST?

Why I choose this? What is unique to others?. All question surrounds you and the answer is, Use once and experience and you will feel what I felt. This app is super crystal and clear to use.No often advertisements or subscriptions. Can be used both in desktop and mobile. These are available in other streams also, isn't it? , but it is very clean to use.

Spotify ARCHITECTURE

Spotify backend architecture is heavily service-oriented. The backend is composed of about a hundred services, most of them fairly small and simple. Services are written in Python or Java with a few exceptions. Services
communicate primarily using our own protocol called Hermes, which is a message based and built on ZeroMQ and Protobuf. Older services still use HTTP and XML/JSON payloads. Storage is primarily PostgreSQL, Cassandra, or various static indexes. The latter primarily being used by the various content services, e.g. for search or metadata. Audio files are stored in Amazon S3 and cached in our backend or using CDNs for low latency.

The various clients keep a persistent connection to a backend service called “access point”. It basically works as a messages router on steroids, handling communication with the needed services. The protocol between clients and the access point is proprietary.

Clients for desktop, mobiles, and our embeddable library, libspotify, all share a common code base. Each client then builds on this core to provide user interfaces and other platform-specific adoptions. The shared codebase is written in C++ and the platform adoptions in the platform native languages, e.g. ObjC on iOS. Also, many views and apps in the desktop client are now implemented as web apps, using an embedded instance of Chromium.

Audio is retrieved from local cache, peer-to-peer or from our storage

TOOLS AND UTILITIES

  1. Google Analytics-Google Analytics lets you measure your advertising ROI as well as track your Flash, video, and social networking sites and applications.
  2. Twilio SendGrid-Its an Email API, lets the customers receive messages

3. Optimizely-The Optimizely platform technology provides A/B testing and multivariate testing tools, website personalization, and feature toggle capabilities.

4.Google Cloud Dataflow -It is a fully managed service for executing Apache Beam pipelines within the Google Cloud Platform ecosystem.

5. Lookback-User experience recording made simple. See the screen, face, voice, and touches of your users. Record in-house or remotely and without equipment.

CONCLUSION

I personally fell for Spotify for its User Interface and the quick search facility that we need at that time. It has a great collection of songs, artificial intelligence generated playlist according to the user's interest, variety of genres.

Hope you enjoyed learning up something!

Stay Tuned, Listen Everywhere.

@StudyMonk.in

--

--