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
Running, improving and maintaining a site in th...
Search
Shravan Kumar Kasagoni
May 19, 2015
Technology
47
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Running, improving and maintaining a site in the real world
Shravan Kumar Kasagoni
May 19, 2015
More Decks by Shravan Kumar Kasagoni
See All by Shravan Kumar Kasagoni
Functional Programming in JavaScript
shravan
0
55
ASP.NET Core – Deep Dive on Building a Real Website
shravan
0
52
Cross-Platform Mobile Development using Visual Studio and Xamarin
shravan
1
53
Angular 2 with TypeScript
shravan
1
170
Building Next Generation Web Apps and Services using ASP.NET 5
shravan
0
95
Writing Application-Scale JavaScript:TypeScript
shravan
0
69
Real-time Communications with SignalR
shravan
0
61
Open Web Interface for .NET
shravan
0
150
Glance at Visual Studio 2013 ASP.NET and Web Tools 2013
shravan
0
84
Other Decks in Technology
See All in Technology
あなたの知らないバージョン命名規則
sat
PRO
2
850
エージェント化するAI:現在地とその先に起きる変化 / AI as Agents: The Current State and the Changes Ahead
ks91
PRO
0
160
PdMをやめて、 "プロダクトビルダー"という 働き方に変えました / PdM to Product Builder
shikichee
1
140
最新技術に積極チャレンジ!EKS共通基盤のこれまでとこれから
daitak
0
250
本番に近いテストをもっと手軽に - Postmanで広がるAPIテストの世界 / Expanding the World of API Testing with Postman
yokawasa
1
130
カーネルまで探検して理解するふたつの自動計装
sumiyae
0
340
RapidCopy2 Matrix I/Oエンジンによるファイルコピーソフトウェアの設計と実装
kengosawa2
1
480
Claude Teamプランの コスト最適化を考える
rfdnxbro
1
800
Digitization部 紹介資料
sansan33
PRO
2
7.8k
AIレビュー時代に必要なのは、SLOで引く撤退ライン
nobuoooo
0
150
EMの役割で 変わったこと・変わらなかったこと
sansantech
PRO
1
190
医療の現場を変革に挑戦した半年間の軌跡 - PythonとAIで現場を変える / From Code to Care
soudai
PRO
1
640
Featured
See All Featured
A Modern Web Designer's Workflow
chriscoyier
698
190k
Accessibility Awareness
sabderemane
1
180
Build The Right Thing And Hit Your Dates
maggiecrowley
39
3.4k
Fireside Chat
paigeccino
42
4k
Building an army of robots
kneath
306
46k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
666
130k
Discover your Explorer Soul
emna__ayadi
2
1.3k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
2.1k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
360
The Power of CSS Pseudo Elements
geoffreycrofte
82
6.5k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Sam Torres - BigQuery for SEOs
techseoconnect
PRO
0
500
Transcript
Running, improving and maintaining a site in the real world
Shravan Kumar Kasagoni
Agenda 1) Scenario: Scale 2) Scenario: Adapt to Change 3)
Scenario: Environments
Let’s get Real
Scenario: Scale
Scenario description Your site load varies over time. You need
to adapt. Smoothly. 5
Load profiles 6 INCREASING BATCH Load No load Load PREDICTABLE
UNPREDICTABLE
Step 1: Preserve server bandwidth PROBLEM: Your servers are wasting
bandwidth serving static files. 7
Step 1: Preserve server bandwidth SOLUTION: Serve static files from
blob storage. This is a step towards to delivering content from a content delivery network (CDN). 8
Step 2: Caching PROBLEM: Your servers have finite resources. You
don’t want to repeat work you don’t have to. 9
Step 2: Caching SOLUTION: Store ASP.NET page output cache in
Windows Azure Caching Service. 10
Step 3: Manual scale PROBLEM: You need more server resources.
11
Step 2: Manual Scale SOLUTION: Add more servers (horizontal scaling).
Use more powerful servers (vertical scaling). 12
13
Step 3: Auto-scale PROBLEM: Manual scaling reaction time means outages.
Manual scaling is busy work. 14
Step 2: Auto-scale SOLUTION: Use auto-scale. 15
16
Demo Scenario: Scale
Scenario: Change
Scenario description Your site isn’t done when you deploy to
production. You need to add new features. Change adds risk. 19
Step 1: Manage database schema PROBLEM: Your database and application
code need to stay in sync. 20
Step 1: Manage database schema SOLUTION: Use Entity Framework Data
Migrations. 21
Demo Scenario: Data migrations
Step 2: Manage deployments PROBLEM: People sometimes make misteaks. 23
Step 2: Manage deployments SOLUTION: Use deployment rollback. 24
25
Demo Scenario: Deployment rollback
Step 3: Leverage services PROBLEM: Large changes often require you
to add new features quickly. 27
Step 3: Leverage services SOLUTION: Take advantage of available Windows
Azure services. 28
Demo Scenario: Windows Azure Active Directory
Scenario: Multiple Environments
Scenario description Running a real site requires multiple internal environments.
Global availability requires multiple worldwide deployments. 31
Step 1: Dev / Test environments PROBLEM: Setting up development
web server environments is time consuming. You need to see your code running somewhere other than deployment before deploying. 32
Step 1: Dev / Test environments SOLUTION: Environment consistency via
deployment setup in Windows Azure Web Sites or VM images. Cost savings by paying only for what you need. 33
DISCOUNT VIRTUAL MACHINES 33% 25% DISCOUNT RESERVED WEB SITES CLOUD
SERVICES, HDINSIGHT MONTHLY CREDIT VISUAL STUDIO ULTIMATE WITH MSDN $150 CREDIT CARD REQUIRED NO MONTHLY CREDIT VISUAL STUDIO PREMIUM WITH MSDN $100 MONTHLY CREDIT VISUAL STUDIO PROFESSIONAL WITH MSDN $50
Step 2: Global Reach PROBLEM: It’s hard to deploy a
consistent environment in multiple datacenters. 35
Step 2: Global Reach SOLUTION: Use automated deployment workflow to
ensure consistency in deployment process. 36
Step 3: Continuous Delivery PROBLEM: Bugs and issues in your
code get harder to fix the longer it takes to find out about them. Deployment is a risky, error-prone operation. 37
Step 3: Continuous Delivery SOLUTION: Use continuous integration to automate
build, unit & integration testing. Use automated deployment workflow to ensure consistency in deployment process. 38
Demo Scenario: Multiple environment
Thank You