Please enable JavaScript.
Coggle requires JavaScript to display documents.
PERFORMANCE OPTIMIZATION, MCD -> MemoryCache.Default["Genres"…
PERFORMANCE
OPTIMIZATION
OVERVIEW
3-Tier
Architecture
Application
Moderate-Gain
Data
More-Gain
Client
Less-Observable-Gain
Premature
Optimization
Evil-Root
Profile
First
Then-Optimize
DATA
Glimpse
Install
glimpse.mvc5
glimpse.ef6
Turn-On
domain/glimpse.axd
Visit
Working
Cookie
Put
On-Machine
Sent
Back-Forth
In-Requests
Renders
Diagnostics
On-Presence
Cookie
Uses
Queries
Run
On-DB
Count
ExecTime
Schema
Table
Should-Have
PrimaryKey
Relationships
Indexes
On-Columns
Filtering
EAV
Avoid
Pattern
Entity-Attribute-Value
Queries
Check
Run-By
EF
StoredProc
Use-IfSlow
Optimize
In-SQL-Server
Use
Execution
Plan
Read-DB
Create
APPLICATION
Output-Cache
Decorate
[OutputCache]
Actions
Controllers
[OutputCache(..)]
Html-Page
Caching
Args
Duration
Sec
Location
OutputCacheLocation
.server
.client
When
View
ClientSpecific
VaryByParam
"genre" / "*"
Different
Cache
For
Diff-Params
Browser
Cache
Disable
Duration=0
VaryByParam="*"
NoStore=true
Data-Caching
Only-After
Performance
Profiling
Only-For
Display-Data
Using
System
Runtime
Caching
if (..)
MCD = null
set
MCD = ..fromDb
genres =
MCD as
IEnumerable<Genre>
Async
Improves
Scalability
When
SQLServer
Multiple
Instances
Session
Disable
In-Web.config
In-<system.web>
Add
<sessionState mode="Off"></..>
CLIENT
Reduce
RequestCount
ResponseSize
Lightweight
DTOs
Js
Css
Images
Compress
Sprites
ClientSide
Render
Cookies
Data
Reduce
GoesWith
Request
Response
CDN
MCD -> MemoryCache.Default["Genres"]