SlideShare a Scribd company logo
Ionut Antiu
www.get-jukebox.com
@johnnyantiu
1. What are we talking about
2. What is Style Jukebox
3. What were the challenges
4. Wrap up
Style Jukebox is a High Fidelity cloud-music streaming service
that helps you keep all your music – be it bought, self-produced,
or imported from CDs or other media, always backed up and
synced across all your devices.
TRACTION
125,000+ registered users
52,000+ MAU
Peak of 13,000 users DAU
4,5+ million songs stored in the Cloud
50,000 – 100,000 songs listened daily
Low latency
Scalability
High Availability
OBJECTIVES
What is the basic Cloud architecture?
“LE SERVER”
Database SQL
Storage
API
LE CLIENT APP LE CLIENT APP LE CLIENT APP
“LE SERVER”
API
LE CLIENT APP LE CLIENT APP LE CLIENT APP
STORAGE
Windows Azure Storage Blobs
DATABASE
SQL Azure
Scale Up
Scale Out
Database, API, Content bandwidth, Website
Scale Up
One operation that cannot
be divided requires more compute power
(Audio/Video encoding, Your own DB, etc.)
Basic A1
1 Core AMD CPU
1,75 GB RAM
EUR 41/month*
G5, 32 cores
Intel Xeon
448 GB RAM
6 TB
EUR 4865/month*
Scale Out
Used for API, Website, etc.
Ex: Each machine can have a limited number of connected users
Basic A1
1 Core AMD CPU
1,75 GB RAM
EUR 41/month*
4x
Basic A1
1 Core AMD CPU
1,75 GB RAM
EUR 41/month*
SYNC SERVICE
API (GetSongURL, Login)
LE CLIENT APP LE CLIENT APP LE CLIENT APP
STORAGE
Windows Azure Storage Blobs
DATABASE
SQL Azure
BLOCK SERVICE
API (DownloadSong, UploadSong)
SYNC SERVICE
API (GetSongURL, Login)
LE CLIENT APP LE CLIENT APP LE CLIENT APP
STORAGE
Windows Azure Storage Blobs
DATABASE
SQL Azure
BLOCK SERVICE
API (DownloadSong, UploadSong)
MEMCACHE
Redis
Memcache Worker
The Memcache Worker
predicts and prepares the
results
Memcache Hit Ratio 86-91%
Reduced time of response with
80% to an average of 250ms
SYNC SERVICE
API (GetSongURL, Login)
LE CLIENT APP LE CLIENT APP LE CLIENT APP
STORAGE
Windows Azure Storage Blobs
DATABASE
SQL Azure
BLOCK SERVICE
API (DownloadSong, UploadSong)
MEMCACHE
Redis
Memcache Worker
CDN
Windows Azure CDN
CDN Worker
SYNC SERVICE
API (GetSongURL, Login)
LE CLIENT APP LE CLIENT APP LE CLIENT APP
STORAGE
Windows Azure Storage Blobs
DATABASE
SQL Azure
BLOCK SERVICE
API (DownloadSong, UploadSong)
MEMCACHE
Redis
Memcache Worker
CDN
Windows Azure CDN
CDN Worker
STORAGE
Upload Buffer
Upload Processing
SYNC SERVICE
API (GetSongURL, Login)
LOAD BALANCER
LE CLIENT APP LE CLIENT APP LE CLIENT APP
STORAGE
Windows Azure Storage Blobs
DATABASE
SQL Azure
BLOCK SERVICE
API (DownloadSong, UploadSong)
LOAD BALANCER
MEMCACHE
Redis
Memcache Worker
CDN
Windows Azure CDN
CDN Worker
STORAGE
Upload Buffer
Upload Processing
Download Processing
Load Balancer
Integrated in the Azure Cloud Services
Makes sure all instances have the same load
Auto-Scale creates new instances or removes automatically
How to scale to 100k users using Windows Azure
SYNC SERVICE
API (GetSongURL, Login)
LOAD BALANCER
LE CLIENT APP LE CLIENT APP LE CLIENT APP
STORAGE
Windows Azure Storage Blobs
DATABASE
SQL Azure
BLOCK SERVICE
API (DownloadSong, UploadSong)
LOAD BALANCER
MEMCACHE
Redis
Memcache Worker
CDN
Windows Azure CDN
CDN Worker
STORAGE
Upload Buffer
Upload Processing
Download Processing
TRAFFIC MANAGER
SYNC SERVICE – WEST US
API (GetSongURL, Login)
DATABASE - AMSTERDAM
SQL Azure
SYNC SERVICE – WEST US
API (GetSongURL, Login)
DATABASE - AMSTERDAM
SQL Azure
~ 9,000 km * 3 calls = ~ 30,000 km
30,000 km : 300,000km/s = 100 ms
LE CLIENT APP LE CLIENT APP LE CLIENT APP
TRAFFIC MANAGER
SYNC – WEST US
API x VMs
LOAD BALANCER
BLOCK – WEST US
API x VMs
LOAD BALANCER
SYNC – WEST EU
API x VMs
LOAD BALANCER
BLOCK – WEST EU
API x VMs
LOAD BALANCER
CDN
Windows Azure CDN
STORAGE
Windows Azure Storage Blobs
MAIN DATABASE – WEST EU
SQL Azure
MEMCACHE – WEST EU
Redis
SLAVE DATABASE – WEST US
SQL Azure
MEMCACHE 2 – WEST US
Redis
STORAGE
Upload Buffer
Traffic Manager
stylejukebox.trafficmanager.net
4 VM machines
in West Europe
4 VM machines
in West US
Closest location to the user
Load balancing
Fail-over
Works for Websites, Cloud Services
Azure Datacenters
How to test?
How to scale to 100k users using Windows Azure
How to scale to 100k users using Windows Azure
How to scale to 100k users using Windows Azure
Test 1
1,000 concurrent users
1 core machine
How to scale to 100k users using Windows Azure
How to scale to 100k users using Windows Azure
How to scale to 100k users using Windows Azure
Test 2
1,000 concurrent users
4 core machine
$ 0,4 more per hour
How to scale to 100k users using Windows Azure
How to scale to 100k users using Windows Azure
Autoscale applies to Cloud Services and Websites
1 core machine can handle 200
connections simultaneous
4 core machine can handle 1,000
connections simultaneous
Monitoring
NewRelic
How to scale to 100k users using Windows Azure
How to scale to 100k users using Windows Azure
How to scale to 100k users using Windows Azure
Always prepare for things to go wrong
Ex: Routers on the Internet
Low latency
Scalability
High Availability
OBJECTIVES
Ionut Antiu
www.get-jukebox.com
@johnnyantiu

More Related Content

PPTX
Aws ebs snapshot with iam cross account access
PDF
Installing WordPress on AWS
PPTX
Rock Solid WordPress
PPTX
Don't think about the difficulty Let's try to connect easy to IPv6 network w...
PPT
CloudStack S3
PDF
20211120 Automating EC2 operations / EC2運用の自動化
PPTX
Managing Secrets in Production
PDF
The "Holy Grail" of Dev/Ops
Aws ebs snapshot with iam cross account access
Installing WordPress on AWS
Rock Solid WordPress
Don't think about the difficulty Let's try to connect easy to IPv6 network w...
CloudStack S3
20211120 Automating EC2 operations / EC2運用の自動化
Managing Secrets in Production
The "Holy Grail" of Dev/Ops

What's hot (9)

PDF
Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...
PPTX
AWS elastic beanstalk
PPTX
Automating Azure VMs with PowerShell
PDF
Introduction to Elastic Beanstalk
PPTX
Docker
PDF
Word press and containers
PPTX
MDP Group SAP PI & PO Azure Adapter
PDF
3등 :: Game Indie :: Gaming on AWS Hackathon 2016
PDF
Serverless WordPress using AWS Services - WordCamp Atlanta 2017
Deploy and Scale your PHP App with AWS ElasticBeanstalk and Docker- PHPTour L...
AWS elastic beanstalk
Automating Azure VMs with PowerShell
Introduction to Elastic Beanstalk
Docker
Word press and containers
MDP Group SAP PI & PO Azure Adapter
3등 :: Game Indie :: Gaming on AWS Hackathon 2016
Serverless WordPress using AWS Services - WordCamp Atlanta 2017
Ad

Similar to How to scale to 100k users using Windows Azure (20)

PDF
Scaling our app to 100k users. Use case: Style Jukebox Cloud Player - Power b...
PPTX
Introduction to Windows Azure Platform
PPTX
Microsoft Azure
PPTX
Microsoft Partner Roadshow - To the Cloud
PPTX
Windows Azure & How to Deploy Wordress
PPTX
Azure Web Apps - Introduction
PPTX
A Lap Around Azure
PPTX
Understanding The Azure Platform November 09
PPTX
Understanding The Azure Platform Jan
PDF
Azure Cloud Application Development Workshop - UGIdotNET
PPTX
Azure platform for customers
PPTX
Creation of cloud application using microsoft azure by vaishali sahare [katkar]
PPT
Microsoft Azure, door Rob Brommer op de 4DotNet Developers Day
PPTX
Introduction To Cloud Computing
PDF
Building scalable applications using serverless on the cloud
PDF
Application modernization with azure PaaS and FaaS
PDF
AZ900-AzureFundamentals-part-6.pdf
PDF
Deploying asp.net and mvc applications to azure
PDF
Building Real World Application with Azure
PDF
Azure Cloud Dev Camp - App Platform
Scaling our app to 100k users. Use case: Style Jukebox Cloud Player - Power b...
Introduction to Windows Azure Platform
Microsoft Azure
Microsoft Partner Roadshow - To the Cloud
Windows Azure & How to Deploy Wordress
Azure Web Apps - Introduction
A Lap Around Azure
Understanding The Azure Platform November 09
Understanding The Azure Platform Jan
Azure Cloud Application Development Workshop - UGIdotNET
Azure platform for customers
Creation of cloud application using microsoft azure by vaishali sahare [katkar]
Microsoft Azure, door Rob Brommer op de 4DotNet Developers Day
Introduction To Cloud Computing
Building scalable applications using serverless on the cloud
Application modernization with azure PaaS and FaaS
AZ900-AzureFundamentals-part-6.pdf
Deploying asp.net and mvc applications to azure
Building Real World Application with Azure
Azure Cloud Dev Camp - App Platform
Ad

Recently uploaded (20)

PPTX
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
PDF
Download FL Studio Crack Latest version 2025 ?
PPTX
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
PDF
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
PPTX
Monitoring Stack: Grafana, Loki & Promtail
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PDF
wealthsignaloriginal-com-DS-text-... (1).pdf
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Weekly report ppt - harsh dattuprasad patel.pptx
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
iTop VPN Free 5.6.0.5262 Crack latest version 2025
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PDF
Wondershare Filmora 15 Crack With Activation Key [2025
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
PPTX
Computer Software and OS of computer science of grade 11.pptx
PDF
Salesforce Agentforce AI Implementation.pdf
Log360_SIEM_Solutions Overview PPT_Feb 2020.pptx
Download FL Studio Crack Latest version 2025 ?
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
Monitoring Stack: Grafana, Loki & Promtail
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
wealthsignaloriginal-com-DS-text-... (1).pdf
CHAPTER 2 - PM Management and IT Context
Weekly report ppt - harsh dattuprasad patel.pptx
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Internet Downloader Manager (IDM) Crack 6.42 Build 41
iTop VPN Free 5.6.0.5262 Crack latest version 2025
Oracle Fusion HCM Cloud Demo for Beginners
Odoo Companies in India – Driving Business Transformation.pdf
Wondershare Filmora 15 Crack With Activation Key [2025
Why Generative AI is the Future of Content, Code & Creativity?
Adobe Illustrator 28.6 Crack My Vision of Vector Design
CCleaner Pro 6.38.11537 Crack Final Latest Version 2025
Computer Software and OS of computer science of grade 11.pptx
Salesforce Agentforce AI Implementation.pdf

How to scale to 100k users using Windows Azure

  • 2. 1. What are we talking about 2. What is Style Jukebox 3. What were the challenges 4. Wrap up
  • 3. Style Jukebox is a High Fidelity cloud-music streaming service that helps you keep all your music – be it bought, self-produced, or imported from CDs or other media, always backed up and synced across all your devices.
  • 4. TRACTION 125,000+ registered users 52,000+ MAU Peak of 13,000 users DAU 4,5+ million songs stored in the Cloud 50,000 – 100,000 songs listened daily
  • 6. What is the basic Cloud architecture?
  • 7. “LE SERVER” Database SQL Storage API LE CLIENT APP LE CLIENT APP LE CLIENT APP
  • 8. “LE SERVER” API LE CLIENT APP LE CLIENT APP LE CLIENT APP STORAGE Windows Azure Storage Blobs DATABASE SQL Azure
  • 9. Scale Up Scale Out Database, API, Content bandwidth, Website
  • 10. Scale Up One operation that cannot be divided requires more compute power (Audio/Video encoding, Your own DB, etc.) Basic A1 1 Core AMD CPU 1,75 GB RAM EUR 41/month* G5, 32 cores Intel Xeon 448 GB RAM 6 TB EUR 4865/month*
  • 11. Scale Out Used for API, Website, etc. Ex: Each machine can have a limited number of connected users Basic A1 1 Core AMD CPU 1,75 GB RAM EUR 41/month* 4x Basic A1 1 Core AMD CPU 1,75 GB RAM EUR 41/month*
  • 12. SYNC SERVICE API (GetSongURL, Login) LE CLIENT APP LE CLIENT APP LE CLIENT APP STORAGE Windows Azure Storage Blobs DATABASE SQL Azure BLOCK SERVICE API (DownloadSong, UploadSong)
  • 13. SYNC SERVICE API (GetSongURL, Login) LE CLIENT APP LE CLIENT APP LE CLIENT APP STORAGE Windows Azure Storage Blobs DATABASE SQL Azure BLOCK SERVICE API (DownloadSong, UploadSong) MEMCACHE Redis Memcache Worker
  • 14. The Memcache Worker predicts and prepares the results Memcache Hit Ratio 86-91% Reduced time of response with 80% to an average of 250ms
  • 15. SYNC SERVICE API (GetSongURL, Login) LE CLIENT APP LE CLIENT APP LE CLIENT APP STORAGE Windows Azure Storage Blobs DATABASE SQL Azure BLOCK SERVICE API (DownloadSong, UploadSong) MEMCACHE Redis Memcache Worker CDN Windows Azure CDN CDN Worker
  • 16. SYNC SERVICE API (GetSongURL, Login) LE CLIENT APP LE CLIENT APP LE CLIENT APP STORAGE Windows Azure Storage Blobs DATABASE SQL Azure BLOCK SERVICE API (DownloadSong, UploadSong) MEMCACHE Redis Memcache Worker CDN Windows Azure CDN CDN Worker STORAGE Upload Buffer Upload Processing
  • 17. SYNC SERVICE API (GetSongURL, Login) LOAD BALANCER LE CLIENT APP LE CLIENT APP LE CLIENT APP STORAGE Windows Azure Storage Blobs DATABASE SQL Azure BLOCK SERVICE API (DownloadSong, UploadSong) LOAD BALANCER MEMCACHE Redis Memcache Worker CDN Windows Azure CDN CDN Worker STORAGE Upload Buffer Upload Processing Download Processing
  • 18. Load Balancer Integrated in the Azure Cloud Services Makes sure all instances have the same load Auto-Scale creates new instances or removes automatically
  • 20. SYNC SERVICE API (GetSongURL, Login) LOAD BALANCER LE CLIENT APP LE CLIENT APP LE CLIENT APP STORAGE Windows Azure Storage Blobs DATABASE SQL Azure BLOCK SERVICE API (DownloadSong, UploadSong) LOAD BALANCER MEMCACHE Redis Memcache Worker CDN Windows Azure CDN CDN Worker STORAGE Upload Buffer Upload Processing Download Processing TRAFFIC MANAGER
  • 21. SYNC SERVICE – WEST US API (GetSongURL, Login) DATABASE - AMSTERDAM SQL Azure
  • 22. SYNC SERVICE – WEST US API (GetSongURL, Login) DATABASE - AMSTERDAM SQL Azure ~ 9,000 km * 3 calls = ~ 30,000 km 30,000 km : 300,000km/s = 100 ms
  • 23. LE CLIENT APP LE CLIENT APP LE CLIENT APP TRAFFIC MANAGER SYNC – WEST US API x VMs LOAD BALANCER BLOCK – WEST US API x VMs LOAD BALANCER SYNC – WEST EU API x VMs LOAD BALANCER BLOCK – WEST EU API x VMs LOAD BALANCER CDN Windows Azure CDN STORAGE Windows Azure Storage Blobs MAIN DATABASE – WEST EU SQL Azure MEMCACHE – WEST EU Redis SLAVE DATABASE – WEST US SQL Azure MEMCACHE 2 – WEST US Redis STORAGE Upload Buffer
  • 24. Traffic Manager stylejukebox.trafficmanager.net 4 VM machines in West Europe 4 VM machines in West US Closest location to the user Load balancing Fail-over Works for Websites, Cloud Services
  • 30. Test 1 1,000 concurrent users 1 core machine
  • 34. Test 2 1,000 concurrent users 4 core machine $ 0,4 more per hour
  • 37. Autoscale applies to Cloud Services and Websites 1 core machine can handle 200 connections simultaneous 4 core machine can handle 1,000 connections simultaneous
  • 43. Always prepare for things to go wrong Ex: Routers on the Internet