Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
True story of re-architecting website for scale...
Search
Sergejus
November 11, 2013
Technology
77
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
True story of re-architecting website for scale on Windows Azure
Sergejus
November 11, 2013
More Decks by Sergejus
See All by Sergejus
Bringing Developers to the Next Level
sergejusb
0
230
Continuous Happiness by Continuous Delivery
sergejusb
2
3.9k
Windows Azure from practical point of view
sergejusb
1
94
Windows Azure Web Sites: new cloud hosting offering
sergejusb
2
82
Intro to Big Data using Hadoop
sergejusb
2
140
Optimizing ASP.NET application performance: tough but necessary
sergejusb
2
74
Release Often, Release Safely
sergejusb
1
74
Web Scale with NoSQL
sergejusb
1
97
NoSQL – What’s that.pdf
sergejusb
1
81
Other Decks in Technology
See All in Technology
Oracle Database Security 詳細解説
oracle4engineer
PRO
2
260
コードレビューをなくして見えたもの
henteko
0
130
推論基盤と Scale-Up Interconnect の現状と制約から俯瞰する技術動向
markunet
2
820
Strands Decider 2BでAWSアップデートの目利きをしてみた
sato4mi
1
120
kintoneで在庫管理システムを作るときの要件定義・設計ポイント
kai0707
0
230
DBTS2026 盛り上がってますか!?Databricksが実現するAI時代のデータ基盤
akuwano
1
170
デザインレビューは自動化できるのか?─ Flutter × Figma で UI 品質保証を考える
techiro
2
800
You Have Agency(サンキュー、Ruby)
snoozer05
PRO
5
680
GCASアップデート(202607-202610)
techniczna
1
190
Microsoft Entra Kerberos で実現するクラウド デバイス管理
tamaiyutaro
2
560
IBC 2026 動画技術関連レポート / IBC 2026 Report
cyberagentdevelopers
PRO
2
440
バックオフィスに染み出すTypeScript ── clasp で安全に仕組みを作る
nealle
1
180
Featured
See All Featured
For a Future-Friendly Web
brad_frost
184
11k
What’s in a name? Adding method to the madness
productmarketing
PRO
24
4.2k
What's in a price? How to price your products and services
michaelherold
247
13k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.4k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
650
HTML-Aware ERB: The Path to Reactive Rendering @ RubyCon 2026, Rimini, Italy
marcoroth
5
900
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
550
Crafting Experiences
bethany
1
420
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
35
2.9k
The innovator’s Mindset - Leading Through an Era of Exponential Change - McGill University 2025
jdejongh
PRO
1
390
Accessibility Awareness
sabderemane
1
290
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
430
Transcript
True story of re-architecting website for scale on Windows Azure
1,3 billion+ web transactions / day 3 datacenters / 300+
servers
Lithuanian-based startup 20K+ unique visitors per month can go viral
any day soon
HOSTING WINDOWS AZURE website, blog static content database photos Linux
| Apache | MySQL | PHP Linux | Nginx | FTP
~260K page views / month ~9K page views / day
~1K page views / hour ~0,2 page views / second 20K+ but spikes up-to 50 page views / second
Cloud gives more flexibility and scalability options Windows Azure is
Microsoft’s Cloud Platform BizSpark gives Windows Azure for free for 1 year Let’s move!
VIRTUAL MACHINE
HOSTING WINDOWS AZURE website, blog static content database photos Linux
| Apache | MySQL | PHP Linux | Nginx | FTP
WINDOWS AZURE website, blog static content database photos Linux |
Apache | MySQL | PHP Linux | Nginx | FTP
Dedicated VM for storing content is suboptimal in the cloud
Manual management & scaling No backups SCALING ISSUE #1
BLOB STORAGE
WINDOWS AZURE website, blog static content database photos Linux |
Apache | MySQL | PHP Linux | Nginx | FTP
WINDOWS AZURE website, blog static content database photos Linux |
Apache | MySQL | PHP HTTP
Static content on the same VM as website and blog
Different scalability targets Photos are part of static content SCALING ISSUE #2
WINDOWS AZURE website, blog static content database photos Linux |
Apache | MySQL | PHP HTTP
WINDOWS AZURE website, blog database static content Linux | Apache
| MySQL | PHP HTTP
Database on the same VM as website and blog Very
different scalability targets and strategies SCALING ISSUE #3
WINDOWS AZURE website, blog database static content Linux | Apache
| MySQL | PHP HTTP
WINDOWS AZURE database static content Linux | MySQL HTTP website,
blog Linux | Apache | PHP
Blog on the same VM as website Different scalability targets
SCALING ISSUE #4
WEBSITES
WINDOWS AZURE database static content Linux | MySQL HTTP website,
blog Linux | Apache | PHP
WINDOWS AZURE database static content Linux | MySQL HTTP website
Linux | Apache | PHP blog IIS | PHP
FURTHER SCALING
Website gets more requests than can handle SCALING ISSUE #5
WINDOWS AZURE database static content Linux | MySQL HTTP website
Linux | Apache | PHP blog IIS | PHP
WINDOWS AZURE database static content Linux | MySQL HTTP website
Linux | Apache | PHP blog IIS | PHP
Database gets more queries than can handle SCALING ISSUE #6
WINDOWS AZURE database static content Linux | MySQL HTTP website
Linux | Apache | PHP blog IIS | PHP
WINDOWS AZURE read-only database static content HTTP website Linux |
Apache | PHP blog IIS | PHP write-only database Linux | MySQL Linux | MySQL
Read-only database gets more queries than can handle SCALING ISSUE
#7
WINDOWS AZURE read-only database static content HTTP website Linux |
Apache | PHP blog IIS | PHP write-only database Linux | MySQL Linux | MySQL
WINDOWS AZURE read-only database static content HTTP website Linux |
Apache | PHP blog IIS | PHP write-only database Linux | MySQL Linux | MySQL
Write-only database gets more queries than can handle SCALING ISSUE
#8
This is a nice issue to have Split write-only database
into shards with multiple read-only slaves for each shard accessed via layer of distributed cache
DEMO
WINDOWS AZURE database static content SQL Database HTTP blog IIS
| PHP
WINDOWS AZURE SERVICES
Windows Azure Virtual Machine for VMs Windows Azure Blob Storage
for static content Windows Azure Website for hosting web site WINDOWS AZURE
Windows Azure Service Bus for messaging Windows Azure Cache Service
for distributed caching Windows Azure Notification Hubs for push notification Windows Azure HDInsight for big data WINDOWS AZURE
WINDOWS AZURE DATA SERVICES SQL Database Storage HDInsight Cache Backup
Recovery Manager APP SERVICES Media Services Service Bus Notification Hubs BizTalk Services Active Directory Multi-Factor Auth NETWORK SERVICES Virtual Network Traffic Manager COMPUTE Virtual Machines Web Sites Mobile Services Cloud Services Pricing calculator: http://www.windowsazure.com/en-us/pricing/calculator/?scenario=full
None
None
None