SlideShare uma empresa Scribd logo
1 de 50
Baixar para ler offline
Ionut Antiu
www.get-jukebox.com
@johnnyantiu
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.
FREE PREMIUM
Start with 250 songs free (~1.5 GB)
Earn up to 3,000 songs for free (18 GB)
Add storage for 25,000 songs (~120GB – 1 TB)
Hi-Fi Sound Quality
MP3, AAC, WMA, OGG +Lossless (FLAC, M4A- ALAC)
Free, with NO ADS $24.99 / year or $2.99 / month
30 MB limit / song 1GB limit / song
TRACTION
120,000+ registered users
50,000+ MAU
Peak of 12,000 users DAU
4,5+ million songs stored in the Cloud
50,000 – 100,000 songs listened daily
Web Player
Windows Player
iPhone
Android
Windows Phone
Technology
Windows App
C#, WPF
iPhone App
Objective-C
Windows Phone App
C#, Silverlight
Android App
Java
Cloud Meta Service API
Fast, Sync, Gets
8-core just fine with auto scale
Azure, C#, REST Interface, JSON
Block Service API
Upload, Download, Transcoding, etc.
4-core standby with auto scale
Azure, C#, REST, JSON, Streaming
Memcache
1 GB
Redis Azure, C#
Database
SQL Azure Premium
Windows Azure Storage
30 TB
REST
Import API
800k songs imported
Memcache
Worker
>= 2 instances
Import Worker
>= 2 instances
Traffic manager
Load Balancer | CDN
Web Player
AngularJS
File operations
Ex. Index
>= 4 instances
SCALE?!
Because it doesn’t just work!
Growing pains
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*
Load Balancer
Integrated in the Azure Cloud Services
Makes sure all instances have the same load
Auto-Scale creates new instances or removes automatically
Technology
Windows App
C#, WPF
iPhone App
Objective-C
Windows Phone App
C#, Silverlight
Android App
Java
Cloud Meta Service API
Fast, Sync, Gets
8-core just fine with auto scale
Azure, C#, REST Interface, JSON
Block Service API
Upload, Download, Transcoding, etc.
4-core standby with auto scale
Azure, C#, REST, JSON, Streaming
Memcache
1 GB
Redis Azure, C#
Database
SQL Azure Premium
Windows Azure Storage
30 TB
REST
Import API
(Dropbox, OneDrive,
Google Drive)
800k songs imported
Memcache
Worker
>= 2 instances
Import Worker
>= 2 instances
Traffic manager
Load Balancer | CDN
Web Player
AngularJS
File operations
Ex. Index
>= 4 instances
How to test?
Test 1
1,000 concurrent users
1 core machine
Test 2
1,000 concurrent users
4 core machine
$ 0,4 more per hour
Autoscale applies to Cloud Services and Websites
1 core machine can handle 200
connections simultaneous
4 core machine can handle 1,000
connections simultaneous
Load balanced. >
Traffic manager
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
Technology
Windows App
C#, WPF
iPhone App
Objective-C
Windows Phone App
C#, Silverlight
Android App
Java
Cloud Meta Service API
Fast, Sync, Gets
8-core just fine with auto scale
Azure, C#, REST Interface, JSON
Block Service API
Upload, Download, Transcoding, etc.
4-core standby with auto scale
Azure, C#, REST, JSON, Streaming
Memcache
1 GB
Redis Azure, C#
Database
SQL Azure Premium
Windows Azure Storage
30 TB
REST
Import API
(Dropbox, OneDrive,
Google Drive)
800k songs imported
Memcache
Worker
>= 2 instances
Import Worker
>= 2 instances
Traffic manager
Load Balancer | CDN
Web Player
AngularJS
File operations
Ex. Index
>= 4 instances
Azure Datacenters
Technology
Windows App
C#, WPF
iPhone App
Objective-C
Windows Phone App
C#, Silverlight
Android App
Java
Cloud Meta Service API
Fast, Sync, Gets
8-core just fine with auto scale
Azure, C#, REST Interface, JSON
Block Service API
Upload, Download, Transcoding, etc.
4-core standby with auto scale
Azure, C#, REST, JSON, Streaming
Memcache
1 GB
Redis Azure, C#
Database
SQL Azure Premium
Windows Azure Storage
30 TB
REST
Import API
(Dropbox, OneDrive,
Google Drive)
800k songs imported
Memcache
Worker
>= 2 instances
Import Worker
>= 2 instances
Traffic manager
Load Balancer | CDN
Web Player
AngularJS
File operations
Ex. Index
>= 4 instances
Storage
20 Gbps in
30 Gbps out
Locally, Geo redundant
Optional SSD
-> Scale with CDN
Azure Datacenters
Azure CDN
Multiplies content in the region
Ex: Storage account from Amsterdam are multiplied in CDNs
from Amsterdam, London, Frankfurt, Milan, Paris
You have to manage which content is multiplied where.
Cost: EUR 0,06 / GB out CDN
compared to EUR 0,015 / GB just stored
SQL Azure vs Microsoft SQL Server
Scale SQL Database
SQL Azure Performance
SQL Azure Performance
Scale Up
I don’t recommend this  as a scale strategy
Basic
5 DTU
30 concurrent request
Good predictability
EUR 4 / month
Premium P3
1,000 DTU
SSD, Faster CPU
Max 500 GB size
EUR 2,800 / month
Scale Out
I RECOMMEND this as a scale strategy
(Should not be the only one)
The right DB for you
P2, 200 DPU
EUR 700 / month
RAM in the Cloud
Pre-compiled answers
Store JSON, Bytes, etc.
From 250 MB to 53 GB per
Cache
We use 1 GB – EUR 80 / month
The Memcache Worker
predicts and prepares the
results
Memcache Hit Ratio 86-91%
Reduced time of response with
80% to an average of 250ms
Monitoring
NewRelic
Always prepare for things to go wrong
Ex: Routers on the Internet
Technology
Windows App
C#, WPF
iPhone App
Objective-C
Windows Phone App
C#, Silverlight
Android App
Java
Cloud Meta Service API
Fast, Sync, Gets
8-core just fine with auto scale
Azure, C#, REST Interface, JSON
Block Service API
Upload, Download, Transcoding, etc.
4-core standby with auto scale
Azure, C#, REST, JSON, Streaming
Memcache
1 GB
Redis Azure, C#
Database
SQL Azure Premium
Windows Azure Storage
30 TB
REST
Import API
(Dropbox, OneDrive,
Google Drive)
800k songs imported
Memcache
Worker
>= 2 instances
Import Worker
>= 2 instances
Traffic manager
Load Balancer | CDN
Web Player
AngularJS
File operations
Ex. Index
>= 4 instances
Ionut Antiu
www.get-jukebox.com
@johnnyantiu

Mais conteúdo relacionado

Mais procurados

Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
Amazon Web Services
 
High Performance MongoDB on Storage-Optimized AWS EC2
High Performance MongoDB on Storage-Optimized AWS EC2High Performance MongoDB on Storage-Optimized AWS EC2
High Performance MongoDB on Storage-Optimized AWS EC2
MongoDB
 

Mais procurados (20)

Backing up Amazon EC2 with Amazon EBS Snapshots - June 2017 AWS Online Tech T...
Backing up Amazon EC2 with Amazon EBS Snapshots - June 2017 AWS Online Tech T...Backing up Amazon EC2 with Amazon EBS Snapshots - June 2017 AWS Online Tech T...
Backing up Amazon EC2 with Amazon EBS Snapshots - June 2017 AWS Online Tech T...
 
AWS Webcast - Introduction to EBS
AWS Webcast - Introduction to EBS AWS Webcast - Introduction to EBS
AWS Webcast - Introduction to EBS
 
Understanding AWS Storage Options
Understanding AWS Storage OptionsUnderstanding AWS Storage Options
Understanding AWS Storage Options
 
Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
Media Content Ingest, Storage, and Archiving with AWS - John Downey, Amazon W...
 
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
SRV413 Deep Dive on Elastic Block Storage (Amazon EBS)
 
Overview and Best Practices for Amazon Elastic Block Store - September 2016 W...
Overview and Best Practices for Amazon Elastic Block Store - September 2016 W...Overview and Best Practices for Amazon Elastic Block Store - September 2016 W...
Overview and Best Practices for Amazon Elastic Block Store - September 2016 W...
 
Amazon Elastic Block Store for Application Storage
Amazon Elastic Block Store for Application StorageAmazon Elastic Block Store for Application Storage
Amazon Elastic Block Store for Application Storage
 
Scaling MongoDB on Amazon Web Services (DAT209) | AWS re:Invent 2013
Scaling MongoDB on Amazon Web Services (DAT209) | AWS re:Invent 2013Scaling MongoDB on Amazon Web Services (DAT209) | AWS re:Invent 2013
Scaling MongoDB on Amazon Web Services (DAT209) | AWS re:Invent 2013
 
Deep Dive on Amazon EBS Elastic Volumes - March 2017 AWS Online Tech Talks
Deep Dive on Amazon EBS Elastic Volumes - March 2017 AWS Online Tech TalksDeep Dive on Amazon EBS Elastic Volumes - March 2017 AWS Online Tech Talks
Deep Dive on Amazon EBS Elastic Volumes - March 2017 AWS Online Tech Talks
 
Advanced EBS Snapshot Management (STG402) | AWS re:Invent 2013
Advanced EBS Snapshot Management (STG402) | AWS re:Invent 2013Advanced EBS Snapshot Management (STG402) | AWS re:Invent 2013
Advanced EBS Snapshot Management (STG402) | AWS re:Invent 2013
 
High Performance MongoDB on Storage-Optimized AWS EC2
High Performance MongoDB on Storage-Optimized AWS EC2High Performance MongoDB on Storage-Optimized AWS EC2
High Performance MongoDB on Storage-Optimized AWS EC2
 
Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...
Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...
Optimize MySQL Workloads with Amazon Elastic Block Store - February 2017 AWS ...
 
Backup and archiving in the aws cloud
Backup and archiving in the aws cloudBackup and archiving in the aws cloud
Backup and archiving in the aws cloud
 
AWS Summit London 2014 | Maximising EC2 and EBC Performance (400)
AWS Summit London 2014 | Maximising EC2 and EBC Performance (400)AWS Summit London 2014 | Maximising EC2 and EBC Performance (400)
AWS Summit London 2014 | Maximising EC2 and EBC Performance (400)
 
AWS re:Invent 2016: Case Study: Librato's Experience Running Cassandra Using ...
AWS re:Invent 2016: Case Study: Librato's Experience Running Cassandra Using ...AWS re:Invent 2016: Case Study: Librato's Experience Running Cassandra Using ...
AWS re:Invent 2016: Case Study: Librato's Experience Running Cassandra Using ...
 
Building an Autoscaler for DigitalOcean - DevOps Days Denver 2015
Building an Autoscaler for DigitalOcean - DevOps Days Denver 2015Building an Autoscaler for DigitalOcean - DevOps Days Denver 2015
Building an Autoscaler for DigitalOcean - DevOps Days Denver 2015
 
StartPad Countdown 8 - Amazon Web Services and You
StartPad Countdown 8 - Amazon Web Services and YouStartPad Countdown 8 - Amazon Web Services and You
StartPad Countdown 8 - Amazon Web Services and You
 
개발자를 위한 Amazon Lightsail Deep-Dive
개발자를 위한 Amazon Lightsail Deep-Dive개발자를 위한 Amazon Lightsail Deep-Dive
개발자를 위한 Amazon Lightsail Deep-Dive
 
Storage TCO using AWS Storage Gateway, Amazon S3 and Amazon Glacier (STG202) ...
Storage TCO using AWS Storage Gateway, Amazon S3 and Amazon Glacier (STG202) ...Storage TCO using AWS Storage Gateway, Amazon S3 and Amazon Glacier (STG202) ...
Storage TCO using AWS Storage Gateway, Amazon S3 and Amazon Glacier (STG202) ...
 
Deep Dive on Amazon EBS - AWS Online Tech Talks
Deep Dive on Amazon EBS - AWS Online Tech TalksDeep Dive on Amazon EBS - AWS Online Tech Talks
Deep Dive on Amazon EBS - AWS Online Tech Talks
 

Semelhante a Scaling our app to 100k users. Use case: Style Jukebox Cloud Player - Power by Windows Azure.

view the deck as powerpoint
view the deck as powerpointview the deck as powerpoint
view the deck as powerpoint
webhostingguy
 
view the deck as powerpoint
view the deck as powerpointview the deck as powerpoint
view the deck as powerpoint
webhostingguy
 
Cloud Computing Workshop
Cloud Computing WorkshopCloud Computing Workshop
Cloud Computing Workshop
Charlie Moad
 
EQR Reporting: Rails + Amazon EC2
EQR Reporting:  Rails + Amazon EC2EQR Reporting:  Rails + Amazon EC2
EQR Reporting: Rails + Amazon EC2
jeperkins4
 

Semelhante a Scaling our app to 100k users. Use case: Style Jukebox Cloud Player - Power by Windows Azure. (20)

4K Media Workflows on AWS By Usman Shakeel of Amzaon AWS
4K Media Workflows on AWS By Usman Shakeel of Amzaon AWS4K Media Workflows on AWS By Usman Shakeel of Amzaon AWS
4K Media Workflows on AWS By Usman Shakeel of Amzaon AWS
 
How to scale to 100k users using Windows Azure
How to scale to 100k users using Windows AzureHow to scale to 100k users using Windows Azure
How to scale to 100k users using Windows Azure
 
view the deck as powerpoint
view the deck as powerpointview the deck as powerpoint
view the deck as powerpoint
 
view the deck as powerpoint
view the deck as powerpointview the deck as powerpoint
view the deck as powerpoint
 
AWS re:Invent 2016: Case Study: How Spokeo Improved Web Application Response ...
AWS re:Invent 2016: Case Study: How Spokeo Improved Web Application Response ...AWS re:Invent 2016: Case Study: How Spokeo Improved Web Application Response ...
AWS re:Invent 2016: Case Study: How Spokeo Improved Web Application Response ...
 
Cloud Computing Primer: Using cloud computing tools in your museum
Cloud Computing Primer: Using cloud computing tools in your museumCloud Computing Primer: Using cloud computing tools in your museum
Cloud Computing Primer: Using cloud computing tools in your museum
 
Cloud Computing Workshop
Cloud Computing WorkshopCloud Computing Workshop
Cloud Computing Workshop
 
4K Media Workflows on AWS
4K Media Workflows on AWS4K Media Workflows on AWS
4K Media Workflows on AWS
 
Scalable Media Workflows in the Cloud
Scalable Media Workflows in the CloudScalable Media Workflows in the Cloud
Scalable Media Workflows in the Cloud
 
EQR Reporting: Rails + Amazon EC2
EQR Reporting:  Rails + Amazon EC2EQR Reporting:  Rails + Amazon EC2
EQR Reporting: Rails + Amazon EC2
 
Amazon S3 and EC2
Amazon S3 and EC2Amazon S3 and EC2
Amazon S3 and EC2
 
Taking SharePoint to the Cloud
Taking SharePoint to the CloudTaking SharePoint to the Cloud
Taking SharePoint to the Cloud
 
10 tips to improve the performance of your AWS application
10 tips to improve the performance of your AWS application10 tips to improve the performance of your AWS application
10 tips to improve the performance of your AWS application
 
IUT presentation - English
IUT presentation - EnglishIUT presentation - English
IUT presentation - English
 
What's New in Amazon Aurora
What's New in Amazon AuroraWhat's New in Amazon Aurora
What's New in Amazon Aurora
 
AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법
AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법
AWS Summit Seoul 2015 - EBS 성능 향상 및 EC2 비용 최적화 기법
 
Amazon Elastic Map Reduce - Ian Meyers
Amazon Elastic Map Reduce - Ian MeyersAmazon Elastic Map Reduce - Ian Meyers
Amazon Elastic Map Reduce - Ian Meyers
 
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
Innovations of .NET and Azure (Recaps of Build 2017 selected sessions)
 
Getting Started with Amazon Aurora
Getting Started with Amazon AuroraGetting Started with Amazon Aurora
Getting Started with Amazon Aurora
 
Introduction on Amazon EC2
Introduction on Amazon EC2Introduction on Amazon EC2
Introduction on Amazon EC2
 

Último

Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
amitlee9823
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
amitlee9823
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
amitlee9823
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
amitlee9823
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
amitlee9823
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
amitlee9823
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
JoseMangaJr1
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
amitlee9823
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
AroojKhan71
 

Último (20)

Generative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and MilvusGenerative AI on Enterprise Cloud with NiFi and Milvus
Generative AI on Enterprise Cloud with NiFi and Milvus
 
Anomaly detection and data imputation within time series
Anomaly detection and data imputation within time seriesAnomaly detection and data imputation within time series
Anomaly detection and data imputation within time series
 
Week-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interactionWeek-01-2.ppt BBB human Computer interaction
Week-01-2.ppt BBB human Computer interaction
 
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
Junnasandra Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore...
 
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night StandCall Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
Call Girls In Bellandur ☎ 7737669865 🥵 Book Your One night Stand
 
Mature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptxMature dropshipping via API with DroFx.pptx
Mature dropshipping via API with DroFx.pptx
 
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
Call Girls Bannerghatta Road Just Call 👗 7737669865 👗 Top Class Call Girl Ser...
 
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
Chintamani Call Girls: 🍓 7737669865 🍓 High Profile Model Escorts | Bangalore ...
 
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
Vip Mumbai Call Girls Marol Naka Call On 9920725232 With Body to body massage...
 
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
Escorts Service Kumaraswamy Layout ☎ 7737669865☎ Book Your One night Stand (B...
 
Predicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science ProjectPredicting Loan Approval: A Data Science Project
Predicting Loan Approval: A Data Science Project
 
April 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's AnalysisApril 2024 - Crypto Market Report's Analysis
April 2024 - Crypto Market Report's Analysis
 
Probability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter LessonsProbability Grade 10 Third Quarter Lessons
Probability Grade 10 Third Quarter Lessons
 
VidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptxVidaXL dropshipping via API with DroFx.pptx
VidaXL dropshipping via API with DroFx.pptx
 
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Saket (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
Call Girls Indiranagar Just Call 👗 7737669865 👗 Top Class Call Girl Service B...
 
Edukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFxEdukaciniai dropshipping via API with DroFx
Edukaciniai dropshipping via API with DroFx
 
Halmar dropshipping via API with DroFx
Halmar  dropshipping  via API with DroFxHalmar  dropshipping  via API with DroFx
Halmar dropshipping via API with DroFx
 
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al BarshaAl Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
Al Barsha Escorts $#$ O565212860 $#$ Escort Service In Al Barsha
 
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% SecureCall me @ 9892124323  Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
Call me @ 9892124323 Cheap Rate Call Girls in Vashi with Real Photo 100% Secure
 

Scaling our app to 100k users. Use case: Style Jukebox Cloud Player - Power by Windows Azure.

  • 2. 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.
  • 3. FREE PREMIUM Start with 250 songs free (~1.5 GB) Earn up to 3,000 songs for free (18 GB) Add storage for 25,000 songs (~120GB – 1 TB) Hi-Fi Sound Quality MP3, AAC, WMA, OGG +Lossless (FLAC, M4A- ALAC) Free, with NO ADS $24.99 / year or $2.99 / month 30 MB limit / song 1GB limit / song
  • 4. TRACTION 120,000+ registered users 50,000+ MAU Peak of 12,000 users DAU 4,5+ million songs stored in the Cloud 50,000 – 100,000 songs listened daily
  • 6. Technology Windows App C#, WPF iPhone App Objective-C Windows Phone App C#, Silverlight Android App Java Cloud Meta Service API Fast, Sync, Gets 8-core just fine with auto scale Azure, C#, REST Interface, JSON Block Service API Upload, Download, Transcoding, etc. 4-core standby with auto scale Azure, C#, REST, JSON, Streaming Memcache 1 GB Redis Azure, C# Database SQL Azure Premium Windows Azure Storage 30 TB REST Import API 800k songs imported Memcache Worker >= 2 instances Import Worker >= 2 instances Traffic manager Load Balancer | CDN Web Player AngularJS File operations Ex. Index >= 4 instances
  • 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. Load Balancer Integrated in the Azure Cloud Services Makes sure all instances have the same load Auto-Scale creates new instances or removes automatically
  • 13. Technology Windows App C#, WPF iPhone App Objective-C Windows Phone App C#, Silverlight Android App Java Cloud Meta Service API Fast, Sync, Gets 8-core just fine with auto scale Azure, C#, REST Interface, JSON Block Service API Upload, Download, Transcoding, etc. 4-core standby with auto scale Azure, C#, REST, JSON, Streaming Memcache 1 GB Redis Azure, C# Database SQL Azure Premium Windows Azure Storage 30 TB REST Import API (Dropbox, OneDrive, Google Drive) 800k songs imported Memcache Worker >= 2 instances Import Worker >= 2 instances Traffic manager Load Balancer | CDN Web Player AngularJS File operations Ex. Index >= 4 instances
  • 14.
  • 15.
  • 17.
  • 18.
  • 19.
  • 20. Test 1 1,000 concurrent users 1 core machine
  • 21.
  • 22.
  • 23.
  • 24. Test 2 1,000 concurrent users 4 core machine $ 0,4 more per hour
  • 25.
  • 26.
  • 27. Autoscale applies to Cloud Services and Websites 1 core machine can handle 200 connections simultaneous 4 core machine can handle 1,000 connections simultaneous
  • 29. 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. Technology Windows App C#, WPF iPhone App Objective-C Windows Phone App C#, Silverlight Android App Java Cloud Meta Service API Fast, Sync, Gets 8-core just fine with auto scale Azure, C#, REST Interface, JSON Block Service API Upload, Download, Transcoding, etc. 4-core standby with auto scale Azure, C#, REST, JSON, Streaming Memcache 1 GB Redis Azure, C# Database SQL Azure Premium Windows Azure Storage 30 TB REST Import API (Dropbox, OneDrive, Google Drive) 800k songs imported Memcache Worker >= 2 instances Import Worker >= 2 instances Traffic manager Load Balancer | CDN Web Player AngularJS File operations Ex. Index >= 4 instances
  • 32. Technology Windows App C#, WPF iPhone App Objective-C Windows Phone App C#, Silverlight Android App Java Cloud Meta Service API Fast, Sync, Gets 8-core just fine with auto scale Azure, C#, REST Interface, JSON Block Service API Upload, Download, Transcoding, etc. 4-core standby with auto scale Azure, C#, REST, JSON, Streaming Memcache 1 GB Redis Azure, C# Database SQL Azure Premium Windows Azure Storage 30 TB REST Import API (Dropbox, OneDrive, Google Drive) 800k songs imported Memcache Worker >= 2 instances Import Worker >= 2 instances Traffic manager Load Balancer | CDN Web Player AngularJS File operations Ex. Index >= 4 instances
  • 33. Storage 20 Gbps in 30 Gbps out Locally, Geo redundant Optional SSD -> Scale with CDN
  • 35. Azure CDN Multiplies content in the region Ex: Storage account from Amsterdam are multiplied in CDNs from Amsterdam, London, Frankfurt, Milan, Paris You have to manage which content is multiplied where. Cost: EUR 0,06 / GB out CDN compared to EUR 0,015 / GB just stored
  • 36. SQL Azure vs Microsoft SQL Server
  • 40. Scale Up I don’t recommend this  as a scale strategy Basic 5 DTU 30 concurrent request Good predictability EUR 4 / month Premium P3 1,000 DTU SSD, Faster CPU Max 500 GB size EUR 2,800 / month
  • 41. Scale Out I RECOMMEND this as a scale strategy (Should not be the only one) The right DB for you P2, 200 DPU EUR 700 / month RAM in the Cloud Pre-compiled answers Store JSON, Bytes, etc. From 250 MB to 53 GB per Cache We use 1 GB – EUR 80 / month
  • 42. The Memcache Worker predicts and prepares the results Memcache Hit Ratio 86-91% Reduced time of response with 80% to an average of 250ms
  • 45.
  • 46.
  • 47.
  • 48. Always prepare for things to go wrong Ex: Routers on the Internet
  • 49. Technology Windows App C#, WPF iPhone App Objective-C Windows Phone App C#, Silverlight Android App Java Cloud Meta Service API Fast, Sync, Gets 8-core just fine with auto scale Azure, C#, REST Interface, JSON Block Service API Upload, Download, Transcoding, etc. 4-core standby with auto scale Azure, C#, REST, JSON, Streaming Memcache 1 GB Redis Azure, C# Database SQL Azure Premium Windows Azure Storage 30 TB REST Import API (Dropbox, OneDrive, Google Drive) 800k songs imported Memcache Worker >= 2 instances Import Worker >= 2 instances Traffic manager Load Balancer | CDN Web Player AngularJS File operations Ex. Index >= 4 instances