Software Performance Metrics that you should look at throughout your Build Pipeline and not just when your app crashes in productiong.
Find performance and scalability problems as soon as executing your first Unit Test. Simply focus on metrics such as #SQLs, #LogMessages, #Objects on Heap, ...
3. 3
Who is doing it? How many successful deployments
can they do?
300 Deployments / Year
10+ Deployments / Day
50-60 Deployments / Day
Every 11.6 seconds
4. 4
More on Amazons Story
Deploying every 11.6s
75% fewer outages since 2006
90% fewer outage minutes
~0.001% of deployments cause a problem
Instantaneous automatic rollback
9. Status Quo: Bugfixing in Production happens
YES we know this
80%Dev Time in Bug Fixing
$60B Defect Costs
BUT
~80% of problems
caused by ~20% patterns
9 COMPANY CONFIDENTIAL – DO NOT DISTRIBUTE
14. 14
Using Hibernate results in 4k+ SQL Statements to
display 3 items!
Hibernate
Executes 4k+
Statements
Individual
Execution VERY
FAST
But Total SUM
takes 6s
16. 16
Using Telerik Controls Results in 9s for Data-Binding
of UI Controls
#1: Slow Stored Procedure
Depending on Request
execution time of this SP
varies between 1 and 7.5s
#2: 240! Similar SQL Statements
Most of these 240! Statements
are not prepared and just differ in
things like Column Names
17. 17
Metrics: # Total SQLs
# SQLs / Web Request
# Same SQLs / Request
Transferred Rows
Dev: “Learn” Frameworks
Test: With realistic Data
33. 33
Mobile Landing Page of Super Bowl Ad
434 Resources in total on that page:
230 JPEGs, 75 PNGs, 50 GIFs, …
Total size of ~
20MB
34. 34
m.store.com redirects to www.store.com
ALL CSS and JS files are
redirected to the www domain
This is a lot of time “wasted”
especially on high latency mobile
connections
35. 35
Metrics: Load Time,
# Resources (Images, …),
# HTTP 3xx, 4xx, 5xx
Dev: Build for Mobile
Test: Test on Mobile
Ops: Monitor Mobile
37. # of Requests / User
# of Log Messages
# of Exceptions
37
Page Size
# Objects In Cache
# Objects Allocated
Cache Hit Ratio
# of Images
# of SQLs
Availability # SQLs per Request
# HTTP 3xx, 4xx
45. Want MORE of these and more details?
http://apmblog.compuware.com
45
46. 46
FREE Products & More Info
•dynaTrace Free Trial
– 30 Days Free Trial on http://bit.ly/dttrial
– After that totally free for local usage
•Our Blog: http://apmblog.compuware.com
•Follow Me: @grabnerandi
Editor's Notes
Web Architectural Metrics
# of JS Files, # of CSS, # of redirects
Size of Images