• Save
Expert Days 2011: The VP R&D Open Seminar: Systems Performance Seminar
Upcoming SlideShare
Loading in...5
×
 

Like this? Share it with your network

Share

Expert Days 2011: The VP R&D Open Seminar: Systems Performance Seminar

on

  • 9,565 views

As technical leader you face a challenge: more traffic, more users, more connected systems and more features. The results can be lack of system performance. If you want to be ready for the day of ...

As technical leader you face a challenge: more traffic, more users, more connected systems and more features. The results can be lack of system performance. If you want to be ready for the day of doom, if you want to solve issues before business will get mad or just want to be the hero of the day, this is the workshop for you. In this workshop we'll cover all aspects of modern web systems and will analyze all the things that can go wrong. More important we will understand what is a clutter and what should be taken care of using a set of simple tools and steps. Among the covered items in this workshop: databases, your code, application servers, web servers, system aspects, storages, network and even the browser.

Statistics

Views

Total Views
9,565
Views on SlideShare
1,382
Embed Views
8,183

Actions

Likes
1
Downloads
1
Comments
0

16 Embeds 8,183

http://blogs.microsoft.co.il 7995
http://feeds.feedburner.com 155
http://beta.blogs.microsoft.co.il 7
http://www.linkedin.com 4
http://translate.googleusercontent.com 4
http://www.naymz.com 3
https://www.google.co.il 3
http://www.google.co.il 2
http://feedly.com 2
http://webcache-exp-test.googleusercontent.com 2
http://www.feedspot.com 1
http://webcache.googleusercontent.com 1
http://207.46.192.232 1
http://up-rise.rhcloud.com 1
https://www.linkedin.com 1
http://digg.com 1
More...

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment
  • The world is changing more and more fast You have to minimize NRE You must support unexpected demand You must provide top service (people now leaves cell operator after single incident, rather then 5, 10 years ago Firms a vulnerable – Citi worth 20Bill $ instead of 200 Bill a year ago Break and Mortar bookstores 15 years ago and Amazon…. Will it happen again to banks, insurance, real estate agencies… IS YOUR MARKET THE NEXT FOR PENETRATION – Finance? Real Estate? How to win a rival that is not existing yet? http://www.johnmwillis.com/ibm/cloud-computing-and-the-enterprise/ -
  • Start with nothing: storage, FW, LB, Server and grow… Can buy servers for more than hour

Expert Days 2011: The VP R&D Open Seminar: Systems Performance Seminar Presentation Transcript

  • 1. Where the H#@$ is My Performance Bottleneck? [email_address] http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • 2. Presentation Objectives http://www.webperformancetoday.com/2010/06/15/everything-you-wanted-to-know-about-web-performance/
  • 3. Why Do I Care?
    • From 0 to 100 (US mass adaptation)
      • Phone: 100 yrs
      • Radio: 40 yrs
      • TV: 30 yrs
      • Mobile: 20 yrs
      • Internet: 10 yrs
      • Facebook: 2 yrs
  • 4. 100K New Users/Week
  • 5. The Network Effect
  • 6. Motivation
  • 7. Where Are We?
  • 8. The Prime Suspect
  • 9. Know Your Business
  • 10. Assumptions…
  • 11. IS IT THE SERVER OR THE CLIENT?
  • 12. Waterfall Time!
  • 13. Better a Neighbor Nearby Than a Brother Far Away http://www.tcpipguide.com/free/t_TCPWindowSizeAdjustmentandFlowControl.htm
  • 14. Network Effect Solutions
    • CDN
    • Compression; Minification; Sprites; Embed
    http://www.akamai.com/stateoftheinternet/
  • 15. Show Time!
  • 16. STEP 2: IT'S DEFINITELY IN THE CODE!
  • 17. Code Profilers
  • 18. Code Anti Patterns
    • Do It Yourself Infrastructure
      • Cache
      • Data Stores
    • Locks and Semaphores
    • Code that Cannot be Tested/Automated
  • 19. Load Stress
  • 20. STEP 3: WHERE DO WE STORE THE DATA? http://1userverrack.net/2011/06/08/hp-blade-server-9/
  • 21. SQL Server Alerts
    • Connection Leak: >200
    • Object Execution Times
    • Locks
  • 22. SQL Server Execution Time Graphs
  • 23. SQL Server Execution Time Details
  • 24. Activity Monitor
  • 25. Database Anti Patterns
    • Software Engineering Patterns
    • ORM
    • Blobs
    • No Denormalization
    • Nested/Complex SQL Statements
    • Too Few/Many Indexes
  • 26. ALTERNATIVE STRATEGIES FOR BIG DATA CASES
  • 27. Strategy A - Sharding
  • 28. Strategy B – In Memory Databases
  • 29. 700 Inserts/Sec In Memory Engine 3000 Inserts/Sec InnoDB Engine 700 Inserts/Sec Amazon AWS Standard Large Instance
  • 30. Strategy C – MapReduce http://blogs.microsoft.co.il/blogs/vprnd
  • 31. Strategy D - NoSQL
    • insert
    • get
      • multiget
    • remove
    • truncate
    <Key, Value> http://wiki.apache.org/cassandra/API
  • 32. Sharding Again
  • 33. Vertical Sharding
  • 34. Horizontal Sharding
    • Static Hashing
      • Complex growth
      • Simple
    Mod 10 = 0 Mod 10 = 1 Mod 10 = 2 Mod 10 = 3 Mod 10 = 4 Mod 10 = 5 Mod 10 = 6 Mod 10 = 7 Mod 10 = 8 Mod 10 = 9
  • 35.
    • Key locations are defined in a directory
      • Simple growth
      • Directory is SPOF
      • The Directory Can be Very Large
    Horizontal Sharding
  • 36. Horizontal Sharding
    • Static Hashing with Directory Mapping
      • Simple Growth
      • The Small Directory Can be Cached on Each App Server
    Mod 1000 = 4
  • 37. Horizontal Sharding
    • Each key is signed by the DB# on creation
      • Simple growth
      • The Key Store Can be Cached on Each App Server
  • 38. STEP 4: SYSTEM ASPECTS
  • 39. Network
    • WireShark
    • Ping
    • Tracert
    • Netstat –na
    • WAN
  • 40. Storage
    • Database
    • I/O
    • NAS
    • SAN
    • SSD
  • 41. Monitoring
  • 42. The Bottom Line: Grow ∞
    • Thank you!
    • and Keep Performing!
    • Moshe Kaplan