AboutBlogContact
SoftwareOctober 7, 2008 2 min read 15

Spotify: Streaming Music without the Piracy

AunimedaAunimeda
📋 Table of Contents

Spotify: Streaming Music without the Piracy

I’ve been testing the Spotify beta for a few weeks now, and it’s the first time in a decade that I haven't felt the need to visit a torrent site or use Limewire. The experience of searching for any song and having it play instantly—with no buffering—is nothing short of miraculous.

The P2P Magic

How do they do it? The secret is a hybrid client-server and peer-to-peer (P2P) architecture. When you play a song, the Spotify client checks if any other nearby users have that song in their cache. If they do, it streams from them. If not, it pulls from Spotify’s central servers.

They also use aggressive caching on your local machine. If you’ve listened to a song once, it stays on your disk, so the next time it's truly instant.

The UI and UX

The desktop client (built using a custom UI toolkit) is incredibly snappy. It feels more like a local music player like iTunes than a web service. The ability to share playlists via a simple URL is a game-changer for music discovery.

// Spotify's architecture:
1. Local Cache (Check first)
2. P2P Network (Check second)
3. Central Servers (Fall back)
// This ensures sub-200ms latency for playback.

Outlook

Spotify is the answer to the music industry's piracy problem. By making the legal experience better and faster than the pirated one, they’ve finally found a way to get people to pay for music again (or at least watch a few ads). If they can scale this globally, the "ownership" model of music is dead. We won't buy albums anymore; we'll buy access to the library.

Read Also

Winamp: It Really Whipped the MP3's Assaunimeda
Software

Winamp: It Really Whipped the MP3's Ass

Justin Frankel and Dmitry Boldyrev have released something special. Winamp 1.0 is here, and it’s making the 'MP3' format actually usable for the rest of us.

RealAudio: Hearing the Web for the First Timeaunimeda
Software

RealAudio: Hearing the Web for the First Time

We’ve moved past static images. Progressive Networks has released 'RealAudio,' and for the first time, we can listen to the radio and news directly through our browsers in real-time.

Windows 7: Making Us Forget the Vista Nightmareaunimeda
Software

Windows 7: Making Us Forget the Vista Nightmare

Windows 7 is finally here, and it's everything Vista should have been. It's fast, it's stable, and the taskbar is actually useful.

Need IT development for your business?

We build websites, mobile apps and AI solutions. Free consultation.

Get Consultation All articles