Max scale overview boston mysql meetup 03102014
-
Upload
jdayskysql -
Category
Technology
-
view
270 -
download
0
description
Transcript of Max scale overview boston mysql meetup 03102014
![Page 1: Max scale overview boston mysql meetup 03102014](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/1.jpg)
MaxScale Overview
Jon Day
SkySQL
* © SkySQL Ab. Commercial in Confidence *
![Page 2: Max scale overview boston mysql meetup 03102014](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/2.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/3.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/4.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/5.jpg)
* © SkySQL Ab. Commercial in Confidence *
●
![Page 6: Max scale overview boston mysql meetup 03102014](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/6.jpg)
MaxScale is located between the application and database
![Page 7: Max scale overview boston mysql meetup 03102014](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/7.jpg)
![Page 8: Max scale overview boston mysql meetup 03102014](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/8.jpg)
![Page 9: Max scale overview boston mysql meetup 03102014](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/9.jpg)
![Page 10: Max scale overview boston mysql meetup 03102014](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/10.jpg)
MaxScale Installation
![Page 11: Max scale overview boston mysql meetup 03102014](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/11.jpg)
Download and Unpack
![Page 12: Max scale overview boston mysql meetup 03102014](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/12.jpg)
Starting MaxScale
![Page 13: Max scale overview boston mysql meetup 03102014](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/13.jpg)
Environment and Command Line
![Page 14: Max scale overview boston mysql meetup 03102014](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/14.jpg)
Validating Installation
UID/PWD: admin / skysql
![Page 15: Max scale overview boston mysql meetup 03102014](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/15.jpg)
Configuration (part 1)
![Page 16: Max scale overview boston mysql meetup 03102014](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/16.jpg)
Configuration (part 2)
![Page 17: Max scale overview boston mysql meetup 03102014](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/17.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/18.jpg)
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](https://reader034.fdocuments.net/reader034/viewer/2022052303/554fb123b4c90586258b5159/html5/thumbnails/19.jpg)
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