Upload
others
View
10
Download
0
Embed Size (px)
Citation preview
© 2017 Magento, Inc. 2
Stefan WillkommerCEO and Co-Founder@ TechDivision
swillkommer
The Story about Selling the Unicorn
© 2017 Magento, Inc. 3
2010
© 2017 Magento, Inc. 5
© 2017 Magento, Inc. 6
2016
© 2017 Magento, Inc. 8
© 2017 Magento, Inc. 9
31-10-2016
© 2017 Magento, Inc. 11
© 2017 Magento, Inc. 12
1-11-2016
© 2017 Magento, Inc. 14
simple start,fatal consequences
© 2017 Magento, Inc. 16
• normally 100 orders per day
• between 1. and 2. November over 6.000 Orders
• Server for the first action
• 4 CPU Cores
• 8 GB Ram
The Setup
© 2017 Magento, Inc. 17
© 2017 Magento, Inc. 18
© 2017 Magento, Inc. 19
7-11-2016
© 2017 Magento, Inc. 21
© 2017 Magento, Inc. 22
The new Setup
• Server Upgrade (HA)
• 2 x Quad Core
• 28 GB RAM
• SSD
• Software Upgrade
• FPC
• Magento
• Infrastructure
• Cloudfrount
© 2017 Magento, Inc. 23
Loadtests upfront
• 10.000 Requests/s to catalogue
• 200 Requests/s. cart and checkout
• 5 Orders/s.
=> apx. 20 times of the traffic of the first time
simple start,more fatal consequences
14-11-20160:00 o’clock
© 2017 Magento, Inc. 26
Twitter, Facebook and the social media….
#glittersport
#einhorn#ritter-sport
14-11-201615:00 o’clock
14-11-201615:00 o’clock
caching is everything
and nothing
14-11-201621:00 o’clock
© 2017 Magento, Inc. 31
The analogy
© 2017 Magento, Inc. 33
• 40.000 Concurrent-Users in Peak-times (TV Product-Placement at Prime Time)
• Page-loading < 0.5 Seconds
• Hosting via Amazon Cloud (AWS) incl. Cloudfront Services
• 2 Live-applicationserver + 1 Varnish Server + 1 Server for DB, Redis, Elastic + 1 Loadbalancing
• 2 Applicationserver as spare
• Setup designed for 250.000 Concurrent User within 1 hour
15-11-201616:00 o’clock
© 2017 Magento, Inc. 35
The AWS Setup
• 1 x ELB (Elastic Load Balancing)
• 6 x EC2 Web nodes (c4.8xlarge)
• 36 v CPUS, 64 Bit, 60 GB RAM, 10 GBit Network
• 1 x EC2 DB (c4.8xlarge)
• 36 v CPUS, 64 Bit, 60 GB RAM, 10 GBit Network
© 2017 Magento, Inc. 36
© 2017 Magento, Inc. 37
© 2017 Magento, Inc. 38
© 2017 Magento, Inc. 39
© 2017 Magento, Inc. 40
sold out
15-11-201619:00 o’clock
© 2017 Magento, Inc. 42
© 2017 Magento, Inc. 43
300.000 concurrent users90% of the requests to cart and checkout35 orders/s in peak
over 1.000 orders per minute
At a glance
© 2017 Magento, Inc. 44
over 10.000 chocolate bars per minute
2 GB/Min Traffic only through website
27.000 Databaserequests/Sek. (90MB/s)1.2 mio orders per day (extrapolated)
At a glance
key learnings
© 2017 Magento, Inc. 46
be aware of all sales eventsthe day always starts at 0:00 o’clockcaching is not always a solution
high dimensional scaling only works in the cloud
be prepared for everything
Key learnings
oops, we did it again…
© 2017 Magento, Inc. 48
Thank you
Questions?Stefan Willkommertwitter: swillkommer