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
Running, improving and maintaining a site in th...
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
Shravan Kumar Kasagoni
May 19, 2015
Technology
55
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
Transcript
40 slides
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
More Decks by Shravan Kumar Kasagoni
See All by Shravan Kumar Kasagoni
Functional Programming in JavaScript
shravan
0
67
ASP.NET Core – Deep Dive on Building a Real Website
shravan
0
67
Cross-Platform Mobile Development using Visual Studio and Xamarin
shravan
1
62
Angular 2 with TypeScript
shravan
1
180
Building Next Generation Web Apps and Services using ASP.NET 5
shravan
0
110
Writing Application-Scale JavaScript:TypeScript
shravan
0
76
Real-time Communications with SignalR
shravan
0
69
Open Web Interface for .NET
shravan
0
160
Glance at Visual Studio 2013 ASP.NET and Web Tools 2013
shravan
0
93
Other Decks in Technology
See All in Technology
統制されたID・権限をどう利用するか : DPoP/FAPIによるAPIセキュリティ強化
oidfj
2
300
OCI Artifact による自動運転タクシーに向けた OTA 基盤の構築
biwashi
1
300
リリースしたで終わらない。 観測できるフロントエンド開発
yamakenji24
2
260
OpenTelemetryで変わった 新時代のCloudWatchメトリクス監視
tsukuboshi
0
500
AI-Ready なデータ基盤ってなに? & 新卒未経験が、いま考えていること
imuta
0
1.1k
Platform Engineering をベースとした Agentic Software Factory の実践
110y
3
980
実測データからサービスの成長余力を測る。負荷シナリオ・テストデータ・限界値の設計
kazatohiei
0
170
MCPでネットワーク障害調査を自動化する前に直すべき3つのこと
yama3133
1
660
Amazon Bedrock AgentCore の基礎とセキュリティ・ガバナンス
ren8k
0
280
「正しいデータ」の定義をAI エージェントとつくるGoogleADKによるデータ品質定義の実践
takaha4k
0
140
技術書典で本を売る流れ
yoshimura_datam
0
140
Go でトランザクション、どう書いてますか?
knwoop
1
600
Featured
See All Featured
Introduction to Domain-Driven Design and Collaborative software design
baasie
1
1.1k
Pawsitive SEO: Lessons from My Dog (and Many Mistakes) on Thriving as a Consultant in the Age of AI
davidcarrasco
1
320
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
690
Un-Boring Meetings
codingconduct
0
510
How to build an LLM SEO readiness audit: a practical framework
nmsamuel
2
990
The Art of Programming - Codeland 2020
erikaheidi
57
15k
Optimising Largest Contentful Paint
csswizardry
37
4k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.7k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
73
43k
brightonSEO & MeasureFest 2025 - Winning Strategies for Black Friday CRO & PPC - Christian Goodrich
cargoodrich
3
910
Design in an AI World
tapps
1
400
What the history of the web can teach us about the future of AI
inesmontani
PRO
3
830