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
Azure NUS ACM talk 2 - Scaling your Webapp on A...
Search
laurenceputra
September 22, 2012
Technology
120
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Azure NUS ACM talk 2 - Scaling your Webapp on Azure
By Ruiwen and Laurence
laurenceputra
September 22, 2012
More Decks by laurenceputra
See All by laurenceputra
STEM in the industry
laurenceputra
0
44
Azure Geek Girls talk
laurenceputra
1
72
Azure NUS ACM talk 1 - Meeting your VM
laurenceputra
1
91
Leadership Class Presentation
laurenceputra
0
110
Azure talk for NUS
laurenceputra
1
120
GeekcampSG - Introduction to Distributed Systems
laurenceputra
5
1.5k
MongoDB for PHP User Group SG
laurenceputra
2
1.2k
Other Decks in Technology
See All in Technology
ADKで始める業務改善 - AIエージェント開発時の考えと設計
harappa80
2
230
アクセスキーこわい やめかたと漏らさない工夫
sassssan68
1
450
Azure Serverless 2026:Production-ready な AI エージェント基盤 / Azure Serverless 2026: Production-Ready AI Agent Platform
miyake
2
260
エージェントはローカル、検証はMicroVM — Lambda MicroVMsでつくるServerless CI
fujioka6789
3
390
俺の仕事は AIに奪われないし、たぶんその BIも要らない
hikaruri
0
520
ソフトウェアDNAとクラウドエージェントのススメ
cloudace
0
120
幾何アルゴリズムで なめらかなピン操作を / iOSDC Japan 2026 / smoothpin
kazumanagano
0
360
What the customer really needed
kawaguti
PRO
3
210
映像変換サーバーなしで端末内でHLSを生成してライブ配信
hikarusato
0
130
目の前の楽しいが人生を変える - コミュニティの螺旋の歩き方と楽しむコツ / change your life
soudai
PRO
5
640
SREは、MCPとAutopilotをこう使え!
kazumax55
3
900
品質と信頼性を地続きにする
grimoh
2
800
Featured
See All Featured
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
The Cult of Friendly URLs
andyhume
79
7k
Improving Core Web Vitals using Speculation Rules API
sergeychernyshev
21
1.6k
GraphQLとの向き合い方2022年版
quramy
50
15k
Color Theory Basics | Prateek | Gurzu
gurzu
1
470
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
500
エンジニアに許された特別な時間の終わり
watany
109
250k
Easily Structure & Communicate Ideas using Wireframe
afnizarnur
194
17k
The SEO Collaboration Effect
kristinabergwall1
1
570
Public Speaking Without Barfing On Your Shoes - THAT 2023
reverentgeek
1
570
The Organizational Zoo: Understanding Human Behavior Agility Through Metaphoric Constructive Conversations (based on the works of Arthur Shelley, Ph.D)
kimpetersen
PRO
0
460
So, you think you're a good person
axbom
PRO
2
2.2k
Transcript
WINDOWS AZURE SCALING YOUR APPS HOW TO GET STARTED, AND
WHAT YOU NEED TO GET GOING by & Laurence Putra Chua Ruiwen
WHAT THIS TALK IS NOT A guide to using x,
y, or z web development framework. OR A 100% sure fire way to scale
BUT RATHER some of the best practices As well as
tools that you will find helpful in your app.
QUICK POLL HOW MANY OF YOU ... 1. ... run
your own servers? 2. ... runs a website of some sort? 3. ... understands distributed systems? 4. ... has done sysadmin stuff before?
WHAT DO YOU GUYS WHAT TO HEAR ABOUT?
CLOUDFLARE Provides you with DNS layer caching
None
None
WHY USE IT?
DEMO
MONGODB Why MongoDB? 1. It's AWESOME 2. It's FLEXIBLE 3.
It's FAST
And it’s really easy to do all those hardcore DevOps
stuff that you’ve been hearing about. Stuff like High Availability, Sharding, and Backups ...
... Add in the fact that you can add in
new fields any time. Fast ...
... and backup your ENTIRE database without facing performance issues
WHO USES MONGODB Craigslist, SAP, Codecademy, Disney, IGN, EA, Guardian,
Business Insider, Forbes, New York Times, CNN, Trello, bit.ly, Eventbrite, Foursquare, College Humor, Justin.tv, Grooveshark, about.me...
KEY CONCEPTS
SHARDING
HOW IT IS DONE? Spiltiing data into logical chunks based
on a predefined shard key
None
None
REPLICATION “Replication in computing involves sharing information so as to
ensure consistency between redundant resources, such as software or hardware components, to improve reliability, fault-tolerance, or accessibility. - Wikipedia”
HUMAN SPEAK “Storing your data multiple times in multiple locations
and praying hard that all of them do not die at the same time.”
None
None
None
None
Reads on any of the nodes Writes only on master
node Eventually correct data
MERGING THE 2
None
None
None
DEMO I am going to take a live production server
down Really Geekcamp.SG's server
SETTING UP MONGODB MongoDB website
MIXPANEL Awesome Analytics site. Allows you to see ALL your
stats in real-time
USING IT As simple as m i x p a
n e l . t r a c k ( " B u t t o n c l i c k e d " ) ;
DEMO
HOW DOES IT ALL COME TOGETHER?
DEMO GEEKCAMP.SG'S CODE Github link
SELF INFLICTED PAIN
None
NETFLIX SIMIAN ARMY Chaos Monkey Latency Monkey Conformity Monkey Doctor
Monkey Janitor Monkey Security Monkey Chaos Gorilla
CHAOS MONKEY Shuts down instances randomly Allows the team to
learn about weaknesses in the system Gets the team to build auto recovery systems
LATENCY MONKEY Introduces artificial delays in api client-server communication layer
Simulates server degradation Useful for testing fault tolerance of new services
CONFORMITY MONKEY Shuts down servers that don’t adhere to best
practices Forces the service owner to relaunch them properly
DOCTOR MONKEY Runs checks on health of servers Remove unhealthy
servers from service and alerts service owner
SECURITY MONKEY Scans for security violations or vulnerabilities Ensures that
SSL and DRM certs are not expiring
CHAOS GORILLA Shuts down all instances within an availability zone
Talk about overkill
BEST PART IS SIMIAN ARMY IS ENTIRELY OPEN SOURCE Github
link here!
NEW RELIC
THE END QUESTIONS?
None