Music streaming service Spotify has chosen the Google Cloud Platform to power its data infrastructure.

Spotify, which is already available on Google’s Chromecast, currently hosts more than 2 billion playlists and gives consumers access to over 30 million songs.

The company has until now managed the hardware burden itself through several providers and data centres including Amazon Web Services.

Spotify is using Cloud Pub/Sub, Google’s global service for messaging and streaming data, to collect and forward all events to its ecosystem. It will enable the teams to process various messages per second in a reliable no-ops manner.

Google’s data processing service, Cloud Dataflow, is being deployed to power Spotify’s ETL workloads.

The move will allow the music provider to depend on a single cloud-based managed service for both batch and stream processing.

Spotify engineering and infrastructure vice president Nicholas Harteau said: "Good infrastructure isn’t just about keeping things up and running, it’s about making all of our teams more efficient and more effective, and Google’s data stack does that for us in spades.

"We have a large and complex backend, so this is a large and complex project that will take us some time to complete."

Google Cloud Platform lead sales engineer Guillaume Leygues said that using the company’s BigQuery and Cloud Dataproc services would enable Spotify staff to run complex database queries and get answers rapidly.

"This lets Spotify perform more frequent in-depth, interactive analysis, guiding product development, feature testing and more intelligent user-facing features."

Spotify, which is also available on Amazon Echo, currently charges £9.99 per month for its subscription service, as does Apple Music.

Last month, Spotify acquired two new companies, Cord Project and Soundwave, as part of its strategy to build great experience for music fans.

Spotify supports several device models from the world’s leading brands, including speakers, home audio systems, Smart TVs and gaming consoles.