Optimize Your Web App for Peak Traffic: 5 Ways to Steer Clear of Performance Gridlock


Published on

High traffic web applications are made up of many complex layers—servers, web applications, and databases. When there is an issue on any layer, it can impair the performance of your web app or result in downtime. This hurts your end user—your customers—which can negatively impact your business.

In this webinar, we will show you how to decrease latency, avoid downtime and spot problems before they start by leveraging the latest monitoring and cloud technologies – customized for your environment. The experts from Tier 3 and New Relic will:

• Show you how to identify and correct potential pain points at each layer to optimize performance
• Guide you through calculating the costs of end user latency and app downtime on your business
• Explain the most important steps you can take now to prepare for unanticipated traffic peaks

Whether you are in Development or IT Operations, this webinar will give you the knowledge you need to protect your business's web apps from bottlenecks at any layer of the stack

Published in: Technology
  • Be the first to comment

No Downloads
Total Views
On Slideshare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • Identifying critical pathsFor example: paths to conversion for an eRetailer.No external load balancingDepending on web server’s internal load balancing mechanism
  • Bad database schema/designNo normalizationSingle key tables using the id/guid as the only keySingle table with all the domain valuesGeneric queriesToo many trips to the databaseLittle to no use of aggregation queriesNo planning on how and when to access the databaseNo stored proceduresEvery query is build and then executedNo ORM or abstractionDoing all the database push and pull of data by hand
  • How to optimize your database schemaConsider normalizationRevisit the domain layer of your application and make sure it represents what you see in the schema.Use New Relic to determine your most “expensive” queries and optimize themDetermine when stored procedures can perform better than building queriesHow to use abstraction to increase performanceORM help not only in the development efforts by keeping the developers out of the database, also they have optimized CRUD (Create Read Update Delete) methods.
  • Optimize Your Web App for Peak Traffic: 5 Ways to Steer Clear of Performance Gridlock

    1. 1. Optimize Your Web App for Peak Traffic 5 Ways to Steer Clear of Performance Gridlock
    2. 2. Today’s Cloud Performance ExpertsShantu Roy, Tier 3Shantu Roy works in product management asTier 3s Platform Lead. He works with sales andmarketing to build an ecosystem around Tier 3products, and also works with new and existingvendors in prototyping future Tier 3 products. Bjorn Freeman-Benson, New Relic As Vice President of Engineering, and software psychologist, Bjorn studies and guides the behavior of the code and the team at New Relic. He’s also an “old dude who knows Smalltalk” which was useful in writing New Relic’s PHP agent.
    3. 3. Today’s Agenda: What You’ll LearnCommon Performance Opportunities in the CloudIdentifying Performance Issues with New MonitoringTechnologiesCorrecting Performance Issues and Optimizing for theFuture
    4. 4. Tier 3Common Performance-EnhancingOpportunities in the Cloud
    5. 5. The Costs of Performance Issues• Performance issues are a continuum, from slowdowns to downtime• Costs to your users• Costs to your organization • Lost revenue and goodwill • Cost to employees and business units• IT cost to fix the problems Graphic via TechRepublic
    6. 6. Why is the Cloud Different?• Cloud has a different performance profile from physical infrastructure• Performance for the end-user depends not only on processing power, but: • Latency • Application scalability • And more…
    7. 7. Common Mistakes in the Web Layer× No asset caching× No CDN offloading Web× Identifying critical paths× No external load balancing
    8. 8. Common Mistakes in the Data Layer× Bad database schema/design× Generic queries× No stored procedures Data× No ORM or abstraction
    9. 9. New RelicIdentifying Performance Issues withPerformance Monitoring Software
    10. 10. New Relic1) Slow Database Queries
    11. 11. New Relic2) HTTP Calls
    12. 12. New Relic3) Traffic
    13. 13. New Relic4) CPU Usage
    14. 14. New Relic5) No Views Caching
    15. 15. Tier 3Performance Triage and Optimization
    16. 16. What to Do When Your Site Needs Help Now “Follow the data” – It will lead you to your bottlenecks Make a list of:  Bottle necks in all parts of the stack  Least impact to high impact  Business critical paths in the application Compare your lists to define your execution path
    17. 17. Getting Proactive: Web Layer Revisited Use traffic patterns as a guide to create a load balancing plan Caching will speed up the end-user experience Define critical paths through the application using data gleaned from New Relic Use server load data to determine the right number of web servers needed for your application
    18. 18. Getting Proactive: Data Layer Revisited Optimize your database schema Use New Relic to determine your most “expensive” queries and optimize them Determine when stored procedures can perform better than building queries Use abstraction to increase performance
    19. 19. Tier 3Tier 3 Performance Solutions
    20. 20. Tier 3 Autoscaler 2.0• Predictive horizontal and vertical scaling based on historical usage trends• Set tolerance, time limits, and more based on business rules• Use New Relic data to fine-tune Autoscaler parameters
    21. 21. Tier 3 Blueprints Growing Catalog of Best Practice-Optimized Enterprise Applications • Cross-platform, cross- framework • Private library for internal distribution & reuse • Public catalog for increased adoption More Apps Each Month
    22. 22. Tier 3 & New RelicWrapping Up
    23. 23. New Relic Real-Time Visibility into Application Performance • Pinpoint & fix problems fast – before they affect users • Identify and monitor app processes as they’re created • Real-time, end-to-end insight into performance Manage Your App From Anywhere • Access your dashboard from any browser, at the office or on the go • New Relic works the same in dedicated data centers, the cloud, and hybrid environments Boost User Satisfaction • Ensure a great user experience every time • Live monitoring of actual end users provides real-time visibility into browser response time to identify front-end bottlenecks How To Get New Relic • All Tier 3 customers get New Relic Standard free of charge! • We will follow up with the URL and promo code to sign up.
    24. 24. Tier 3 is Built for the Enterprise Architected for High Availability • Risk mitigation for 99.999% SLA across all layers • Fully redundant, never more than 50% utilization • Enables geo targeted solutions Business Continuity built in • Disaster recovery and client backup always standard • Automatic local mirroring and replication to alternate data center, preserving a rolling 14-day backups Exceeds Security and Compliance Needs • SMTA, vSAN protect customer data • Secure, low-latency direct connections • SAS 70 Type II and SSAE16 audited, customers can achieve PCI and HIPAA compliance High Performance • Predictive Autoscaler and Dynamic Allocation ensure superior customer experience • Dynamic IO increases performance of the most data- Technology Partners intensive apps with > 1K+ IOPS/VM
    25. 25. Thank you and Q&A Thank you for attending! Any questions? www.Tier3.com www.NewRelic.com