• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Web systems architecture, Performance and More
 

Web systems architecture, Performance and More

on

  • 906 views

 

Statistics

Views

Total Views
906
Views on SlideShare
689
Embed Views
217

Actions

Likes
1
Downloads
0
Comments
0

13 Embeds 217

http://blogs.microsoft.co.il 162
http://top-performance.blogspot.co.il 26
http://www.dzone.com 7
http://top-performance.blogspot.nl 5
http://java.dzone.com 5
http://top-performance.blogspot.com 4
http://top-performance.blogspot.in 2
http://www.top-performance.blogspot.de 1
https://www.blogger.com 1
http://www.google.co.il 1
http://top-performance.blogspot.co.uk 1
http://feedly.com 1
http://plus.url.google.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 <br /> You have to minimize NRE <br /> You must support unexpected demand <br /> You must provide top service (people now leaves cell operator after single incident, rather then 5, 10 years ago <br /> Firms a vulnerable – Citi worth 20Bill $ instead of 200 Bill a year ago <br /> Break and Mortar bookstores 15 years ago and Amazon…. Will it happen again to banks, insurance, real estate agencies… <br /> IS YOUR MARKET THE NEXT FOR PENETRATION – Finance? Real Estate? How to win a rival that is not existing yet? <br /> http://www.johnmwillis.com/ibm/cloud-computing-and-the-enterprise/ <br /> - <br />
  • Start with nothing: storage, FW, LB, Server and grow… <br /> Can buy servers for more than hour <br />

Web systems architecture, Performance and More Web systems architecture, Performance and More Presentation Transcript

  • The VP R&D Open Seminar Web Systems Architecture and Performance Analysis moshe.kaplan@ brightaqua.com http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Presentation Objectives http://www.webperformancetoday.com/2010/06/15/everything-you-wanted-to-know-about-web-performance/ 2 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Why Do I Care? From 0 to 100 (US mass adaptation) Phone: Radio: TV: Mobile: Internet: Facebook: 3 100 yrs 40 yrs 30 yrs 20 yrs 10 yrs 2 yrs http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • 100K New Users/Week 4 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • The Network Effect 5 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Motivation 6 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • The VP R&D Open Seminar 20 YEARS OF WEB ARCHITECTURES http://www.trucoteca.com/juego/erase-una-vez-el-hombre-del-antiguo-egipto-a-la-r-10236.html 7 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Once Upon a Time... Man http://act2.me/full-stack-web-development/ 8 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • The VP R&D Open Seminar GETTING BACK 9 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Where Are We? 10 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • The Prime Suspect 11 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Know Your Business 12 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Buzz*: The Funnel http://blog.clicktale.com/2011/01/18/new-clicktale-product-launches-for-2011/ 13 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Assumptions… 14 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • The VP R&D Open Seminar IS IT THE SERVER OR THE CLIENT? 15 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Waterfall Time! 16 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Better a Neighbor Nearby Than a Brother Far Away http://www.tcpipguide.com/free/t_TCPWindowSizeAdjustmentandFlowControl.htm 17 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Network Effect Solutions CDN Compression; Minification; Sprites; Embed http://www.akamai.com/stateoftheinternet/ 18 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Show Time! 19 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Buzz*: Bootstrap 20 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • The VP R&D Open Seminar STEP 2: IT'S DEFINITELY IN THE CODE! 21 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Code Profilers 22 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Code Anti Patterns Do It Yourself Infrastructure Cache Data Stores Locks and Semaphores Code that Cannot be Tested/Automated 23 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Load Stress 24 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • The VP R&D Open Seminar Buzz*: node.js FULL STACK DEVELOPMENT 25 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Server Side JavaScript 26 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • The VP R&D Open Seminar CACHING 27 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Don’t Use Caching 28 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • If You Have To ad Re 29 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Invalidation Can Be Nightmare http://luauf.com/2009/06/08/%C2%BFque-es-memcached/ 30 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Geo Load Balancing Can be Worse 31 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Finally, Recovery May Not Be Better 32 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • KISS http://marriagelifeministries.org/?p=962 33 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • The VP R&D Open Seminar STEP 3: WHERE DO WE STORE THE DATA? http://1userverrack.net/2011/06/08/hp-blade-server-9/ 34 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • SQL Server Alerts Connection Leak: >200 Object Execution Times Locks 35 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • SQL Server Execution Time Graphs 36 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • SQL Server Execution Time Details 37 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Activity Monitor 38 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Database Anti Patterns Software Engineering Patterns ORM Blobs No Denormalization Nested/Complex SQL Statements Too Few/Many Indexes 39 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • The VP R&D Open Seminar ALTERNATIVE STRATEGIES FOR BIG DATA CASES 40 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Strategy A - Sharding 41 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Strategy B – In Memory Databases 42 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • 700 Inserts/Sec In Memory Engine 3000 Inserts/Sec Amazon AWS Standard Large Instance 43 InnoDB Engine 700 Inserts/Sec http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Strategy C – MapReduce http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com http://blogs.microsoft.co.il/blogs/vprnd 44
  • Strategy D - NoSQL insert get multiget remove truncate <Key, Value> http://wiki.apache.org/cassandra/API 45 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Sharding Again 46 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Vertical Sharding 47 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • 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 48 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • The VP R&D Open Seminar Buzz*: MongoDB DOCUMENT DATABASES 49 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • When Should I Choose NoSQL? • • • Eventually Consistent Document Store Key Value http://guyharrison.squarespace.com/blog/tag/nosql 50 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Same Terminology Database Table Row 51  Database  Collection  Document http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Same Terminology Database Table Row 52  Database  Collection  Document http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • A Blog Case Study in RDBMS http://www.slideshare.net/nateabele/building-apps-with-mongodb 53 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • And as a SW Engineer would like it to be… http://www.slideshare.net/nateabele/building-apps-with-mongodb 54 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Classic RDBMS Replication 55 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Auto Selection Using Quorum Selection Methods: • Low Priority • Hidden • (Weighted) Voting 56 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • MongoDB and Sharding http://www.10gen.com/products/mongodb 57 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • The VP R&D Open Seminar STEP 4: SYSTEM ASPECTS 58 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Network WireShark Ping Tracert Netstat –na WAN 59 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Storage Attribute RAM SSD HDD (SAS) Volatile Yes (*) No No Latency Low Low High Read MB/s 4000+ 520 164 Write MB/s 4000+ 480 164 100,000 100 $0.5 $0.05 IOPS Price/GB 60 $5.5 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Monitoring 61 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • The VP R&D Open Seminar Buzz*: Scale KEEP YOUR SYSTEM AVAILABLE 62 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Load Balancer 63 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Session Offloading 64 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • Cookie Encryption private static void SetEncryptedCookie( string name, string value ) { var encryptName = SomeEncryptionMethod(name); Response.Cookies[encryptName].Value = SomeEncryptionMethod(value); //set other cookie properties here, expiry &c. //Response.Cookies[encryptName].Expires = ... } private static string GetEncryptedCookie(string name) { //you'll want some checks/exception handling around this return SomeDecryptionMethod( Response.Cookies[SomeDecryptionMethod(name)].Value); } 65 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com
  • The Bottom Line: Grow ∞ Thank you! and Keep Performing! Moshe Kaplan 66 http://blogs.microsoft.co.il/blogs/vprnd http://top-performance.blogspot.com