SlideShare a Scribd company logo
1 of 22
Download to read offline
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
MaxScale
The	
  Pluggable	
  Router
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
The	
  Presenter:	
  Vilho	
  Raatikka
2
• MaxScale Developer	

•Read/write split router	

•Query classifier	

•Log manager	

•Concurrency control, availability,
error handling, build & test env	

!
• IBM solidDB 2004-2013	

•In-Memory Engine	

•High Availability Controller	

!
• M.Sc., University of Helsinki	

•Researcher	

•Teaching assistant
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
MaxScale	
  Objectives
3
• Highly	
  scalable	
  	
  
• Transparent	
  to	
  the	
  application	
  
• Highly	
  available	
  
• Extendible	
  
• Flexible	
  
• Modules	
  specify	
  what	
  MaxScale	
  is	
  :	
  router	
  /	
  
firewall	
  /	
  data	
  extract	
  tool	
  /…	
  
• Open	
  source,	
  GPL2	
  software	
  since	
  8th	
  of	
  Jan.	
  2014
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
How?	
  In	
  a	
  nutshell	
  
4
Allows	
  mulVple	
  protocols	
  for	
  clients	
  
and	
  servers
Alter,	
  block	
  or	
  log	
  client	
  
requests	
  and	
  results
ConfiguraVon	
  and	
  state	
  aware	
  
monitors
Content-­‐aware	
  or	
  unaware	
  routers
Client	
  authenVcates	
  once	
  -­‐	
  
with	
  MaxScale
Core of MaxScale is multi-threaded, event-driven network IO processor
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
Read	
  Scalability	
  with	
  MySQL	
  
5
Using MaxScale’s Connection Load Balancing
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
Consistent	
  Read	
  Scalability	
  with	
  Galera
6
using MaxScale’s Read/Write Split Router
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
Query	
  rewrite	
  and	
  filtering
7
By using MaxScale’s filters
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
Query	
  rewrite	
  and	
  filtering	
  (cont.)
8
By using MaxScale’s filters
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
MaxScale	
  0.7
9
• Galera	
  Support	
  
‣ Read/Write	
  Split	
  router	
  for	
  Galera	
  Cluster	
  
• Multiple	
  slaves	
  support	
  
‣ Read/Write	
  Split	
  router	
  allows	
  multiple	
  slave	
  connections	
  and	
  balancing	
  load	
  between	
  them	
  
• Debug	
  Interface	
  enhancements	
  
‣ Support	
  for	
  wide	
  variety	
  of	
  MaxScale	
  objects	
  which	
  can	
  be	
  referenced	
  by	
  their	
  names	
  instead	
  of	
  memory	
  addresses	
  
‣ User	
  mode	
  to	
  prevent	
  access	
  by	
  using	
  memory	
  addresses	
  
• Maintenance	
  mode	
  for	
  servers	
  
• Configurable	
  monitoring	
  interval	
  
• Replication	
  Lag	
  Heartbeat	
  Monitor	
  
• Filters	
  API	
  
• MariaDB	
  10	
  Replication	
  support	
  in	
  MySQL	
  monitor	
  
Release	
  notes:	
  https://github.com/skysql/MaxScale/blob/release-­‐0.7/Documentation/Debug%20And%20Diagnostic%20Support.pdf
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
Basic	
  Setup	
  
• Clients	
  access	
  MaxScale	
  
• MaxScale	
  in	
  the	
  app	
  server,	
  UNIX	
  sockets	
  
• Database	
  servers	
  accessed	
  via	
  TCP
10
Database
Database
Database Database Database
MaxScale
• Clients	

• Application Servers
Database Cluster
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
Typical	
  Scenarios	
  
• MySQL	
  Replication	
  with	
  
‣Read	
  connection	
  load	
  balancing	
  
‣Read/Write	
  statement	
  splitting	
  
• Galera	
  Cluster	
  
‣Connection	
  load	
  balancing	
  
‣Read/Write	
  statement	
  splitting	
  
‣Write	
  conflict	
  avoidance	
  (planned)
11
Database
Database
Database Database Database
MaxScale
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
Inside	
  MaxScale	
  
MySQL	
  Local	
  Authentication	
  
12
“read user, host”
connect/auth
Users	
  are	
  loaded	
  at	
  start
Backends
ok
Clients
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential. 13
“call my_proc(1)”
Inside	
  MaxScale	
  
Read/Write	
  Splitting	
  
Master
Slaves
!
Call	
  parser	
  and	
  examine	
  
parse	
  treeQuery
Classifier
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
Inside	
  MaxScale	
  Routing
14
SQL
MySQL packets
TCP packets
MySQL
MySQL
MySQL
Client
Router
MySQL client
Core
AuhenicationQuery
classifier
Monitor
MySQL
backend
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
Inside	
  MaxScale	
  Routing
15
SQL
MySQL packets
TCP packets
MySQL
MySQL
MySQL
Client
Router
MySQL client
Core
AuhenicationQuery
classifier
Monitor
MySQL
backend
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
What's	
  new	
  in	
  R/W	
  split	
  router
16
• Session	
  Commands	
  
‣ Local	
  variables,	
  User	
  change,	
  SET	
  auto	
  commit	
  
‣ Execute	
  in	
  master	
  &	
  slave	
  but	
  maintain	
  
execution	
  order	
  
‣ Current	
  limitation	
  :	
  queries	
  not	
  supported	
  in	
  
session	
  commands	
  
	
   	
   	
   	
   SET	
  @a=(SELECT	
  COUNT(*)	
  FROM	
  
mysql.user)	
  is	
  executed	
  in	
  both	
  nodes.	
  
• Galera	
  H/A	
  Support	
  
• Fault	
  Tolerance	
  
• Replication	
  consistency	
  
• Transaction	
  support	
  
‣ Within	
  active	
  transaction	
  everything	
  is	
  routed	
  to	
  
master	
  
‣ Detection	
  of	
  implicit	
  BEGIN	
  and	
  ROLLBACK/
COMMIT	
  
M
S
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
What’s	
  coming
•	
  Filters	
  
•	
  Routing	
  hints	
  
•Multiple	
  Slave	
  Support	
  
•Weight	
  based	
  routing	
  
•	
  Backend	
  failure	
  tolerance	
  
•	
  Enforce	
  Node	
  Replication	
  consistency	
  for	
  MariaDB	
  10	
  &	
  MySQL	
  5.6
17
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
Extending	
  with	
  filters	
  
18
Filter
Router
MaxScale
Router
Filter
Auth
Protocol
Monitor
Filter
Router
Monitor
©	
  SkySQL	
  Ab	
  2014	
  
Protocol
ProtocolProtocol
INSERT INTO DWH.T1 (....)
Log Entry
• May	
  be	
  connected	
  to	
  form	
  arbitrary	
  chains	
  	
  
• Allows	
  inspection,	
  modification	
  and	
  rejection	
  of	
  requests	
  and	
  results	
  
‣ blacklist	
  
‣ data	
  mining	
  /	
  log
Routing Hint
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
Get	
  involved
19
• Check on GitHub https://github.com/skysql/MaxScale	

• MariaDB Source https://downloads.mariadb.org/	

• Bugs report	

	

 	

 	

 http://bugs.skysql.com/buglist.cgi?product=Maxscale 	

• Google groups https://groups.google.com/forum/#!forum/maxscale	

• Binary Tarball http://downloads.skysql.com/files/SkySQL/MaxScale	

• SkySQL website http://www.skysql.com
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
Demo	
  scenarios
20
Database
Database
Database Database Database
MaxScale
‣1	
  Master	
  
‣4	
  Slaves
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential.
Demo	
  scenarios
21
Database Database Database
MaxScale
‣3	
  Galera	
  servers
©	
  SkySQL	
  Corporation	
  Ab.	
  Company	
  Confidential. 22
Thank you !
MaxScale

More Related Content

What's hot

MySQL Load Balancers - Maxscale, ProxySQL, HAProxy, MySQL Router & nginx - A ...
MySQL Load Balancers - Maxscale, ProxySQL, HAProxy, MySQL Router & nginx - A ...MySQL Load Balancers - Maxscale, ProxySQL, HAProxy, MySQL Router & nginx - A ...
MySQL Load Balancers - Maxscale, ProxySQL, HAProxy, MySQL Router & nginx - A ...Severalnines
 
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale  by ...[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale  by ...
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...Insight Technology, Inc.
 
Deploying MariaDB databases with containers at Nokia Networks
Deploying MariaDB databases with containers at Nokia NetworksDeploying MariaDB databases with containers at Nokia Networks
Deploying MariaDB databases with containers at Nokia NetworksMariaDB plc
 
Introduction to MariaDB MaxScale
Introduction to MariaDB MaxScaleIntroduction to MariaDB MaxScale
Introduction to MariaDB MaxScaleI Goo Lee
 
Maxscale_메뉴얼
Maxscale_메뉴얼Maxscale_메뉴얼
Maxscale_메뉴얼NeoClova
 
Getting the most out of MariaDB MaxScale
Getting the most out of MariaDB MaxScaleGetting the most out of MariaDB MaxScale
Getting the most out of MariaDB MaxScaleMariaDB plc
 
MariaDB Galera Cluster
MariaDB Galera ClusterMariaDB Galera Cluster
MariaDB Galera ClusterAbdul Manaf
 
High Performance Drupal with MariaDB
High Performance Drupal with MariaDBHigh Performance Drupal with MariaDB
High Performance Drupal with MariaDBMariaDB Corporation
 
ProxySQL for MySQL
ProxySQL for MySQLProxySQL for MySQL
ProxySQL for MySQLMydbops
 
Using all of the high availability options in MariaDB
Using all of the high availability options in MariaDBUsing all of the high availability options in MariaDB
Using all of the high availability options in MariaDBMariaDB plc
 
Migrating from InnoDB and HBase to MyRocks at Facebook
Migrating from InnoDB and HBase to MyRocks at FacebookMigrating from InnoDB and HBase to MyRocks at Facebook
Migrating from InnoDB and HBase to MyRocks at FacebookMariaDB plc
 
ProxySQL - High Performance and HA Proxy for MySQL
ProxySQL - High Performance and HA Proxy for MySQLProxySQL - High Performance and HA Proxy for MySQL
ProxySQL - High Performance and HA Proxy for MySQLRené Cannaò
 
Maria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High AvailabilityMaria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High AvailabilityOSSCube
 
Galera cluster for high availability
Galera cluster for high availability Galera cluster for high availability
Galera cluster for high availability Mydbops
 
High performance and high availability proxies for MySQL
High performance and high availability proxies for MySQLHigh performance and high availability proxies for MySQL
High performance and high availability proxies for MySQLMydbops
 
Building better Node.js applications on MariaDB
Building better Node.js applications on MariaDBBuilding better Node.js applications on MariaDB
Building better Node.js applications on MariaDBMariaDB plc
 
How THINQ runs both transactions and analytics at scale
How THINQ runs both transactions and analytics at scaleHow THINQ runs both transactions and analytics at scale
How THINQ runs both transactions and analytics at scaleMariaDB plc
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControl
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControlWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControl
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControlContinuent
 
High Availability with MariaDB Enterprise
High Availability with MariaDB EnterpriseHigh Availability with MariaDB Enterprise
High Availability with MariaDB EnterpriseMariaDB Corporation
 
M|18 How Facebook Migrated to MyRocks
M|18 How Facebook Migrated to MyRocksM|18 How Facebook Migrated to MyRocks
M|18 How Facebook Migrated to MyRocksMariaDB plc
 

What's hot (20)

MySQL Load Balancers - Maxscale, ProxySQL, HAProxy, MySQL Router & nginx - A ...
MySQL Load Balancers - Maxscale, ProxySQL, HAProxy, MySQL Router & nginx - A ...MySQL Load Balancers - Maxscale, ProxySQL, HAProxy, MySQL Router & nginx - A ...
MySQL Load Balancers - Maxscale, ProxySQL, HAProxy, MySQL Router & nginx - A ...
 
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale  by ...[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale  by ...
[db tech showcase Tokyo 2014] B15: Scalability with MariaDB and MaxScale by ...
 
Deploying MariaDB databases with containers at Nokia Networks
Deploying MariaDB databases with containers at Nokia NetworksDeploying MariaDB databases with containers at Nokia Networks
Deploying MariaDB databases with containers at Nokia Networks
 
Introduction to MariaDB MaxScale
Introduction to MariaDB MaxScaleIntroduction to MariaDB MaxScale
Introduction to MariaDB MaxScale
 
Maxscale_메뉴얼
Maxscale_메뉴얼Maxscale_메뉴얼
Maxscale_메뉴얼
 
Getting the most out of MariaDB MaxScale
Getting the most out of MariaDB MaxScaleGetting the most out of MariaDB MaxScale
Getting the most out of MariaDB MaxScale
 
MariaDB Galera Cluster
MariaDB Galera ClusterMariaDB Galera Cluster
MariaDB Galera Cluster
 
High Performance Drupal with MariaDB
High Performance Drupal with MariaDBHigh Performance Drupal with MariaDB
High Performance Drupal with MariaDB
 
ProxySQL for MySQL
ProxySQL for MySQLProxySQL for MySQL
ProxySQL for MySQL
 
Using all of the high availability options in MariaDB
Using all of the high availability options in MariaDBUsing all of the high availability options in MariaDB
Using all of the high availability options in MariaDB
 
Migrating from InnoDB and HBase to MyRocks at Facebook
Migrating from InnoDB and HBase to MyRocks at FacebookMigrating from InnoDB and HBase to MyRocks at Facebook
Migrating from InnoDB and HBase to MyRocks at Facebook
 
ProxySQL - High Performance and HA Proxy for MySQL
ProxySQL - High Performance and HA Proxy for MySQLProxySQL - High Performance and HA Proxy for MySQL
ProxySQL - High Performance and HA Proxy for MySQL
 
Maria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High AvailabilityMaria DB Galera Cluster for High Availability
Maria DB Galera Cluster for High Availability
 
Galera cluster for high availability
Galera cluster for high availability Galera cluster for high availability
Galera cluster for high availability
 
High performance and high availability proxies for MySQL
High performance and high availability proxies for MySQLHigh performance and high availability proxies for MySQL
High performance and high availability proxies for MySQL
 
Building better Node.js applications on MariaDB
Building better Node.js applications on MariaDBBuilding better Node.js applications on MariaDB
Building better Node.js applications on MariaDB
 
How THINQ runs both transactions and analytics at scale
How THINQ runs both transactions and analytics at scaleHow THINQ runs both transactions and analytics at scale
How THINQ runs both transactions and analytics at scale
 
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControl
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControlWebinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControl
Webinar Slides: MySQL HA/DR/Geo-Scale - High Noon #7: ClusterControl
 
High Availability with MariaDB Enterprise
High Availability with MariaDB EnterpriseHigh Availability with MariaDB Enterprise
High Availability with MariaDB Enterprise
 
M|18 How Facebook Migrated to MyRocks
M|18 How Facebook Migrated to MyRocksM|18 How Facebook Migrated to MyRocks
M|18 How Facebook Migrated to MyRocks
 

Similar to MaxScale - The Pluggable Router

Max scale overview boston mysql meetup 03102014
Max scale overview boston mysql meetup 03102014Max scale overview boston mysql meetup 03102014
Max scale overview boston mysql meetup 03102014jdayskysql
 
Netherlands Tech Tour 02 - MySQL Fabric
Netherlands Tech Tour 02 -   MySQL FabricNetherlands Tech Tour 02 -   MySQL Fabric
Netherlands Tech Tour 02 - MySQL FabricMark Swarbrick
 
Building Data Streaming Platforms using OpenShift and Kafka
Building Data Streaming Platforms using OpenShift and KafkaBuilding Data Streaming Platforms using OpenShift and Kafka
Building Data Streaming Platforms using OpenShift and KafkaNenad Bogojevic
 
Confluent Platform 5.4 + Apache Kafka 2.4 Overview (RBAC, Tiered Storage, Mul...
Confluent Platform 5.4 + Apache Kafka 2.4 Overview (RBAC, Tiered Storage, Mul...Confluent Platform 5.4 + Apache Kafka 2.4 Overview (RBAC, Tiered Storage, Mul...
Confluent Platform 5.4 + Apache Kafka 2.4 Overview (RBAC, Tiered Storage, Mul...Kai Wähner
 
MariaDB MaxScale
MariaDB MaxScaleMariaDB MaxScale
MariaDB MaxScaleMariaDB plc
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQLTed Wennmark
 
MySQL Load Balancers - MaxScale, ProxySQL, HAProxy, MySQL Router & nginx - A ...
MySQL Load Balancers - MaxScale, ProxySQL, HAProxy, MySQL Router & nginx - A ...MySQL Load Balancers - MaxScale, ProxySQL, HAProxy, MySQL Router & nginx - A ...
MySQL Load Balancers - MaxScale, ProxySQL, HAProxy, MySQL Router & nginx - A ...Severalnines
 
Event Detection Pipelines with Apache Kafka
Event Detection Pipelines with Apache KafkaEvent Detection Pipelines with Apache Kafka
Event Detection Pipelines with Apache KafkaDataWorks Summit
 
ProxySQL High Avalability and Configuration Management Overview
ProxySQL High Avalability and Configuration Management OverviewProxySQL High Avalability and Configuration Management Overview
ProxySQL High Avalability and Configuration Management OverviewRené Cannaò
 
How to Manage Scale-Out Environments with MariaDB MaxScale
How to Manage Scale-Out Environments with MariaDB MaxScaleHow to Manage Scale-Out Environments with MariaDB MaxScale
How to Manage Scale-Out Environments with MariaDB MaxScaleMariaDB plc
 
Webinar: What's new in CDAP 3.5?
Webinar: What's new in CDAP 3.5?Webinar: What's new in CDAP 3.5?
Webinar: What's new in CDAP 3.5?Cask Data
 
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdf
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdfDeep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdf
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdfMiguel Araújo
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACMarkus Michalewicz
 
How to Manage Scale-Out Environments with MariaDB MaxScale
How to Manage Scale-Out Environments with MariaDB MaxScaleHow to Manage Scale-Out Environments with MariaDB MaxScale
How to Manage Scale-Out Environments with MariaDB MaxScaleMariaDB plc
 
Tungsten Webinar: v6 & v7 Release Recap, and Beyond
Tungsten Webinar: v6 & v7 Release Recap, and BeyondTungsten Webinar: v6 & v7 Release Recap, and Beyond
Tungsten Webinar: v6 & v7 Release Recap, and BeyondContinuent
 
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Amazon Web Services
 
DataStax Enterprise & Apache Cassandra – Essentials for Financial Services – ...
DataStax Enterprise & Apache Cassandra – Essentials for Financial Services – ...DataStax Enterprise & Apache Cassandra – Essentials for Financial Services – ...
DataStax Enterprise & Apache Cassandra – Essentials for Financial Services – ...Daniel Cohen
 
MySQL Router - Explore The Secrets (MySQL Belgian Days 2024)
MySQL Router - Explore The Secrets (MySQL Belgian Days 2024)MySQL Router - Explore The Secrets (MySQL Belgian Days 2024)
MySQL Router - Explore The Secrets (MySQL Belgian Days 2024)Miguel Araújo
 
Microservices Development - ICP Workshop Batch II
Microservices Development - ICP Workshop Batch IIMicroservices Development - ICP Workshop Batch II
Microservices Development - ICP Workshop Batch IIPT Datacomm Diangraha
 

Similar to MaxScale - The Pluggable Router (20)

Max scale overview boston mysql meetup 03102014
Max scale overview boston mysql meetup 03102014Max scale overview boston mysql meetup 03102014
Max scale overview boston mysql meetup 03102014
 
Netherlands Tech Tour 02 - MySQL Fabric
Netherlands Tech Tour 02 -   MySQL FabricNetherlands Tech Tour 02 -   MySQL Fabric
Netherlands Tech Tour 02 - MySQL Fabric
 
Building Data Streaming Platforms using OpenShift and Kafka
Building Data Streaming Platforms using OpenShift and KafkaBuilding Data Streaming Platforms using OpenShift and Kafka
Building Data Streaming Platforms using OpenShift and Kafka
 
Confluent Platform 5.4 + Apache Kafka 2.4 Overview (RBAC, Tiered Storage, Mul...
Confluent Platform 5.4 + Apache Kafka 2.4 Overview (RBAC, Tiered Storage, Mul...Confluent Platform 5.4 + Apache Kafka 2.4 Overview (RBAC, Tiered Storage, Mul...
Confluent Platform 5.4 + Apache Kafka 2.4 Overview (RBAC, Tiered Storage, Mul...
 
MariaDB MaxScale
MariaDB MaxScaleMariaDB MaxScale
MariaDB MaxScale
 
SQL Server Clustering Part1
SQL Server Clustering Part1SQL Server Clustering Part1
SQL Server Clustering Part1
 
Introduction to MySQL
Introduction to MySQLIntroduction to MySQL
Introduction to MySQL
 
MySQL Load Balancers - MaxScale, ProxySQL, HAProxy, MySQL Router & nginx - A ...
MySQL Load Balancers - MaxScale, ProxySQL, HAProxy, MySQL Router & nginx - A ...MySQL Load Balancers - MaxScale, ProxySQL, HAProxy, MySQL Router & nginx - A ...
MySQL Load Balancers - MaxScale, ProxySQL, HAProxy, MySQL Router & nginx - A ...
 
Event Detection Pipelines with Apache Kafka
Event Detection Pipelines with Apache KafkaEvent Detection Pipelines with Apache Kafka
Event Detection Pipelines with Apache Kafka
 
ProxySQL High Avalability and Configuration Management Overview
ProxySQL High Avalability and Configuration Management OverviewProxySQL High Avalability and Configuration Management Overview
ProxySQL High Avalability and Configuration Management Overview
 
How to Manage Scale-Out Environments with MariaDB MaxScale
How to Manage Scale-Out Environments with MariaDB MaxScaleHow to Manage Scale-Out Environments with MariaDB MaxScale
How to Manage Scale-Out Environments with MariaDB MaxScale
 
Webinar: What's new in CDAP 3.5?
Webinar: What's new in CDAP 3.5?Webinar: What's new in CDAP 3.5?
Webinar: What's new in CDAP 3.5?
 
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdf
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdfDeep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdf
Deep Dive into MySQL InnoDB Cluster Read Scale-out Capabilities.pdf
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
 
How to Manage Scale-Out Environments with MariaDB MaxScale
How to Manage Scale-Out Environments with MariaDB MaxScaleHow to Manage Scale-Out Environments with MariaDB MaxScale
How to Manage Scale-Out Environments with MariaDB MaxScale
 
Tungsten Webinar: v6 & v7 Release Recap, and Beyond
Tungsten Webinar: v6 & v7 Release Recap, and BeyondTungsten Webinar: v6 & v7 Release Recap, and Beyond
Tungsten Webinar: v6 & v7 Release Recap, and Beyond
 
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
Migrate from Oracle to Aurora PostgreSQL: Best Practices, Design Patterns, & ...
 
DataStax Enterprise & Apache Cassandra – Essentials for Financial Services – ...
DataStax Enterprise & Apache Cassandra – Essentials for Financial Services – ...DataStax Enterprise & Apache Cassandra – Essentials for Financial Services – ...
DataStax Enterprise & Apache Cassandra – Essentials for Financial Services – ...
 
MySQL Router - Explore The Secrets (MySQL Belgian Days 2024)
MySQL Router - Explore The Secrets (MySQL Belgian Days 2024)MySQL Router - Explore The Secrets (MySQL Belgian Days 2024)
MySQL Router - Explore The Secrets (MySQL Belgian Days 2024)
 
Microservices Development - ICP Workshop Batch II
Microservices Development - ICP Workshop Batch IIMicroservices Development - ICP Workshop Batch II
Microservices Development - ICP Workshop Batch II
 

More from MariaDB Corporation

Hochverfügbarkeit mit MariaDB Enterprise - MariaDB Roadshow Summer 2014 Hambu...
Hochverfügbarkeit mit MariaDB Enterprise - MariaDB Roadshow Summer 2014 Hambu...Hochverfügbarkeit mit MariaDB Enterprise - MariaDB Roadshow Summer 2014 Hambu...
Hochverfügbarkeit mit MariaDB Enterprise - MariaDB Roadshow Summer 2014 Hambu...MariaDB Corporation
 
Automatisierung & Verwaltung von Datenbank - Clustern mit Severalnines - Mari...
Automatisierung & Verwaltung von Datenbank - Clustern mit Severalnines - Mari...Automatisierung & Verwaltung von Datenbank - Clustern mit Severalnines - Mari...
Automatisierung & Verwaltung von Datenbank - Clustern mit Severalnines - Mari...MariaDB Corporation
 
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014 F...
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014 F...MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014 F...
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014 F...MariaDB Corporation
 
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014MariaDB Corporation
 
Automatisation et Gestion de Cluster de Bases de Données MariaDB Roadshow
Automatisation et Gestion de Cluster de Bases de Données MariaDB RoadshowAutomatisation et Gestion de Cluster de Bases de Données MariaDB Roadshow
Automatisation et Gestion de Cluster de Bases de Données MariaDB RoadshowMariaDB Corporation
 
Automation and Management of Database Clusters MariaDB Roadshow 2014
Automation and Management of Database Clusters MariaDB Roadshow 2014Automation and Management of Database Clusters MariaDB Roadshow 2014
Automation and Management of Database Clusters MariaDB Roadshow 2014MariaDB Corporation
 
Automation and Management of Database Clusters
Automation and Management of Database ClustersAutomation and Management of Database Clusters
Automation and Management of Database ClustersMariaDB Corporation
 
The New MariaDB Offering - MariaDB 10, MaxScale and more
The New MariaDB Offering - MariaDB 10, MaxScale and moreThe New MariaDB Offering - MariaDB 10, MaxScale and more
The New MariaDB Offering - MariaDB 10, MaxScale and moreMariaDB Corporation
 
High Availability with MariaDB Enterprise
High Availability with MariaDB EnterpriseHigh Availability with MariaDB Enterprise
High Availability with MariaDB EnterpriseMariaDB Corporation
 
CCM Escape Case Study - SkySQL Paris Meetup 17.12.2013
CCM Escape Case Study - SkySQL Paris Meetup 17.12.2013CCM Escape Case Study - SkySQL Paris Meetup 17.12.2013
CCM Escape Case Study - SkySQL Paris Meetup 17.12.2013MariaDB Corporation
 
Galera cluster - SkySQL Paris Meetup 17.12.2013
Galera cluster - SkySQL Paris Meetup 17.12.2013Galera cluster - SkySQL Paris Meetup 17.12.2013
Galera cluster - SkySQL Paris Meetup 17.12.2013MariaDB Corporation
 
MariaDB 10.0 - SkySQL Paris Meetup
MariaDB 10.0 - SkySQL Paris MeetupMariaDB 10.0 - SkySQL Paris Meetup
MariaDB 10.0 - SkySQL Paris MeetupMariaDB Corporation
 
MariaDB Galera Cluster - Simple, Transparent, Highly Available
MariaDB Galera Cluster - Simple, Transparent, Highly AvailableMariaDB Galera Cluster - Simple, Transparent, Highly Available
MariaDB Galera Cluster - Simple, Transparent, Highly AvailableMariaDB Corporation
 
High Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
High Availability with Galera Cluster - SkySQL Road Show 2013 in BerlinHigh Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
High Availability with Galera Cluster - SkySQL Road Show 2013 in BerlinMariaDB Corporation
 
MySQL & MariaDB - Innovation happens here - London Roadshow 2013
MySQL & MariaDB - Innovation happens here - London Roadshow 2013MySQL & MariaDB - Innovation happens here - London Roadshow 2013
MySQL & MariaDB - Innovation happens here - London Roadshow 2013MariaDB Corporation
 
1&1 MySQL Experience at SkySQL Roadshow
1&1 MySQL Experience at SkySQL Roadshow1&1 MySQL Experience at SkySQL Roadshow
1&1 MySQL Experience at SkySQL RoadshowMariaDB Corporation
 

More from MariaDB Corporation (18)

Hochverfügbarkeit mit MariaDB Enterprise - MariaDB Roadshow Summer 2014 Hambu...
Hochverfügbarkeit mit MariaDB Enterprise - MariaDB Roadshow Summer 2014 Hambu...Hochverfügbarkeit mit MariaDB Enterprise - MariaDB Roadshow Summer 2014 Hambu...
Hochverfügbarkeit mit MariaDB Enterprise - MariaDB Roadshow Summer 2014 Hambu...
 
Automatisierung & Verwaltung von Datenbank - Clustern mit Severalnines - Mari...
Automatisierung & Verwaltung von Datenbank - Clustern mit Severalnines - Mari...Automatisierung & Verwaltung von Datenbank - Clustern mit Severalnines - Mari...
Automatisierung & Verwaltung von Datenbank - Clustern mit Severalnines - Mari...
 
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014 F...
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014 F...MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014 F...
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014 F...
 
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
MariaDB Enterprise & MariaDB Enterprise Cluster - MariaDB Webinar July 2014
 
Galaxy Big Data with MariaDB
Galaxy Big Data with MariaDBGalaxy Big Data with MariaDB
Galaxy Big Data with MariaDB
 
Automatisation et Gestion de Cluster de Bases de Données MariaDB Roadshow
Automatisation et Gestion de Cluster de Bases de Données MariaDB RoadshowAutomatisation et Gestion de Cluster de Bases de Données MariaDB Roadshow
Automatisation et Gestion de Cluster de Bases de Données MariaDB Roadshow
 
Automation and Management of Database Clusters MariaDB Roadshow 2014
Automation and Management of Database Clusters MariaDB Roadshow 2014Automation and Management of Database Clusters MariaDB Roadshow 2014
Automation and Management of Database Clusters MariaDB Roadshow 2014
 
Automation and Management of Database Clusters
Automation and Management of Database ClustersAutomation and Management of Database Clusters
Automation and Management of Database Clusters
 
The New MariaDB Offering - MariaDB 10, MaxScale and more
The New MariaDB Offering - MariaDB 10, MaxScale and moreThe New MariaDB Offering - MariaDB 10, MaxScale and more
The New MariaDB Offering - MariaDB 10, MaxScale and more
 
High Availability with MariaDB Enterprise
High Availability with MariaDB EnterpriseHigh Availability with MariaDB Enterprise
High Availability with MariaDB Enterprise
 
MariaDB 10 and Beyond
MariaDB 10 and BeyondMariaDB 10 and Beyond
MariaDB 10 and Beyond
 
CCM Escape Case Study - SkySQL Paris Meetup 17.12.2013
CCM Escape Case Study - SkySQL Paris Meetup 17.12.2013CCM Escape Case Study - SkySQL Paris Meetup 17.12.2013
CCM Escape Case Study - SkySQL Paris Meetup 17.12.2013
 
Galera cluster - SkySQL Paris Meetup 17.12.2013
Galera cluster - SkySQL Paris Meetup 17.12.2013Galera cluster - SkySQL Paris Meetup 17.12.2013
Galera cluster - SkySQL Paris Meetup 17.12.2013
 
MariaDB 10.0 - SkySQL Paris Meetup
MariaDB 10.0 - SkySQL Paris MeetupMariaDB 10.0 - SkySQL Paris Meetup
MariaDB 10.0 - SkySQL Paris Meetup
 
MariaDB Galera Cluster - Simple, Transparent, Highly Available
MariaDB Galera Cluster - Simple, Transparent, Highly AvailableMariaDB Galera Cluster - Simple, Transparent, Highly Available
MariaDB Galera Cluster - Simple, Transparent, Highly Available
 
High Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
High Availability with Galera Cluster - SkySQL Road Show 2013 in BerlinHigh Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
High Availability with Galera Cluster - SkySQL Road Show 2013 in Berlin
 
MySQL & MariaDB - Innovation happens here - London Roadshow 2013
MySQL & MariaDB - Innovation happens here - London Roadshow 2013MySQL & MariaDB - Innovation happens here - London Roadshow 2013
MySQL & MariaDB - Innovation happens here - London Roadshow 2013
 
1&1 MySQL Experience at SkySQL Roadshow
1&1 MySQL Experience at SkySQL Roadshow1&1 MySQL Experience at SkySQL Roadshow
1&1 MySQL Experience at SkySQL Roadshow
 

Recently uploaded

Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software DevelopersVinodh Ram
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about usDynamic Netsoft
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendArshad QA
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providermohitmore19
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfCionsystems
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...OnePlan Solutions
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...kellynguyen01
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...OnePlan Solutions
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...MyIntelliSource, Inc.
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 

Recently uploaded (20)

Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
Professional Resume Template for Software Developers
Professional Resume Template for Software DevelopersProfessional Resume Template for Software Developers
Professional Resume Template for Software Developers
 
DNT_Corporate presentation know about us
DNT_Corporate presentation know about usDNT_Corporate presentation know about us
DNT_Corporate presentation know about us
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
Test Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and BackendTest Automation Strategy for Frontend and Backend
Test Automation Strategy for Frontend and Backend
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
 
Active Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdfActive Directory Penetration Testing, cionsystems.com.pdf
Active Directory Penetration Testing, cionsystems.com.pdf
 
Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...Advancing Engineering with AI through the Next Generation of Strategic Projec...
Advancing Engineering with AI through the Next Generation of Strategic Projec...
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
 
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...Call Girls In Mukherjee Nagar 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
Call Girls In Mukherjee Nagar 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SE...
 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlan’s ...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
Try MyIntelliAccount Cloud Accounting Software As A Service Solution Risk Fre...
 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 

MaxScale - The Pluggable Router

  • 1. ©  SkySQL  Corporation  Ab.  Company  Confidential. MaxScale The  Pluggable  Router
  • 2. ©  SkySQL  Corporation  Ab.  Company  Confidential. The  Presenter:  Vilho  Raatikka 2 • MaxScale Developer •Read/write split router •Query classifier •Log manager •Concurrency control, availability, error handling, build & test env ! • IBM solidDB 2004-2013 •In-Memory Engine •High Availability Controller ! • M.Sc., University of Helsinki •Researcher •Teaching assistant
  • 3. ©  SkySQL  Corporation  Ab.  Company  Confidential. MaxScale  Objectives 3 • Highly  scalable     • Transparent  to  the  application   • Highly  available   • Extendible   • Flexible   • Modules  specify  what  MaxScale  is  :  router  /   firewall  /  data  extract  tool  /…   • Open  source,  GPL2  software  since  8th  of  Jan.  2014
  • 4. ©  SkySQL  Corporation  Ab.  Company  Confidential. How?  In  a  nutshell   4 Allows  mulVple  protocols  for  clients   and  servers Alter,  block  or  log  client   requests  and  results ConfiguraVon  and  state  aware   monitors Content-­‐aware  or  unaware  routers Client  authenVcates  once  -­‐   with  MaxScale Core of MaxScale is multi-threaded, event-driven network IO processor
  • 5. ©  SkySQL  Corporation  Ab.  Company  Confidential. Read  Scalability  with  MySQL   5 Using MaxScale’s Connection Load Balancing
  • 6. ©  SkySQL  Corporation  Ab.  Company  Confidential. Consistent  Read  Scalability  with  Galera 6 using MaxScale’s Read/Write Split Router
  • 7. ©  SkySQL  Corporation  Ab.  Company  Confidential. Query  rewrite  and  filtering 7 By using MaxScale’s filters
  • 8. ©  SkySQL  Corporation  Ab.  Company  Confidential. Query  rewrite  and  filtering  (cont.) 8 By using MaxScale’s filters
  • 9. ©  SkySQL  Corporation  Ab.  Company  Confidential. MaxScale  0.7 9 • Galera  Support   ‣ Read/Write  Split  router  for  Galera  Cluster   • Multiple  slaves  support   ‣ Read/Write  Split  router  allows  multiple  slave  connections  and  balancing  load  between  them   • Debug  Interface  enhancements   ‣ Support  for  wide  variety  of  MaxScale  objects  which  can  be  referenced  by  their  names  instead  of  memory  addresses   ‣ User  mode  to  prevent  access  by  using  memory  addresses   • Maintenance  mode  for  servers   • Configurable  monitoring  interval   • Replication  Lag  Heartbeat  Monitor   • Filters  API   • MariaDB  10  Replication  support  in  MySQL  monitor   Release  notes:  https://github.com/skysql/MaxScale/blob/release-­‐0.7/Documentation/Debug%20And%20Diagnostic%20Support.pdf
  • 10. ©  SkySQL  Corporation  Ab.  Company  Confidential. Basic  Setup   • Clients  access  MaxScale   • MaxScale  in  the  app  server,  UNIX  sockets   • Database  servers  accessed  via  TCP 10 Database Database Database Database Database MaxScale • Clients • Application Servers Database Cluster
  • 11. ©  SkySQL  Corporation  Ab.  Company  Confidential. Typical  Scenarios   • MySQL  Replication  with   ‣Read  connection  load  balancing   ‣Read/Write  statement  splitting   • Galera  Cluster   ‣Connection  load  balancing   ‣Read/Write  statement  splitting   ‣Write  conflict  avoidance  (planned) 11 Database Database Database Database Database MaxScale
  • 12. ©  SkySQL  Corporation  Ab.  Company  Confidential. Inside  MaxScale   MySQL  Local  Authentication   12 “read user, host” connect/auth Users  are  loaded  at  start Backends ok Clients
  • 13. ©  SkySQL  Corporation  Ab.  Company  Confidential. 13 “call my_proc(1)” Inside  MaxScale   Read/Write  Splitting   Master Slaves ! Call  parser  and  examine   parse  treeQuery Classifier
  • 14. ©  SkySQL  Corporation  Ab.  Company  Confidential. Inside  MaxScale  Routing 14 SQL MySQL packets TCP packets MySQL MySQL MySQL Client Router MySQL client Core AuhenicationQuery classifier Monitor MySQL backend
  • 15. ©  SkySQL  Corporation  Ab.  Company  Confidential. Inside  MaxScale  Routing 15 SQL MySQL packets TCP packets MySQL MySQL MySQL Client Router MySQL client Core AuhenicationQuery classifier Monitor MySQL backend
  • 16. ©  SkySQL  Corporation  Ab.  Company  Confidential. What's  new  in  R/W  split  router 16 • Session  Commands   ‣ Local  variables,  User  change,  SET  auto  commit   ‣ Execute  in  master  &  slave  but  maintain   execution  order   ‣ Current  limitation  :  queries  not  supported  in   session  commands           SET  @a=(SELECT  COUNT(*)  FROM   mysql.user)  is  executed  in  both  nodes.   • Galera  H/A  Support   • Fault  Tolerance   • Replication  consistency   • Transaction  support   ‣ Within  active  transaction  everything  is  routed  to   master   ‣ Detection  of  implicit  BEGIN  and  ROLLBACK/ COMMIT   M S
  • 17. ©  SkySQL  Corporation  Ab.  Company  Confidential. What’s  coming •  Filters   •  Routing  hints   •Multiple  Slave  Support   •Weight  based  routing   •  Backend  failure  tolerance   •  Enforce  Node  Replication  consistency  for  MariaDB  10  &  MySQL  5.6 17
  • 18. ©  SkySQL  Corporation  Ab.  Company  Confidential. Extending  with  filters   18 Filter Router MaxScale Router Filter Auth Protocol Monitor Filter Router Monitor ©  SkySQL  Ab  2014   Protocol ProtocolProtocol INSERT INTO DWH.T1 (....) Log Entry • May  be  connected  to  form  arbitrary  chains     • Allows  inspection,  modification  and  rejection  of  requests  and  results   ‣ blacklist   ‣ data  mining  /  log Routing Hint
  • 19. ©  SkySQL  Corporation  Ab.  Company  Confidential. Get  involved 19 • Check on GitHub https://github.com/skysql/MaxScale • MariaDB Source https://downloads.mariadb.org/ • Bugs report http://bugs.skysql.com/buglist.cgi?product=Maxscale • Google groups https://groups.google.com/forum/#!forum/maxscale • Binary Tarball http://downloads.skysql.com/files/SkySQL/MaxScale • SkySQL website http://www.skysql.com
  • 20. ©  SkySQL  Corporation  Ab.  Company  Confidential. Demo  scenarios 20 Database Database Database Database Database MaxScale ‣1  Master   ‣4  Slaves
  • 21. ©  SkySQL  Corporation  Ab.  Company  Confidential. Demo  scenarios 21 Database Database Database MaxScale ‣3  Galera  servers
  • 22. ©  SkySQL  Corporation  Ab.  Company  Confidential. 22 Thank you ! MaxScale