Achieve new levels of performance for Magento e-commerce sites.
Transcript of Achieve new levels of performance for Magento e-commerce sites.
© 2015 CLUSTRIX
The First Scale-out SQL Database Engineered for Today’s Cloud
Achieve new levels of performance for Magento e-commerce sites. Kevin Bortnick Magento Certified Developer @kbortnick
@clustrix
Common Problems with High-Transaction Magento Sites
2
Significant effort to deal with unexpected traffic
Issues with check-out during indexing
Delaying catalog updates to avoid reindexing
Site-slowdowns during peak selling seasons
High support costs Pages take too long to load!
Replication lag
Poor disaster recovery options
@clustrix
Clustrix Benefits on the Magento Platform
3
High Transaction Magento Sites
24x7x365
Large Catalogs and frequent updates
No Check-out downtime
@clustrix
Next-Generation Backend for Magento
4
ClustrixDB for Magento
ClustrixDB Clustrix Shadow (re)Indexer
@clustrix
ClustrixDB: Scale-out, Fault-tolerant, MySQL-Compatible
ClustrixDB Overview 5
ClustrixDB
ACID Compliant
Transactions & Joins
Optimized for OLTP
Built-In Fault Tolerance
Flex-Up and Flex-Down
Minimal DB Admin
Built to run in the Cloud or
Datacenter
The only Magento-approved alternative database to MySQL that scales performance up/down as your add or subtract commodity nodes.
Scale-Up far beyond MySQL: ✓ # of Connections ✓ # of Concurrent Transactions ✓ Scale-Up writes (and reads)
ClustrixDB 3 Key Values
ClustrixDB Overview 6
Keep the database On-line: ✓ Survive server crashes ✓ Add capacity on-line
Don’t re-write the App: ✓ Applications see MySQL ✓ No sharding needed ✓ No Read/Write partitioning
ClustrixDB
@clustrix
Flex Licensing = Business Agility
• ClustrixDB has: – Technical capability to grow & shrink cluster while online – Licensing model that aligns with a seasonal business
or temporary workloads
• Flex Licensing – Annual license covers base cluster size
• e.g. 3-nodes year round – Monthly Flex license covers seasonal demand
• e.g. 2 extra nodes for Nov & Dec • And drop to 1 extra node in Jan
PROPRIETARY AND CONFIDENTIAL 7
ClustrixDB
@clustrix
Easy to Administer
@clustrix
What is the ClustrixDB Shadow (re)Indexer?
• Updates to the Magento Indexer and Magento EAV Systems
• Removes frustrations and downtime stemming from catalog updates
• No impact on site performance
9 @clustrix
About ClustrixDB Shadow (re)Indexer
Re-write of two modules of the Magento Platform • Clustrix EAV
– Dramatically improves data store retrieval from primary data tables – Removes need for flat tables
• Reindex faster and less often
• Clustrix (re)Indexer – Tunes indexes to run better on ClustrixDB – Improves processing behavior
10 @clustrix
Magento Imagine Benchmark
11
Benchmark: Configuration
Software
12 @clustrix
• ClustrixDB 7.5 • Gatling Stress Tool • Magento CE 1.9.2
– Apache 2.2 – Varnish 4.0
Hardware (8 core nodes)
• 4 Drivers (Gatling Stress) • 12 Magento web servers • 6 ClustrixDB servers
Benchmark: Results
13 @clustrix
Duration 50 hours
Transaction per second 14.6
Orders Processed 2,600,000
Indexing every 12 minutes
Page Views 816/second
Average Response Time 267 ms
Average CPU Load on Database Servers 35%
Magento Site Response Times, 3 x 8 core
14
#ConcurrentUsers(over1min)
Avg.ResponseTime(milliseconds)
ErrorRate(%)
With
ClustrixWithoutClustrix
WithClustrix
WithoutClustrix
500 1956 3826 0 0.11000 2050 3868 0 02000 1896 16168 0 1.23000 5030 20767 5.2 51.4
Clustrix Scales
15
Live Demo
16
Live demo: Configuration
Software
17 @clustrix
• ClustrixDB 7.5 • Gatling Stress Tool • Magento CE 1.9.2
– Apache 2.2 – Varnish 4.0
Hardware (8 core nodes)
• 2 Drivers (Gatling Stress) • 6 Magento web servers • 3 ClustrixDB servers
Benchmark: Workload
• Workload – 120 concurrent users – 450 requests per second – 6 checkouts per second
• Catalog Size – 15,500
• Reindex/Catalog Updates – Reindexing continuously
18 @clustrix
Demo: Madison Island Homepage
19 @clustrix
Demo: Madison Category
20 @clustrix
Demo: Madison Catalog page, Filtered
21 @clustrix
Demo: Madison Catalog page, Search
22 @clustrix
Demo: Madison Product Page
23 @clustrix
Demo: Madison, Add to Cart
24 @clustrix
Demo: Madison, Checkout
25 @clustrix
Demo: Madison, Checkout Success
26 @clustrix
Demo: NewRelic
27 @clustrix
Demo: Magento, Orders
28 @clustrix
Demo: Magento, Order Admin
29 @clustrix
Demo: Magento, Product Edit
30 @clustrix
Demo: ClustrixDB New GUI
31 @clustrix
Solved Problems with High-Transaction Magento Sites
32
✅ Indexing doesn’t overwhelm hardware
✅ No extended downtimes
✅ Add, modify or delete catalog entries anytime
✅ Terrific Site Performance even during Peak Selling Season
✅ Low Support Costs. Predictable Performance
✅ Fast Page Load Times ✅ No need for data replication
@clustrix
Q&A
ClustrixDB Overview 33
Thank You
facebook.com/clustrix
www.clustrix.com
@clustrix
linkedin.com/clustrix
ClustrixDB Overview 34