+ All Categories
Home > Documents > Preparing For The 2013 Holiday Season - Magentoinfo2.magento.com/rs/magentoenterprise/images/... ·...

Preparing For The 2013 Holiday Season - Magentoinfo2.magento.com/rs/magentoenterprise/images/... ·...

Date post: 29-May-2020
Category:
Upload: others
View: 3 times
Download: 0 times
Share this document with a friend
27
Magento Expert Consulting Group Webinar | August 14, 2013 Preparing For The 2013 Holiday Season Tips For Better Performance During The Holidays
Transcript

Magento Expert Consulting Group Webinar | August 14, 2013

Preparing For The 2013 Holiday Season Tips For Better Performance During The Holidays

Udi Shamay Head, Expert Consulting Group [email protected]

Steve Kukla Business Solution Architect, Expert Consulting Group [email protected]

Alexey Samorukov Senior System Administrator, Expert Consulting Group [email protected]

Jeff Cestra Senior Account Executive, Partnerships, New Relic [email protected]

August 14, 2013 | 2

The Presenters Magento Expert Consulting Group

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

What Powers Magento Performance?

Dealing With Peak Traffic

Holiday Health-check

Q&A

Today’s agenda

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays August 14, 2013 | 3

What Powers Magento Performance?

August 14, 2013 | 4 Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

Risks

• Application bottlenecks

• Database overload

• Page load latency

The Challenges of Peak Traffic Normal Traffic versus Peak Traffic

August 14, 2013 | 5

Consequences

• Server failure

• Website downtime

• Poor customer experience

• Loss of business

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

Indexing

Instead of getting data from multiple

tables, indexing reads from a single

table that has just the information the

system needs.

Delta Indexing

Earlier versions of Magento indexed all

data whenever a site was re-indexed.

In Enterprise Edition 1.13 most indexers

only process delta data.

August 14, 2013 | 6

Indexed Data

Indexed Data

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

Mechanisms That Power Magento Performance

Records Records Records

Records

Records Records

Records Records

Caching

Instead of assembling all of the different

page elements and objects which make

up a page each time it’s loaded, store

and load the assembled page itself.

Changes in 1.13

Enterprise Edition now features caching

validation via cache-tags and a new

cache storage adapter for multi-server

environments.

August 14, 2013 | 7

CMS Block

Navigation

CMS Block

CMS Block

CMS Block

Banner

Banner

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

Mechanisms That Power Magento Performance

Dealing With Peak Traffic

August 14, 2013 | 8 Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

• Remove out-dated products and categories.

• Be mindful of invalid promotions and try to consolidate promotion logic.

• Use mass-actions wherever possible instead of making updates product-by-product.

Preparing Your Store For Peak Traffic Make Room In Your Database

August 14, 2013 | 9 Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

• Schedule Magento cron jobs to run during off-business hours.

• Be mindful of resource-heavy actions like reports and mass-updates. Don’t schedule these actions at the same time.

Preparing Your Store For Peak Traffic Cron Job Management

August 14, 2013 | 10 Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

• Make sure all cache is enabled.

• Invalidated cache means out-dated content will be shown to your customers.

• If possible, only make catalog updates during off-business hours.

• If you’re on Enterprise Edition 1.12 or lower, consider performing re-indexes in manual mode so cache is not invalidated when products are saved.

Preparing Your Store For Peak Traffic Cache and Index Management

August 14, 2013 | 11 Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

• Make sure to review existing promotion rules. Consider deleting inactive promotions.

• Consolidate promotion rules where possible.

• Make sure quote life-times are set to lower values.

• Make sure order archiving is turned off.

Preparing Your Store For Peak Traffic Promotion and Order Management

August 14, 2013 | 12 Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

Magento Infrastructure Overview

August 14, 2013 | 13 Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

• Performance. Zend OpCache has a consistent performance edge over APC, which, depending on the code, can range between 5 and 20% in terms of requests/second.

• Supported by recent PHP versions beginning with 5.2. Included in PHP 5.5.

• Reliability. OpCache has optional corruption detection capabilities that can prevent a server-wide crash in case of data corruption.

August 14, 2013 | 14

Preparing Your Store For Peak Traffic Zend Opcache

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

• Default (files) cache backend

• Traditional multi-instance approach: Memcached + MySQL

• Cm_Cache_Backend_Redis officially starting with Enterprise Edition 1.13

• Other possible options

• Benchmarking with magento-cache-benchmark

ECG Expert Articles http://www.magentocommerce.com/consulting/expert-articles

August 14, 2013 | 15

Preparing Your Store For Peak Traffic Cache Storage

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

• Full Page Caching, with hole-punching via Varnish ESI and/or AJAX, even for logged in visitors.

• Able to generate and apply new Varnish VCLs (configurations) on the fly, without restarting/changing Varnish's config files or flushing the cache.

• Works with Magento Community or Enterprise Editions.

August 14, 2013 | 16

Preparing Your Store For Peak Traffic Varnish

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

• CDN - A content delivery network (CDN) is a network of servers deployed around the world serving images, files, etc.

• A CDN helps to ensure that content is delivered to clients from a source which is physically closest to them

Preparing Your Store For Peak Traffic CDN

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

• Database Replication helps reduce load on your primary database server by distributing read requests. This allows your site to serve more visitors at once.

• Replication can also be used for backing up the database without affecting site performance as well as for high availability configurations.

Preparing Your Store For Peak Traffic Database Replication

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

• Load testing is the process of putting demand on a system or device and measuring its response.

• Load testing is performed to determine a system’s behavior under both normal and anticipated peak load conditions.

• Load testing can also be used to catch regressions caused by changes in code.

Preparing Your Store For Peak Traffic Load Testing

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

• Know your backup or failover strategy

• Avoid massive updates such as importing/exporting products or database backups during business hours

• Monitor your system and customer activity

• Don’t flush your cache during peak traffic

• When updating your catalog, switch indexes to manual mode

• Make sure you time cron jobs to run after business hours or during periods of low traffic

• Make sure you can scale quickly

Preparing Your Store For Peak Traffic Top Tips

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

Holiday Health-check

August 14, 2013 | 21 Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

ECG and New Relic partner to bring Magento merchants the ultimate holiday

offering to help optimize application performance!

August 14, 2013 | 22

ECG Holiday Health-check

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

Service Benefits

• Provides unique ECG recommendations for faster page

response times, optimized queries, optimized resource

utilization, scalability and more

• Review of Magento application and database server

configuration

• Includes business consultation to understand key vulnerabilities

and potential bottlenecks

• Full installation and configuration of the New Relic application

performance management tool, plus plug-ins and monitoring

• Load testing which includes graphs and data from New Relic

• Reduced-price New Relic license

August 14, 2013 | 23

ECG Holiday Health-check

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

Learn more [email protected]

• Know immediately when problems arise

• Reduce downtime and business losses

• Automatically fix problems when they are

detected

• Ensure your organization's SLAs are being

met

• Metrics collection and graphing helps to

diagnose a condition whose existence you

have already identified and predict

requirements

August 14, 2013 | 24

Why System Monitoring Is Important

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

• Availability monitoring, alerting and notification

• Real-user response time, throughput &

breakdown by layer

• Code level diagnostics, Transaction tracing and

Stack trace details

• Slow SQL and SQL performance details

• Track individual key transactions

August 14, 2013 | 25

New Relic Overview

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

Q&A

August 14, 2013 | 26 Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays

Udi Shamay Head, Expert Consulting Group [email protected]

Steve Kukla Business Solution Architect, Expert Consulting Group [email protected]

Alexey Samorukov Senior System Administrator, Expert Consulting Group [email protected]

Jeff Cestra Senior Account Executive, Partnerships, New Relic [email protected]

August 14, 2013 | 27

The Presenters Magento Expert Consulting Group

Preparing For The 2013 Holiday Season – Tips For Better Performance During the Holidays


Recommended