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
laurenceputra
September 22, 2012
Technology
2
110
Azure NUS ACM talk 2 - Scaling your Webapp on Azure
By Ruiwen and Laurence
laurenceputra
September 22, 2012
Tweet
Share
More Decks by laurenceputra
See All by laurenceputra
STEM in the industry
laurenceputra
0
29
Azure Geek Girls talk
laurenceputra
1
61
Azure NUS ACM talk 1 - Meeting your VM
laurenceputra
1
79
Leadership Class Presentation
laurenceputra
0
88
Azure talk for NUS
laurenceputra
1
98
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
Evolving Architecture
rainerhahnekamp
3
240
Alignment and Autonomy in Cybozu - 300人の開発組織でアラインメントと自律性を両立させるアジャイルな組織運営 / RSGT2025
ama_ch
1
2.1k
チームが毎日小さな変化と適応を続けたら1年間でスケール可能なアジャイルチームができた話 / Building a Scalable Agile Team
kakehashi
1
200
【令和最新版】ロボットシミュレータ Genesis x ROS 2で始める快適AIロボット開発
hakuturu583
2
1.5k
Formal Development of Operating Systems in Rust
riru
1
410
深層学習と3Dキャプチャ・3Dモデル生成(土木学会応用力学委員会 応用数理・AIセミナー)
pfn
PRO
0
450
効率的な技術組織が作れる!書籍『チームトポロジー』要点まとめ
iwamot
2
200
OPENLOGI Company Profile
hr01
0
58k
Copilotの力を実感!3ヶ月間の生成AI研修の試行錯誤&成功事例をご紹介。果たして得たものとは・・?
ktc_shiori
0
280
.NET AspireでAzure Functionsやクラウドリソースを統合する
tsubakimoto_s
0
170
シフトライトなテスト活動を適切に行うことで、無理な開発をせず、過剰にテストせず、顧客をビックリさせないプロダクトを作り上げているお話 #RSGT2025 / Shift Right
nihonbuson
3
1.9k
JAWS-UG20250116_iOSアプリエンジニアがAWSreInventに行ってきた(真面目編)
totokit4
0
120
Featured
See All Featured
Designing for Performance
lara
604
68k
A Philosophy of Restraint
colly
203
16k
Practical Orchestrator
shlominoach
186
10k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
113
50k
Gamification - CAS2011
davidbonilla
80
5.1k
Agile that works and the tools we love
rasmusluckow
328
21k
Optimizing for Happiness
mojombo
376
70k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
Designing Experiences People Love
moore
139
23k
Building Your Own Lightsaber
phodgson
104
6.2k
We Have a Design System, Now What?
morganepeng
51
7.3k
Building Applications with DynamoDB
mza
92
6.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