SlideShare a Scribd company logo
1 of 23
© 2015 CLUSTRIX
The First Scale-out SQL Database Engineered for Today’s Cloud
1
Scaling Techniques to Increase
Magento Capacity
Or How to Get Ready for the Holiday and Cope with
Fast Growth
Kevin Bortnick, Magento Solutions Architect at Clustrix
PROPRIETARY AND CONFIDENTIAL2
• Kevin is a Certified Magento Developer. He has built and maintained some of the
largest and most complex Magento-powered E-commerce sites.
• Kevin lives in Las Vegas and is currently the Magento Solutions Architect for Clustrix.
As a Magento Architect — I think about the future
 How easy is it to maintain?
 Can someone else support it?
 Can it handle growth?
 Can it be used for something else?
 When is it going to break?
PROPRIETARY AND CONFIDENTIAL3
Symptoms of a Problem?
• Increased page load time
•
• Spikes and Errors
•
• Site Crashes
•
• Support Tickets
PROPRIETARY AND CONFIDENTIAL4
If you are seeing issues…
• Look in the obvious places
– Scale your Magento web nodes
– Add Memcached or Redis
– Add Varnish
• If everything else is tuned right, the
database becomes the next
bottleneck
PROPRIETARY AND CONFIDENTIAL5
Ways of Extending MySQL
PROPRIETARY AND CONFIDENTIAL6
Faster Hardware?
Read Slaves?
Multi Master? Partitioning?
Percona?
NoSQL?
Clustrix?
Report Card Grading
7
Report Card
MySQL Compatible ✔
Improves Performance ✔
Scales Reads ✔
Scales Writes ✔
No Application Changes
No Single Point of Failure
Percona
• A drop-in replacement for MySQL
• Pros:
– Easy to set up and use
– Retains consistent
performance at high resource
utilization
• Cons:
– Still has MySQL's architecture
limitations
– No high availability or disaster
recovery
8
Report Card
MySQL Compatible ✔
Improves Performance ✔
Scales Reads ✔
Scales Writes Limited
No Application Changes ✔
No Single Point of Failure
Faster Hardware
• Pros:
– Immediate performance improvements
• Cons:
– Limit to how large you can go
– High-end hardware can get very
expensive, especially when you include
backup servers
– Excess hardware during off peak
season
9
Report Card
MySQL Compatible ✔
Improves Performance ✔
Scales Reads Limited
Scales Writes Limited
No Application Changes ✔
No Single Point of Failure
Master with Read Slaves
• Pros:
– Easy to do
– Magento has this feature built in
• Cons:
– Does not help solve write
checkout bottlenecks
– Eventual consistency
10
Master
SlaveSlave
Report Card
MySQL Compatible ✔
Improves Performance ✔
Scales Reads ✔
Scales Writes
No Application Changes ✔
No Single Point of Failure
Master/Master, Store/Admin
• Pros:
– Works well if you do a lot of
updates
– Helps for 24 hour stores
• Cons:
– Have to accommodate edge
cases
– DBA needs to monitor for
replication issues
– Won't fix front-end only
bottlenecks
11
Store
SlaveSlave
Admin
Report Card
MySQL Compatible ✔
Improves Performance ✔
Scales Reads ✔
Scales Writes
No Application Changes
No Single Point of Failure
True Multi Master
• Pros
– Can deliver better overall
performance
• Cons
– Application must keep track of
orders and inventory
– Latency can cause sync issues
– Expensive to develop and maintain
– Complexity increases and stability
decreases
12
1
1b1a
2
2b2a
Report Card
MySQL Compatible ✔
Improves Performance ✔
Scales Reads ✔
Scales Writes ✔
No Application Changes
No Single Point of Failure
Partitioning (Magento 2 feature CQRS)
• Pros
– Able to distribute load
• Cons
– Can’t join between partitioned
segments
– Amount of tables able to be
partitioned is limited
– Harder to maintain—need to track
configurations
13
Report Card
MySQL Compatible ✔
Improves Performance ✔
Scales Reads ✔
Scales Writes Limited
No Application Changes Limited
No Single Point of Failure
NoSQL
• Pros:
– Runs very fast in non-ACID mode
• Cons:
– Gains speed from short-cutting of ACID
– Commits before writing to disk
– No cross-document transactions
– NoSQL requires significant application
development to swap-out MySQL
14
ACID = Transaction and Data Safety
Report Card
MySQL Compatible
Improves Performance
Scales Reads In non-
ACID
mode
Scales Writes ✔
No Application Changes Limited
No Single Point of Failure
Don’t Drop
ACID
ClustrixDB
15
• Pros
– Drop-In Replacement for MySQL
– Scales READS and WRITES
– Distributed
– Shared Nothing
– Data Redundancy
– Built in high availability solution
– Low cost disaster recovery
– Elastic in the cloud and data
center
– Seasonal Flex, Self-Managing
Report Card
MySQL Compatible ✔
Improves Performance ✔
Scales Reads ✔
Scales Writes ✔
No Application Changes ✔
No Single Point of Failure ✔
Easy to Administer
ClustrixDB
Flexing up for Seasonal Demand
The Flex Command Center
Wrap Up – Think About the Future
 How easy is it to maintain
 Can someone else support it
 Can it handle growth
 Can it be used for something else
 When is it going to break
20
Report Card
MySQL Compatible ✔
Improves Performance ✔
Scales Reads ✔
Scales Writes ✔
No Application Changes ✔
No Single Point of Failure ✔
PROPRIETARY AND CONFIDENTIAL21
Q & A
PROPRIETARY AND CONFIDENTIAL22
Thank you
ClustrixDB Key Differentiators
Automatic, 100%
fault tolerance
Availability
No single
point of failure
Battle-tested
performance
Flex up and
down, in minutes
Massive,
linear scalability
Capacity
Extreme
concurrency
Productivity
Eliminates
re-architecting
the database
Plug-in MySQL
compatibility
Self-managing
operation
PROPRIETARY AND CONFIDENTIAL23
Engineered
for any cloud
One-click
installation
Cloud
Seamless
scale-out

More Related Content

What's hot

Nimble storage
Nimble storageNimble storage
Nimble storage
dvmug1
 

What's hot (19)

How not to be a cranky dba
How not to be a cranky dbaHow not to be a cranky dba
How not to be a cranky dba
 
Website Backup
Website Backup Website Backup
Website Backup
 
The top integration features you probably didn’t know existed in Service Bus
The top integration features you probably didn’t know existed in Service BusThe top integration features you probably didn’t know existed in Service Bus
The top integration features you probably didn’t know existed in Service Bus
 
Nimble storage
Nimble storageNimble storage
Nimble storage
 
BizTalk Server Performance Tips
BizTalk Server Performance TipsBizTalk Server Performance Tips
BizTalk Server Performance Tips
 
Grokking TechTalk #33: High Concurrency Architecture at TIKI
Grokking TechTalk #33: High Concurrency Architecture at TIKIGrokking TechTalk #33: High Concurrency Architecture at TIKI
Grokking TechTalk #33: High Concurrency Architecture at TIKI
 
BRE Deep Dive
BRE Deep DiveBRE Deep Dive
BRE Deep Dive
 
WordPress optimization
WordPress optimizationWordPress optimization
WordPress optimization
 
Why does a business need real-time data processing?
Why does a business need real-time data processing?Why does a business need real-time data processing?
Why does a business need real-time data processing?
 
Hard parts paywall - stup
Hard parts   paywall - stupHard parts   paywall - stup
Hard parts paywall - stup
 
S3
S3S3
S3
 
Which watcher watches CloudWatch
Which watcher watches CloudWatch Which watcher watches CloudWatch
Which watcher watches CloudWatch
 
Mastering Migration - How to Manage a Move From Another CMS to WordPress with...
Mastering Migration - How to Manage a Move From Another CMS to WordPress with...Mastering Migration - How to Manage a Move From Another CMS to WordPress with...
Mastering Migration - How to Manage a Move From Another CMS to WordPress with...
 
Scylla Summit 2018: Grow small, Get big — Experiences with Scylla
Scylla Summit 2018: Grow small, Get big — Experiences with ScyllaScylla Summit 2018: Grow small, Get big — Experiences with Scylla
Scylla Summit 2018: Grow small, Get big — Experiences with Scylla
 
Stacktrace Berlin RC.2
Stacktrace Berlin RC.2Stacktrace Berlin RC.2
Stacktrace Berlin RC.2
 
Handling your backups
Handling your backupsHandling your backups
Handling your backups
 
Netherlands OSUG | Sep 30
Netherlands OSUG | Sep 30Netherlands OSUG | Sep 30
Netherlands OSUG | Sep 30
 
How to automate your BizTalk Installations and Deployments with Chef
How to automate your BizTalk Installations and Deployments with ChefHow to automate your BizTalk Installations and Deployments with Chef
How to automate your BizTalk Installations and Deployments with Chef
 
Cohodatawebinar
Cohodatawebinar Cohodatawebinar
Cohodatawebinar
 

Viewers also liked

Viewers also liked (15)

ClustrixDB 7.5 Announcement
ClustrixDB 7.5 AnnouncementClustrixDB 7.5 Announcement
ClustrixDB 7.5 Announcement
 
Clustrix Database Overview
Clustrix Database OverviewClustrix Database Overview
Clustrix Database Overview
 
Database Architecture & Scaling Strategies, in the Cloud & on the Rack
Database Architecture & Scaling Strategies, in the Cloud & on the Rack Database Architecture & Scaling Strategies, in the Cloud & on the Rack
Database Architecture & Scaling Strategies, in the Cloud & on the Rack
 
Beyond Aurora. Scale-out SQL databases for AWS
Beyond Aurora. Scale-out SQL databases for AWS Beyond Aurora. Scale-out SQL databases for AWS
Beyond Aurora. Scale-out SQL databases for AWS
 
Why Traditional Databases Fail so Miserably to Scale with E-Commerce Site Growth
Why Traditional Databases Fail so Miserably to Scale with E-Commerce Site GrowthWhy Traditional Databases Fail so Miserably to Scale with E-Commerce Site Growth
Why Traditional Databases Fail so Miserably to Scale with E-Commerce Site Growth
 
Clustrix Database Percona Ruby on Rails benchmark
Clustrix Database Percona Ruby on Rails benchmarkClustrix Database Percona Ruby on Rails benchmark
Clustrix Database Percona Ruby on Rails benchmark
 
E-Commerce Success is a Balancing Act. Ensure Success with ClustrixDB.
E-Commerce Success is a Balancing Act. Ensure Success with ClustrixDB.E-Commerce Success is a Balancing Act. Ensure Success with ClustrixDB.
E-Commerce Success is a Balancing Act. Ensure Success with ClustrixDB.
 
Moving an E-commerce Site to AWS. A Case Study
Moving an  E-commerce Site to AWS. A Case StudyMoving an  E-commerce Site to AWS. A Case Study
Moving an E-commerce Site to AWS. A Case Study
 
Achieve new levels of performance for Magento e-commerce sites.
Achieve new levels of performance for Magento e-commerce sites.Achieve new levels of performance for Magento e-commerce sites.
Achieve new levels of performance for Magento e-commerce sites.
 
Db performance optimization with indexing
Db performance optimization with indexingDb performance optimization with indexing
Db performance optimization with indexing
 
Clusterix at VDS 2016
Clusterix at VDS 2016Clusterix at VDS 2016
Clusterix at VDS 2016
 
ZF3 introduction
ZF3 introductionZF3 introduction
ZF3 introduction
 
Magento 2 Frontend le novità - Meet Magento 2015
Magento 2 Frontend le novità - Meet Magento 2015Magento 2 Frontend le novità - Meet Magento 2015
Magento 2 Frontend le novità - Meet Magento 2015
 
Presto: Distributed sql query engine
Presto: Distributed sql query engine Presto: Distributed sql query engine
Presto: Distributed sql query engine
 
Introduction to InfluxDB, an Open Source Distributed Time Series Database by ...
Introduction to InfluxDB, an Open Source Distributed Time Series Database by ...Introduction to InfluxDB, an Open Source Distributed Time Series Database by ...
Introduction to InfluxDB, an Open Source Distributed Time Series Database by ...
 

Similar to Scaling Techniques to Increase Magento Capacity

Scalability designprinciples-v2-130718023602-phpapp02 (1)
Scalability designprinciples-v2-130718023602-phpapp02 (1)Scalability designprinciples-v2-130718023602-phpapp02 (1)
Scalability designprinciples-v2-130718023602-phpapp02 (1)
Minal Patil
 
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Andrew Miller
 
Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]
shuwutong
 
Virtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - VarrowVirtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - Varrow
Andrew Miller
 
Handling Massive Writes
Handling Massive WritesHandling Massive Writes
Handling Massive Writes
Liran Zelkha
 

Similar to Scaling Techniques to Increase Magento Capacity (20)

Scalability Design Principles - Internal Session
Scalability Design Principles - Internal SessionScalability Design Principles - Internal Session
Scalability Design Principles - Internal Session
 
Scalability designprinciples-v2-130718023602-phpapp02 (1)
Scalability designprinciples-v2-130718023602-phpapp02 (1)Scalability designprinciples-v2-130718023602-phpapp02 (1)
Scalability designprinciples-v2-130718023602-phpapp02 (1)
 
How to manage and monitor large sql server estates
How to manage and monitor large sql server estatesHow to manage and monitor large sql server estates
How to manage and monitor large sql server estates
 
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
Varrow Q4 Lunch & Learn Presentation - Virtualizing Business Critical Applica...
 
Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]Kb 40 kevin_klineukug_reading20070717[1]
Kb 40 kevin_klineukug_reading20070717[1]
 
Le novità di sql server 2019
Le novità di sql server 2019Le novità di sql server 2019
Le novità di sql server 2019
 
ScaleDB Technical Presentation
ScaleDB Technical PresentationScaleDB Technical Presentation
ScaleDB Technical Presentation
 
MySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinarMySQL High Availability Solutions - Feb 2015 webinar
MySQL High Availability Solutions - Feb 2015 webinar
 
Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infr...
Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infr...Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infr...
Kaseya Connect 2013: Optimizing Your K Server - Best Practices in Kaseya Infr...
 
Self-Tuning MySQL - a Hosting Provider's Unfair Advantage
Self-Tuning MySQL - a Hosting Provider's Unfair AdvantageSelf-Tuning MySQL - a Hosting Provider's Unfair Advantage
Self-Tuning MySQL - a Hosting Provider's Unfair Advantage
 
Virtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - VarrowVirtualizing Tier One Applications - Varrow
Virtualizing Tier One Applications - Varrow
 
Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterpr...
Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterpr...Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterpr...
Continuous Availability and Scale-out for MySQL with ScaleBase Lite & Enterpr...
 
AWS User Group October
AWS User Group OctoberAWS User Group October
AWS User Group October
 
Marketing Automation at Scale: How Marketo Solved Key Data Management Challen...
Marketing Automation at Scale: How Marketo Solved Key Data Management Challen...Marketing Automation at Scale: How Marketo Solved Key Data Management Challen...
Marketing Automation at Scale: How Marketo Solved Key Data Management Challen...
 
Deep Dive on MySQL Databases on AWS - AWS Online Tech Talks
Deep Dive on MySQL Databases on AWS - AWS Online Tech TalksDeep Dive on MySQL Databases on AWS - AWS Online Tech Talks
Deep Dive on MySQL Databases on AWS - AWS Online Tech Talks
 
Data Modeling and Scale Out - ScaleBase + 451-Group webinar 30.4.2015
Data Modeling and Scale Out - ScaleBase + 451-Group webinar 30.4.2015 Data Modeling and Scale Out - ScaleBase + 451-Group webinar 30.4.2015
Data Modeling and Scale Out - ScaleBase + 451-Group webinar 30.4.2015
 
Sql server tips from the field
Sql server tips from the fieldSql server tips from the field
Sql server tips from the field
 
Auto Europe's ongoing journey with MariaDB and open source
Auto Europe's ongoing journey with MariaDB and open sourceAuto Europe's ongoing journey with MariaDB and open source
Auto Europe's ongoing journey with MariaDB and open source
 
My sql cluster case study apr16
My sql cluster case study apr16My sql cluster case study apr16
My sql cluster case study apr16
 
Handling Massive Writes
Handling Massive WritesHandling Massive Writes
Handling Massive Writes
 

More from Clustrix

More from Clustrix (7)

Tech Talk Series, Part 4: How do you achieve high availability in a MySQL env...
Tech Talk Series, Part 4: How do you achieve high availability in a MySQL env...Tech Talk Series, Part 4: How do you achieve high availability in a MySQL env...
Tech Talk Series, Part 4: How do you achieve high availability in a MySQL env...
 
Tech Talk Series, Part 3: Why is your CFO right to demand you scale down MySQL?
Tech Talk Series, Part 3: Why is your CFO right to demand you scale down MySQL?Tech Talk Series, Part 3: Why is your CFO right to demand you scale down MySQL?
Tech Talk Series, Part 3: Why is your CFO right to demand you scale down MySQL?
 
Tech Talk Series, Part 2: Why is sharding not smart to do in MySQL?
Tech Talk Series, Part 2: Why is sharding not smart to do in MySQL?Tech Talk Series, Part 2: Why is sharding not smart to do in MySQL?
Tech Talk Series, Part 2: Why is sharding not smart to do in MySQL?
 
Demystifying Benchmarks: How to Use Them To Better Evaluate Databases
Demystifying Benchmarks: How to Use Them To Better Evaluate DatabasesDemystifying Benchmarks: How to Use Them To Better Evaluate Databases
Demystifying Benchmarks: How to Use Them To Better Evaluate Databases
 
Benchmark Showdown: Which Relational Database is the Fastest on AWS?
Benchmark Showdown: Which Relational Database is the Fastest on AWS?Benchmark Showdown: Which Relational Database is the Fastest on AWS?
Benchmark Showdown: Which Relational Database is the Fastest on AWS?
 
Benchmark: Beyond Aurora. Scale-out SQL databases for AWS.
Benchmark: Beyond Aurora. Scale-out SQL databases for AWS.Benchmark: Beyond Aurora. Scale-out SQL databases for AWS.
Benchmark: Beyond Aurora. Scale-out SQL databases for AWS.
 
Supersizing Magento
Supersizing MagentoSupersizing Magento
Supersizing Magento
 

Recently uploaded

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 

Recently uploaded (20)

04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot TakeoffStrategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
Strategize a Smooth Tenant-to-tenant Migration and Copilot Takeoff
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Developing An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of BrazilDeveloping An App To Navigate The Roads of Brazil
Developing An App To Navigate The Roads of Brazil
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024Partners Life - Insurer Innovation Award 2024
Partners Life - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 

Scaling Techniques to Increase Magento Capacity

  • 1. © 2015 CLUSTRIX The First Scale-out SQL Database Engineered for Today’s Cloud 1 Scaling Techniques to Increase Magento Capacity Or How to Get Ready for the Holiday and Cope with Fast Growth Kevin Bortnick, Magento Solutions Architect at Clustrix
  • 2. PROPRIETARY AND CONFIDENTIAL2 • Kevin is a Certified Magento Developer. He has built and maintained some of the largest and most complex Magento-powered E-commerce sites. • Kevin lives in Las Vegas and is currently the Magento Solutions Architect for Clustrix.
  • 3. As a Magento Architect — I think about the future  How easy is it to maintain?  Can someone else support it?  Can it handle growth?  Can it be used for something else?  When is it going to break? PROPRIETARY AND CONFIDENTIAL3
  • 4. Symptoms of a Problem? • Increased page load time • • Spikes and Errors • • Site Crashes • • Support Tickets PROPRIETARY AND CONFIDENTIAL4
  • 5. If you are seeing issues… • Look in the obvious places – Scale your Magento web nodes – Add Memcached or Redis – Add Varnish • If everything else is tuned right, the database becomes the next bottleneck PROPRIETARY AND CONFIDENTIAL5
  • 6. Ways of Extending MySQL PROPRIETARY AND CONFIDENTIAL6 Faster Hardware? Read Slaves? Multi Master? Partitioning? Percona? NoSQL? Clustrix?
  • 7. Report Card Grading 7 Report Card MySQL Compatible ✔ Improves Performance ✔ Scales Reads ✔ Scales Writes ✔ No Application Changes No Single Point of Failure
  • 8. Percona • A drop-in replacement for MySQL • Pros: – Easy to set up and use – Retains consistent performance at high resource utilization • Cons: – Still has MySQL's architecture limitations – No high availability or disaster recovery 8 Report Card MySQL Compatible ✔ Improves Performance ✔ Scales Reads ✔ Scales Writes Limited No Application Changes ✔ No Single Point of Failure
  • 9. Faster Hardware • Pros: – Immediate performance improvements • Cons: – Limit to how large you can go – High-end hardware can get very expensive, especially when you include backup servers – Excess hardware during off peak season 9 Report Card MySQL Compatible ✔ Improves Performance ✔ Scales Reads Limited Scales Writes Limited No Application Changes ✔ No Single Point of Failure
  • 10. Master with Read Slaves • Pros: – Easy to do – Magento has this feature built in • Cons: – Does not help solve write checkout bottlenecks – Eventual consistency 10 Master SlaveSlave Report Card MySQL Compatible ✔ Improves Performance ✔ Scales Reads ✔ Scales Writes No Application Changes ✔ No Single Point of Failure
  • 11. Master/Master, Store/Admin • Pros: – Works well if you do a lot of updates – Helps for 24 hour stores • Cons: – Have to accommodate edge cases – DBA needs to monitor for replication issues – Won't fix front-end only bottlenecks 11 Store SlaveSlave Admin Report Card MySQL Compatible ✔ Improves Performance ✔ Scales Reads ✔ Scales Writes No Application Changes No Single Point of Failure
  • 12. True Multi Master • Pros – Can deliver better overall performance • Cons – Application must keep track of orders and inventory – Latency can cause sync issues – Expensive to develop and maintain – Complexity increases and stability decreases 12 1 1b1a 2 2b2a Report Card MySQL Compatible ✔ Improves Performance ✔ Scales Reads ✔ Scales Writes ✔ No Application Changes No Single Point of Failure
  • 13. Partitioning (Magento 2 feature CQRS) • Pros – Able to distribute load • Cons – Can’t join between partitioned segments – Amount of tables able to be partitioned is limited – Harder to maintain—need to track configurations 13 Report Card MySQL Compatible ✔ Improves Performance ✔ Scales Reads ✔ Scales Writes Limited No Application Changes Limited No Single Point of Failure
  • 14. NoSQL • Pros: – Runs very fast in non-ACID mode • Cons: – Gains speed from short-cutting of ACID – Commits before writing to disk – No cross-document transactions – NoSQL requires significant application development to swap-out MySQL 14 ACID = Transaction and Data Safety Report Card MySQL Compatible Improves Performance Scales Reads In non- ACID mode Scales Writes ✔ No Application Changes Limited No Single Point of Failure Don’t Drop ACID
  • 15. ClustrixDB 15 • Pros – Drop-In Replacement for MySQL – Scales READS and WRITES – Distributed – Shared Nothing – Data Redundancy – Built in high availability solution – Low cost disaster recovery – Elastic in the cloud and data center – Seasonal Flex, Self-Managing Report Card MySQL Compatible ✔ Improves Performance ✔ Scales Reads ✔ Scales Writes ✔ No Application Changes ✔ No Single Point of Failure ✔
  • 18. Flexing up for Seasonal Demand
  • 20. Wrap Up – Think About the Future  How easy is it to maintain  Can someone else support it  Can it handle growth  Can it be used for something else  When is it going to break 20 Report Card MySQL Compatible ✔ Improves Performance ✔ Scales Reads ✔ Scales Writes ✔ No Application Changes ✔ No Single Point of Failure ✔
  • 23. ClustrixDB Key Differentiators Automatic, 100% fault tolerance Availability No single point of failure Battle-tested performance Flex up and down, in minutes Massive, linear scalability Capacity Extreme concurrency Productivity Eliminates re-architecting the database Plug-in MySQL compatibility Self-managing operation PROPRIETARY AND CONFIDENTIAL23 Engineered for any cloud One-click installation Cloud Seamless scale-out

Editor's Notes

  1. Ecommerce success creates site failure Holiday Flash sale You will hit something Ways to fix your upcoming capacity problem
  2. Cloud Designed for seamless installation and scale-out on any cloud-based infrastructure Capacity Flex up and down, in minutes - If you need more capacity or performance, just connect and go. Massive, linear scalability - Readily handles massive volumes of customers, carts, orders, products, and business performance reporting Extreme concurrency - Manages millions of concurrent actions without impacting site response time Availability Automatic, 100% fault tolerance – High availability architecture to meet always-on demands of business-critical operations No single point of failure – No impact from hardware outages; zero downtime Battle-tested performance – Proven rock solid performance at some the world’s fastest-growing companies. E.g., maintained superior service levels during 600% Cyber Monday sales spike (Choxi) Productivity Plug-in MySQL compatibility - Deploy in days, with few or no code changes. ClustrixDB is compatible with any application that uses MySQL, including the popular Magento platform for e-commerce and internally developed solutions. Eliminates re-architecting the database - Does away with complicated scaling strategies like sharding and replication, which are expensive, labor-intensive, and ultimately unsustainable Self-managing operation – Virtually eliminates DBA operations tasks because the management is built into the database itself