Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Azure NUS ACM talk 2 - Scaling your Webapp on A...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
laurenceputra
September 22, 2012
Technology
120
2
Share
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
40
Azure Geek Girls talk
laurenceputra
1
66
Azure NUS ACM talk 1 - Meeting your VM
laurenceputra
1
87
Leadership Class Presentation
laurenceputra
0
100
Azure talk for NUS
laurenceputra
1
110
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
[Oracle TechNight#99] 生成AI時代のAI/ML入門 ~ AIとオラクルデータベースの関係 (後半)
oracle4engineer
PRO
3
240
会社説明資料|株式会社ギークプラス ソフトウェア事業部
geekplus_tech
0
170
ブラウザの投機的読み込みと投機ルールAPIを理解し、Webサービスのパフォーマンスを最適化する
shuta13
3
290
AIエージェントの支払い基盤 AgentCore Payments概要
kmiya84377
1
120
サンプリングは「作る」のか「使う」のか? 分散トレースのコストと運用を両立する実践的戦略 / Why you need the tail sampling and why you don't want it
ymotongpoo
3
110
Fabric MCPの紹介と使い分け
ryomaru0825
1
130
コミュニティ・勉強会を作るのは目的じゃない
ohmori_yusuke
0
290
生成AIはソフトウェア開発の革命か、ソフトウェア工学の宿題再提出なのか -ソフトウェア品質特性の追加提案-
kyonmm
PRO
2
850
Agents CLI と Gemini Enterprise Agent Platform で マルチエージェント開発が楽しくなる!
kaz1437
0
250
需要創出(Chatwork)×供給(BPaaS) フライホイールとMoat 実行能力の最適配置とAI戦略
kubell_hr
0
2k
FessのAI検索モード:検索システムとLLMへの取り組み
marevol
0
280
ボトムアップの改善の火を灯し続けろ!〜支援現場で学んだ、消えないための3つの打ち手〜 / 20260509 Kazuki Mori
shift_evolve
PRO
2
570
Featured
See All Featured
Applied NLP in the Age of Generative AI
inesmontani
PRO
4
2.2k
Max Prin - Stacking Signals: How International SEO Comes Together (And Falls Apart)
techseoconnect
PRO
0
160
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.2k
Technical Leadership for Architectural Decision Making
baasie
3
350
Mind Mapping
helmedeiros
PRO
1
180
Making the Leap to Tech Lead
cromwellryan
135
9.8k
The Curious Case for Waylosing
cassininazir
0
340
Building AI with AI
inesmontani
PRO
1
960
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
220
Fireside Chat
paigeccino
42
3.9k
Leveraging Curiosity to Care for An Aging Population
cassininazir
1
230
16th Malabo Montpellier Forum Presentation
akademiya2063
PRO
0
110
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