YOU ARE DOWNLOADING DOCUMENT

Please tick the box to continue:

Transcript
Page 1: Magento Meetup New Delhi- Magento2 Speed Optimization

Welcome

Page 2: Magento Meetup New Delhi- Magento2 Speed Optimization

Magento ServerOptimization and BestPractices

Nitin AgnihotriIT Security Engineer

Page 3: Magento Meetup New Delhi- Magento2 Speed Optimization

WhyOptimizationis soImportant ?

● User experience

● Handle traffic

● Improve your sales

● Increase SEO ranking

Page 4: Magento Meetup New Delhi- Magento2 Speed Optimization

What are theroot causes ofSpeed or LoadTime issue ?

● Browser cache is notleveraged.

● Application code is notoptimized.

● Server resources are notenough.

● Limited network bandwidth.

● No application caching.

Page 5: Magento Meetup New Delhi- Magento2 Speed Optimization

How to overcome issuesregarding Resources,Bandwidth & Caching ?

Page 6: Magento Meetup New Delhi- Magento2 Speed Optimization

IntegrateMagento with

● CDN

● AWS S3

● Reverse proxy (NGINX orVARNISH)

Page 7: Magento Meetup New Delhi- Magento2 Speed Optimization

What isCDN ?

●Network of reverse proxyservers.

●Globally distributed.

●High availability.

●High performance by cachingstatic content.

●Reduces load time of applicationserver.

Page 8: Magento Meetup New Delhi- Magento2 Speed Optimization

How CDN works ?

**Logos and Trademarks are owned bytheir respective owners

Page 9: Magento Meetup New Delhi- Magento2 Speed Optimization

How to implement AWS CDNCloudfront in Magento ?

Page 10: Magento Meetup New Delhi- Magento2 Speed Optimization

How CDN works ?

**Logos and Trademarks are owned bytheir respective owners

Page 11: Magento Meetup New Delhi- Magento2 Speed Optimization

Lets find the proof !

Page 12: Magento Meetup New Delhi- Magento2 Speed Optimization

AWS Cloudfront with Magento 2

**Logos and Trademarks are owned bytheir respective owners

Page 13: Magento Meetup New Delhi- Magento2 Speed Optimization

AWS Cloudfront with Magento 2

**Logos and Trademarks are owned bytheir respective owners

Page 14: Magento Meetup New Delhi- Magento2 Speed Optimization

What is AWSS3 ?

● Amazon Simple StorageService

● Make web-scale computingeasier for developers.

● Unlimited storage.

● Centralized storage.

● Highly scalable, reliable andfast

● Inexpensive data storage

Page 15: Magento Meetup New Delhi- Magento2 Speed Optimization

How S3 Works

**Logos and Trademarks are owned bytheir respective owners

Page 16: Magento Meetup New Delhi- Magento2 Speed Optimization

Benefits ofUsing S3

●Create and store data inbuckets.

●Download or upload yourdata in a fly.

●Permissions.

●Standard interfaces.

Page 17: Magento Meetup New Delhi- Magento2 Speed Optimization

What isReverseProxy ?

● Retrieve resources on behalf of aclient from one or more servers.these resources are then returned tothe client as if they originated fromthe proxy server itself.

● Used as firewall to prevent attackssuch as DoS or DdoS.

● Can reduce load on its originservers by caching static content.

● Worked as a load balancer.

● SSL termination

Page 18: Magento Meetup New Delhi- Magento2 Speed Optimization

What isVarnish ?

● HTTP accelerator

● Full Page Caching.

● Load balancer

● Only HTTP support

● Can be customized by VCL.

● PUT, POST, DELETE requestsare non cacheable.

● Cache management and purging.

Page 19: Magento Meetup New Delhi- Magento2 Speed Optimization

How to configure Varnishwith Magento 2?

Page 20: Magento Meetup New Delhi- Magento2 Speed Optimization

Magento without Varnish

**Logos and Trademarks are owned bytheir respective owners

Page 21: Magento Meetup New Delhi- Magento2 Speed Optimization

Again its time to provethe findings!

Page 22: Magento Meetup New Delhi- Magento2 Speed Optimization

Magento without Varnish

**Logos and Trademarks are owned bytheir respective owners

Page 23: Magento Meetup New Delhi- Magento2 Speed Optimization

Magento with Varnish

**Logos and Trademarks are owned bytheir respective owners

Page 24: Magento Meetup New Delhi- Magento2 Speed Optimization

What isNGINX ?

● Web server.● Full Page Caching.● Load balancer.● SSL support.● Customizable.● Serves static content

better as compared toApache.

● No purge option

Page 25: Magento Meetup New Delhi- Magento2 Speed Optimization

NGINX VS VARNISH

Page 26: Magento Meetup New Delhi- Magento2 Speed Optimization

Thank You


Related Documents