MariaDB MaxScale

The world's most advanced database proxy

MaxScale 是 MariaDB 开发的一个数据库智能代理服务,允许根据数据库 SQL 语句将请求转向目标一个到多个服务器,可设定各种复杂程度的转向规则。

MaxScale 设计用于透明的提供数据库的负载均衡和高可用性,同时提供高度可伸缩和灵活的架构,支持不同的协议和路由决策。MaxScale 使用 C 语言开发,利用 Linux 下的异步 I/O 功能。使用 epoll 作为事件驱动框架。

The MariaDB Corporation MaxScale is an intelligent proxy that allows forwarding of database statements to one or more database servers using complex rules, a semantic understanding of the database statements and the roles of the various servers within the backend cluster of databases.

MaxScale is designed to provide load balancing and high availability functionality transparently to the applications. In addition it provides a highly scalable and flexible architecture, with plugin components to support different protocols and routing decisions.

MaxScale is implemented in C and makes extensive use of the asynchronous I/O capabilities of the Linux operating system. The epoll system is used to provide the event driven framework for the input and output via sockets.

MariaDB MaxScale is a database proxy that extends the high availability, scalability, and security of MariaDB Server while at the same time simplifying application development by decoupling it from underlying database infrastructure.

MariaDB MaxScale is engineered with an extensible architecture to support plugins, extending its functionality beyond transparent load balancing to become, for example, a database firewall. With built-in plugins for multiple routers, filters and protocols, MariaDB MaxScale can be configured to forward database requests and modify database responses based on business and technical requirements — for example, to mask sensitive data or scale reads.

Firewall--数据库防火墙

MariaDB MaxScale includes a database firewall filter to block queries based on the rules configured — for example, based on the statement type, the functions used, the columns selected or the frequency of queries. MariaDB MaxScale 2.1 extends filtering to prepared statements.

数据库防火墙的 Prepared statement 过滤:数据库防火墙过滤器现在也将过滤规则应用于 Prepared statement。

数据库防火墙的功能过滤:现在,数据库防火墙过滤器会根据存在的功能添加一个规则来对查询进行白名单或黑名单。

Denial of service protection--DoS是Denial of Service的简称,即拒绝服务

MariaDB MaxScale 2.1 introduces a result set limiting plugin to prevent queries, prepared statements and stored procedures from causing a denial of service, intentional or not, by returning too much data. The maximum result set size can be configured in rows or bytes.

Read-write splitting--读写拆分

MariaDB MaxScale includes a router to split reads and writes when multi-master clustering or master/slave replication is configured, while writes are executed a single master node and reads are executed on multiple slave modes — and it can be done without modifying the application.

Change-data-capture--变化数据捕获

MariaDB MaxScale includes a change-data-capture protocol that, when combined with the Avro router, reads binary log events and streams them to clients where the data can be consumed as Avro objects or JSON documents — for example, with the included CDC client and Kafka producer.

Data masking--数据屏蔽

MariaDB MaxScale 2.1 introduces a data masking filter to protect sensitive data by inspecting query results and obfuscating the data in specific columns based on the rules configured. When combined with the database firewall filter, access to sensitive data can be restricted.

Bulk insert streaming--Streaming insert 插件

MariaDB MaxScale 2.1 introduces a filter for bulk insert streaming, converting all of the inserts within an explicit transaction into a single CSV data stream for direct loading with greater efficiency, improving performance and reducing network traffic.

Schema-based sharding

MariaDB MaxScale includes a schema router to support multitenant environments, where every tenant has its own schema and schemas may be on different databases, or to create a single logical database from multiple physical databases — all transparent to the application.

Querying caching--查询缓存

MariaDB MaxScale 2.1 introducing a query caching filter, improving the performance of repeat queries while reducing the workload on the underlying database depending on the rules configured — time to live, maximum result set rows/size, maximum entry count and more.

【MaxScale介绍】相关推荐

  1. MaxScale:实现MySQL读写分离与负载均衡的中间件利器

    1.MaxScale 是干什么的? 配置好了MySQL的主从复制结构后,我们希望实现读写分离,把读操作分散到从服务器中,并且对多个从服务器能实现负载均衡. 读写分离和负载均衡是MySQL集群的基础需求 ...

  2. MaxScale Binlog Server

    MaxScale Binlog Server理想架构图 要点提示: 1.MX只能适合Mariadb自家的版本作为BINLOG ROUTER,其他DB都不适合 2.开通IPTABLES,避免端口呗过滤 ...

  3. MySQL-通过MaxScale实现读写分离初探

    文章目录 生猛干货 官方文档 主从复制配置的目的之一----读写分离 为什么要进行读写分离 读写分离的实现方式 程序开发 中间件maxScale 实现读写分离 使用中间件实现读写分离的优缺点 MaxS ...

  4. 读写分离和负载均衡介绍

    通常我们所说的读写分离和负载均衡,实际上是两个不同的概念,读写分离主要做的工作,是把对数据库的读操作和写操作,来分开,我们进行MYSQL主从复制配置的一个主要目的呢,就是为了分担主库的读负载,就是因为 ...

  5. MaxScale初探

    内容预览: 1.MaxScale简介 2.MaxScale安装 3.MaxScale配置 4.MaxScale简单测试 5.MaxScale Debug Interface和CLI 6.MaxScal ...

  6. MaxScale Binlog Server实践

    MaxScale Binlog Server实践 简介 Part1:写在最前 在之前的博文中有说到MaxScale,作为中间件,配合MHA使用或者主从使用可实现读写分离和负载均衡,今天简单介绍下Max ...

  7. Maxscale读写分离集群过渡PXC集群

    一.实验环境 第一次写博客,欢迎大家交流指正!!! 不喜勿喷!!! 操作系统 : Centos7.5虚拟机 数据库软件 : mysql-5.7.17 主机名 ip地址 角色 web33 192.168 ...

  8. 基于MaxScale中间件的MySQL读写分离

    基于MaxScale中间件的MySQL读写分离 概述 maxscale 基于keepalived的高可用,通过VIP提供服务 maxscale官网:https://mariadb.com/downlo ...

  9. MySQL链式复制加速神器: MaxScale Binlog Server(附视频)

    本文根据DBAplus社群第83期线上分享整理而成 讲师介绍 贺春旸 普惠金融MySQL专家 <MySQL管理之道>第一版.第二版作者,曾任职于中国移动飞信.机锋安卓市场,拥有丰富的数据库 ...

最新文章

  1. 干货丨入门机器学习,从搞懂这8大经典算法开始
  2. shell 的 功能语句--1
  3. python用中文怎么说-如何用Python做中文分词?
  4. 首发:一份国内机器学习爱好者的性别比例的抽样调查
  5. 一起学习C语言:C语言基本语法(二)
  6. Prism4文档翻译(第九章 第二部分)
  7. 乐高mindstormsev3_乐高MINDSTORMSEV3软件程序模块开发-2019年精选文档
  8. 华为薪资等级结构表_华为内部考核体系
  9. iPhone屏幕分辨率
  10. Python | 程序查找列表中最小和最大元素的位置
  11. win11硬盘分区如何合并 windows11硬盘分区合并的解决方法
  12. 《Loy解说Hystrix》
  13. html中输出 u263c,《 JavaScript程序设计》—— 第三章 数据
  14. IT牛们的bat面试心得与经验总结
  15. android手机华为p10,华为P10的手机系统是什么
  16. 变化向量检测方法CVA(change vector analysis)
  17. 搜索算法--爬山法 (代码示例)
  18. vue引入第三方原生js库
  19. 知名APP市场总监教你:如何策划高效的市场推广运营方案(超级干货)
  20. 推荐一款护眼插件 Night Eye

热门文章

  1. 【Vuejs】1385- Vue3 中这样使用 Icon 更优雅
  2. UVM_MAX_QUIT_COUNT
  3. 模糊测试入门案例,利用AFL和Honggfuzz模糊测试Tiff
  4. Oracle SQL语句进行新建用户
  5. HDU 4773 Problem of Apollonius 圆的反演
  6. matlab fdatool教程,[Matlab]Fdatool与s-function c builder的使用
  7. 双绞线的两种接法和选择
  8. 利用Runloop优化流畅度
  9. urllib3学习笔记
  10. html disabled属性的启用和禁止,超链接的禁用属性Disabled使用示例