Top Banner
MaxScale Overview Jon Day SkySQL * © SkySQL Ab. Commercial in Confidence *
19

Max scale overview boston mysql meetup 03102014

May 11, 2015

Download

Technology

jdayskysql

An overview of SkySQL's MaxScale project.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Max scale overview boston mysql meetup 03102014

MaxScale Overview

Jon Day

SkySQL

* © SkySQL Ab. Commercial in Confidence *

Page 2: Max scale overview boston mysql meetup 03102014

What is MaxScale?

• SkySQL's MaxScale is a sophisticated query routing layer.• Main benefits include:

– Availability – Allowing automated of routing of database operations to available servers, avoiding failed servers

– Scaling – Partitions the database load between a number of servers.– Filtering and logging capabilities– Authentication layer– Multiple protocol support

• Open source, being released initially as Alpha.

• Supports MySQL and MariaDB 5.5 and later– Supports Galera Cluster in addition to MySQL and MariaDB replication

– Supports MHA

* © SkySQL Ab. Commercial in Confidence *

Page 3: Max scale overview boston mysql meetup 03102014

MaxScale Objectives

● To be highly scalable● Lightweight with small footprint● Extendable● Minimum possible latency● Highly available● Provide authentication● Must be transparent to the application

Page 4: Max scale overview boston mysql meetup 03102014

MaxScale Core

● Event driven I/O Processor● Polling, event driven mechanism that is responsible for

dispatching events to the various modules that make up MaxScale

● Events in Maxscale = Network requests, such as:● Handling an incoming connection on a listener socket● Incoming data for a client connection● Data arriving on a connection from a backend data server● A socket error on one of the client or database

connections● A socket closure

Page 5: Max scale overview boston mysql meetup 03102014

* © SkySQL Ab. Commercial in Confidence *

Page 6: Max scale overview boston mysql meetup 03102014

MaxScale is located between the application and database

Page 7: Max scale overview boston mysql meetup 03102014
Page 8: Max scale overview boston mysql meetup 03102014
Page 9: Max scale overview boston mysql meetup 03102014
Page 10: Max scale overview boston mysql meetup 03102014

MaxScale Installation

Page 11: Max scale overview boston mysql meetup 03102014

Download and Unpack

Page 12: Max scale overview boston mysql meetup 03102014

Starting MaxScale

Page 13: Max scale overview boston mysql meetup 03102014

Environment and Command Line

Page 14: Max scale overview boston mysql meetup 03102014

Validating Installation

UID/PWD: admin / skysql

Page 15: Max scale overview boston mysql meetup 03102014

Configuration (part 1)

Page 16: Max scale overview boston mysql meetup 03102014

Configuration (part 2)

Page 17: Max scale overview boston mysql meetup 03102014

Possible Future Functionality Ideas

● Database firewall● Auditing and Logging● HA for non MySQL and MariaDB databases● Connection load balancing with MariaDB 10

and Spider● Statement based load balancing

Page 18: Max scale overview boston mysql meetup 03102014

For more information

• Github: https://github.com/skysql/MaxScale – Source code and documentation

• Visit http://www.skysql.com for more information– http://www.skysql.com/blogs/ivan-zoratti/close-encounter-maxscale– Conf guide: http://www.skysql.com/node/1939– Diagnostics guide: http://www.skysql.com/node/1940

* © SkySQL Ab. Commercial in Confidence *

Page 19: Max scale overview boston mysql meetup 03102014

Thank You!

Twitter: @skysql

Facebook: http://facebook.com/skysql

LinkedIn: http://www.linkedin.com/companies/1214250

Google+: https://plus.google.com/u/0/+Skysqlab/posts