MariaDB MaxScale 2.0, basis for a Two-speed IT architecture Harry Timm, Business Development Manager harry.timm@mariadb.com Telef: +49-176-2177 0497
MariaDB FASTEST GROWING OPEN SOURCE DATABASE * Innovation by the community for the community Ubiquitous distribution and accessibility 12 Million users Led by the founders of MySQL Application of the Year MariaDB MaxScale *Jan 2015 April 2016, DB-Engines.com 2
Industry Leaders in 45 Countries Trust Critical Business Data to MariaDB Financial Services Travel Retail & ecommerce Gvmt & Education Telecom Technology & Internet Media & Social 3
Innovation by Users, For Users Multisource Replication Galera Cluster XtraDB Storage Engine MaxScale Binlog MaxScale Schema Sharding WebScaleSQL patches Encryption Atomic Writes TokuDB Storage Engine InnoDB Storage Engine CONNECT storage engine Spiral Arms Spider Sharding Security Key Management Plugin OLIVIER BERTRAND 4
MariaDB Architecture Application Extensible Architecture Increase flexibility Easy to customize Drive community innovation CONNECTORS C/C++, Java, PHP JDBC ODBC MariaDB Multi-Master Cluster SQL NoSQL CRUD API MariaDB MaxScale Replication KERNEL EXTENSIBILITY Replication Kernel Production Plugins STORAGE EXTENSIBILITY Transac tional Inmemory NoSQL Graph & Search Scalability Analytics OPERATING SYSTEM / FILE SYSTEM / SAN / CLOUD 5
Importance / No. of users Importance of Custom Applications in a corporation over time Online shop generates more and more business. Automated product ordering added. Corporation: Mission-Critical Web site is important source to generate additional revenue, DataMart and backend integration added. Used daily by entire organization. Retail company generates Web site with Online shop Inflection point when nice to have becomes missioncritical departmental: nice to have day 1 6 months 1 year
MariaDB Enterprise Subscription MariaDB Enterprise Subscription Production ready MariaDB open source project Includes MariaDB MaxScale Productivity tools Upgrades, patches, and notifications Customer Portal Consultative help World s best open source database technical services and support MariaDB Enterprise Cluster Advanced, multi-master clustering for distributed database deployments 7
MariaDB MaxScale 2.0 The basis for a Two-speed IT architecture
Digital Business Model Digital Business Model Faster delivery of digital products and services Understand customers behavior Digitize business process Challenges for IT Time to market agility System integration Weak systems integration and slow database-access times can prevent optimal customer experience Real-time insights Difficult to integrate operational process flow to analytics Reference: McKinsey Digital Business Model - A Two-speed IT architecture for the digital enterprise 9
Two speed IT architecture Customer Centric Front-end Continuous Delivery Microservices Modular deployment Application Database Security Scalability High quality data management Transaction Focused Back-end 10
Two speed IT architecture Customer Centric Front-end Continuous Delivery Microservices Modular deployment MaxScale Application Database Security Scalability High quality data management Transaction Focused Back-end 11
MariaDB MaxScale MaxScale is a database proxy allows databases and apps to be fully decoupled, enabling admin processes to run without affecting apps and for apps to evolve without hampering underlying databases. Security Scalability High Availability Data Streaming Secure database firewall to prevent cyber attacks like SQL injection and DDos Manage your scaled-out infrastructure without changing application code Ensure uptime with no single point of failure and minimize downtime during upgrade Stream transactional data to data lake for real-time analytics 12
Security Protect against security threats such as SQL injection, DDoS attack and unauthorized data access Data in Motion End to end data encryption Query Data in Use MaxAdmin Security enhancement (local only access) Data at Rest Firewall: Whitelisting/Blacklisting Connection rate limitation to prevent DDoS attack SQL Select from customer Where id = 5:SELECT * FROM CUSTOMERS; Client 1 3 MaxScale Error Query failed: 1141 Error: Required WHERE/HAVING clause is missing 2 Firewall Filter 13
Manage your scale out environment Manage your scale out environment without impacting user experience Content Aware aware of the content of the request aware of the configuration and state of the server Query Routing Load balancing: Monitor and balance transaction load Read/Write splitting Write Read Replication Replicate data from master to large number of slaves 14
Load Segregation across applications Galera cluster or Master-Slave cluster Connection based or Statement based One service per workload configured to Route on weighted bias of server Monitors the cluster and elect the master Online Application Service: Weight by online property of servers Reporting Application Service: Weight by reporting property of servers Online Application MaxScale Routing Reporting Application OnlineWeight=1000 ReportingWeight=1 OnlineWeight=1000 ReportingWeight=1 OnlineWeight=1 ReportingWeight=1000 Traffic profile based segregated routing No application change required Send write intensive traffic to write optimized servers 2015, MariaDB Corp. Server1 Server2 Server3
2015, MariaDB Corp. Upgrade from one version to another version Tee-filter to duplicate queries to current version in production new version in staging QLA filter logs query performance Queries sent to new version Validate Performance QLA filter logs query syntax Queries sent to new version Validate functionality Validate functionality and performance on new version before moving to production Minimize risk
High Availability Ensure High Availability with no single point of failure 1 4 CHANGE MASTER to new_master; START SLAVE Ensure database uptime Automatic failover No impact on read transaction when master fails Master 2 3 STOP SLAVE master_down event Failover Script script Minimize database downtime Database upgrade without impacting user experience Slaves 4 binlog cache Promote as master 17
Data Streaming Provide real time transactional data to data lake environment for machine learning or real-time analytics. Capture change data in the binary log events and replicate the events from MariaDB to Kafka producer in real-time from Master to slave to offload the replication load from master Master Binary log events MaxScale Avro or JSON events Binlog, Avro, JSON Binlog, Avro, JSON Slaves Slaves Data Warehouse 18
MariaDB Galera Cluster Improve developer productivity with simplified applications Client Client Client Write Scaling MariaDB Enterprise Cluster Multi-master replication for write Scalability MaxScale for load balancing MaxScale 19
Customer Success Story Company Overview With over four million calls and 100,000 orders handled each week on its platform, LeadDesk has become one of Europe s leading providers of contact centre technology. Business Challenge Existing environment could not match the data growth LeadDesk was experiencing. The company could not afford any latency greater than ten milliseconds for its customers or any unplanned downtime. Why MariaDB MaxScale Easy sharding without application level changes Quick deployment Flexible, pluggable architecture made further customization possible With MariaDB MaxScale, there is no technical limit for scalability through sharding, and we were able to deploy quickly without having to modify our applications. MariaDB is the best in town for cloud database solutions and this is why we chose MaxScale over others. - Olli Nokso-Koivisto CEO of LeadDesk 20
A three-node MariaDB Enterprise Cluster with advanced multimaster, synchronous clustering technology designed for high availability One node MaxScale intelligent database gateway that gives you minimum downtime, as well as added security, scalability and interoperability Everything in a pre-configured solution for easy deployment on Microsoft Azure Simple interface to enable you to be up and running in minutes Comprehensive 24/7 support and consultative services from the experts at MariaDB Get Started with MariaDB Enterprise Cluster and MaxScale for Microsoft Azure: https://azure.microsoft.com/enus/marketplace/partners/mariadb/cluster-maxscale
MariaDB for YOU! Harry Timm, Business Development Manager harry.timm@mariadb.com Telef: +49-176-2177 0497 Weitere Informationen: www.mariadb.com