Massive scalability for ASP.NET you can afford
-
Upload
gibraltar-software -
Category
Sports
-
view
466 -
download
0
Transcript of Massive scalability for ASP.NET you can afford
©
e S
y m
m e
t r
i
x
Massive Scalabilty for ASP.NET you can Afford
Caching for Fun and Profit
©
e S
y m
m e
t r
i
x
What It Takes
• Microsoft AppFabric Cache– Licensed with Windows Server 2008 & later
• PostSharp Community Edition– Free version from www.SharpCrafters.com
• Gibraltar Analyst: Optional for monitoring– Our product, not required for anything you see
today.
©
e S
y m
m e
t r
i
x
Why Caching?
• Apps ask a lot of repeating questions.– Stateless applications even more so
• Answers don’t change often• Authoritative information is expensive• Loading the world is impractical
©
e S
y m
m e
t r
i
x
Out of the Box ASP.NET Caches
• System.Web.Caching – General Purpose– Use AppFabric as a “drop in” replacement
• Response.Cache a.k.a. Output Cache– You still want this. – If you’re not using it already, do this first.
©
e S
y m
m e
t r
i
x
Caches Everywhere
©
e S
y m
m e
t r
i
x
Integrating the Cache
• Explicit Caching• Cache Aside Pattern
Web Server Database ServerBrowser
AppFabric Cache Server
©
e S
y m
m e
t r
i
x
Basic Cache Operations Demo
©
e S
y m
m e
t r
i
x
Unique AppFabric Coolness
• Sharable within an Enterprise– Share transient state, like shopping carts &
sessions• Massive Scale Up• Rent it from Azure
©
e S
y m
m e
t r
i
x
Go Forward and Scale!
• Know your apps real world performance• Find opportunities to reuse answers from any
operation with caching• Reconsider use of heavy persistence• Optimize for the Slashdot Effect
©
e S
y m
m e
t r
i
x
Cachingdon’t fix stupid
©
e S
y m
m e
t r
i
x
Additional Information:
Websites– www.GibraltarSoftware.com– www.SharpCrafters.com– msdn.microsoft.com/en-us/windowsserver
/ee695849.aspx
Follow Up– [email protected]– Twitter: kendallmiller