Performance Tuning Renegade

Slides:



Advertisements
Similar presentations
Scalable Web Site Antipatterns Justin Leitgeb Stack Builders Inc.
Advertisements

Case Study: Photo.net March 20, What is photo.net? An online learning community for amateur and professional photographers 90,000 registered users.
Disk Arrays COEN 180. Large Storage Systems Collection of disks to store large amount of data. Performance advantage: Each drive can satisfy only so many.
1 Real World Performance Tuning Ask Bjørn Hansen OSCON 2001.
10/10/14 INASP: Effective Network Management Workshops Unit 6: Solving Network Problems.
Real-Time Analysis for High-Frequency Trading Your Data Needs to Be Faster, Not Just Bigger © 2015 Lee A Cole.
ManageEngine® Applications Manager
1 CSSE 477 – A bit more on Performance Steve Chenoweth Friday, 9/9/11 Week 1, Day 2 Right – Googling for “Performance” gets you everything from Lady Gaga.
CSE 190: Internet E-Commerce Lecture 16: Performance.
Scalability and planning for growth 1WUCM1. Content management issues Structural – Naming (e.g. file, URL) policy – File and directory naming needs: invent/design/borrow.
Computer Science 162 Section 1 CS162 Teaching Staff.
Analysis and Performance Information Systems 337 Prof. Harry Plantinga.
1 Lecture 24: Interconnection Networks Topics: communication latency, centralized and decentralized switches (Sections 8.1 – 8.5)
Capacity planning for web sites. Promoting a web site Thoughts on increasing web site traffic but… Two possible scenarios…
Capacity Planning in SharePoint Capacity Planning Process of evaluating a technology … Deciding … Hardware … Variety of Ways Different Services.
How WebMD Maintains Operational Flexibility with NoSQL Rajeev Borborah, Sr. Director, Engineering Matt Wilson – Director, Production Engineering – Consumer.
22-Aug-15 | 1 |1 | Help! I need more servers! What do I do? Scaling a PHP application.
Consistent Hashing: Load Balancing in a Changing World
HTTP; The World Wide Web Protocol
User Side Factors. Download Speed Download speed from a user’s side, is how long it takes a webpage to load, once requested. The measurement for time.
DNN Performance & Scalability Planning, Evaluating & Improving : Part 1.
Global NetWatch Copyright © 2003 Global NetWatch, Inc. Factors Affecting Web Performance Getting Maximum Performance Out Of Your Web Server.
Performance Concepts Mark A. Magumba. Introduction Research done on 1058 correspondents in 2006 found that 75% OF them would not return to a website that.
Ideas to Improve SharePoint Usage 4. What are these 4 Ideas? 1. 7 Steps to check SharePoint Health 2. Avoid common Deployment Mistakes 3. Analyze SharePoint.
Software Performance Testing Based on Workload Characterization Elaine Weyuker Alberto Avritzer Joe Kondek Danielle Liu AT&T Labs.
Lecture Topics: 11/17 Page tables TLBs Virtual memory flat page tables
Installing, Configuring And Troubleshooting Coldfusion Mark A Kruger CFG Ryan Stille CF Webtools.
A Presentation to Oracle OpenWorld Blistering Web Applications with Oracle TimesTen In Memory Option.
Computing Infrastructure for Large Ecommerce Systems -- based on material written by Jacob Lindeman.
Module 10 Administering and Configuring SharePoint Search.
Dynamic web content HTTP and HTML: Berners-Lee’s Basics.
“Load Testing Early and Often” By Donald Doane Presentation to the Rockville MDCFUG.
Scale Fail or, how I learned to stop worrying and love the downtime.
1 Part VII Component-level Performance Models for the Web © 1998 Menascé & Almeida. All Rights Reserved.
1 MSRBot Web Crawler Dennis Fetterly Microsoft Research Silicon Valley Lab © Microsoft Corporation.
PERFORMANCE AND ANALYSIS WORKFLOW ISSUES US ATLAS Distributed Facility Workshop November 2012, Santa Cruz.
Computer Science Lecture 28, page 1 CS677: Distributed OS Today: Final Thoughts.
 cfObjective(ANZ)– November 17-18, 2011  Mike Brunt – CFWhisperer.
Overview on Web Caching COSC 513 Class Presentation Instructor: Prof. M. Anvari Student name: Wei Wei ID:
Web Cache. What is Cache? Cache is the storing of data temporarily to improve performance. Cache exist in a variety of areas such as your CPU, Hard Disk.
The Next Level Of Agile: DevOps and CD אוקטובר 2015.
Monitoring Alfresco with Nagios/Icinga Toni de la Fuente Alfresco Senior Solutions Engineer Blog: blyx.com
Cofax Scalability Document Version Scaling Cofax in General The scalability of Cofax is directly related to the system software, hardware and network.
This document is provided for informational purposes only and Microsoft makes no warranties, either express or implied, in this document. Information.
Andrew Lahiff HEP SYSMAN June 2016 Hiding infrastructure problems from users: load balancers at the RAL Tier-1 1.
25/09/2016 INASP: Effective Network Management Workshops Unit 6: Solving Network Problems.
1 Design and Implementation of a High-Performance Distributed Web Crawler Polytechnic University Vladislav Shkapenyuk, Torsten Suel 06/13/2006 석사 2 학기.
Nagios Performance Tuning Nick Scott
12/29/2017 3:36 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Welcome POS Synchronize Concept 08 Sept 2015.
Understanding and Improving Server Performance
Understanding the New PTC System Monitor (PSM/Dynatrace) Application’s Capabilities and Advanced Usage Stephen Vaillancourt PTC Technical Support –Technical.
Apache web server Quick overview.
WWW and HTTP King Fahd University of Petroleum & Minerals
Planning for Testing In a DevOps World.
Informatica PowerCenter Performance Tuning Tips
Virtualization Cloud and Fedora
CSI 400/500 Operating Systems Spring 2009
Software Architecture in Practice
Acutelearn Azure Administration Training in Hyderabad Classroom Training Instructor led trainings at Acutelearn premises Corporate Training Custom tailored.
Measure Web Performance
B.Ramamurthy Appendix A
Scaling and Performance
Moodle Scalability What is Scalability?
Admission Control and Request Scheduling in E-Commerce Web Sites
Module P3 Practical: Building a webapp in nodejs and
Performance Evaluation
NAVIGATING THE MINEFIELD
Message Passing Systems Version 2
Report from the trenches of an HTML5 game provider
Presentation transcript:

Performance Tuning Renegade Target: FUDCon Boston 2009 Version: 1.0 Contact: mmcgrath@fedoraproject.org Topics on performance tuning and web applications. Mike McGrath Fedora Infrastructure 2009-01-05

Target of Discussion Specifically as it relates to web applications How Fedora preps for a release Not so much on coding, more on the infrastructure side In like a lamb, out like a lion

NOT Performance Tuning 'Making Things Faster' An Art A quick fix Hope Your mom

Performance Tuning Metrics (investigation) Science (research) Desires (SLA / what you define / your boss) Solutions Planning (Get the fix designed) Blood, Sweat, Tears, sacrifice (cost) Metrics (Prove you fixed it!) Control (you run the servers, not the other way around)

Obligatory Einstein Quote 'Any intelligent fool can make things bigger and more complex... It takes a touch of genius – and a lot of courage to move in the opposite direction'

Fedora Release Day Key Systems Distribution Marketing Documentation

Fedora Release Day Needs (desires) Site availability Low service time (time for page load) Ease of troubleshooting

Flash Back! Problems SPOF Moin and the wiki Slow page loads / Low concurrency Hanging Goals: Availability, service time, troubleshooting

Problem 1: SPOF Issues One Server to rule them all Performance issues and no flexability Solutions Scaled out from one site, to 4 (via dns balancing) Cost Simplicity $$

Problem 2: Moin Issues: Flat File Poor performance over nfs Few caching options Solutions Move to a database backend (mediawiki) Cache Cost Simplicity Man hours

You get the idea Take previous high level views and apply them at the lowe level Quick note about queueing Little's Law N = λT N = Average length of the queue λ = Average arrival rate T = Average time request a sits waiting Quicker T's vs adding a new queue

Problem 3: Slow Page Loads (issues) VPN bottleneck (remember our new proxy servers?) Database speed High Load on app servers(not a problem, a symptom, a metric) Lots of io wait

Problem 3: Slow Page Loads (metrics) Ab – What is 'slow' Load times vs concurrency Pick your target Mod headers – Where is it slow? Sar – check machine status (proxy, app, db)

Problem 3: Slow Page Loads (science) Measurements are not problems! Create sar disk graph Demonstrate mod_headers Ab example Hits/sec actual

Problem 3: Slow Page Loads (desires) Serve every request Serve it in a defined period of time 'possible' is often a limit of $$ Faster database access (it's shared)

Problem 3: Slow Page Loads (solutions) Proxy caching Decreases service times Scales for more concurrent connections RAID10 on database Iowait, raid5 writes, logs on different disks, the works my-large.cnf Mediawiki caching decreases reads from db

Problem 3: Slow Page Loads (cost) Simplicity $$ (new db server) Caching increases risk of stale content being shown

Problem 4: Hanging (Issues) Pages don't load Can't log in Shell not coming up Dom0 still responsive

Problem 4: Hanging (Metrics) ab sar -W sar -r Other questions What does 'unresponsive' mean? (console timeout)

Problem 4: Hanging (Science) Swap vs swapping (measurement vs activity) Apache and memory usage http://mmcgrath.fedorapeople.org/csi/html-single/

Problem 4: Hanging (Desires) Limit failed requests (via MaxClients and a queue) Queue == memory Shell access via ssh or console that is responsive (swap) Providing predictable growth (hits/s / server) Provide 'in meeting estimates' Impress your boss

Problem 4: Hanging (Solutions) Proper MaxClients Other tunables in sysctl Connection limits

Problem 4: Hanging (Cost) Lower hits / second Raised time to serve requests under high load (the queue) Made assumptions about load type based on release day traffic

Questions Ask anything