HandlerSocket gives you direct access to InnoDB/XtraDB and SPIDER. It was included in MariaDB 5.3 as a ready-to use plugin.

HandlerSocket is a NoSQL plugin for MySQL/MariaDB. It works as a daemon inside the mysqld process, accepting TCP connections, and executing requests from clients. HandlerSocket does not support SQL queries. Instead, it supports simple CRUD operations on tables.

HandlerSocket can be much faster than mysqld/libmysql in some cases because it has lower CPU, disk, and network overhead:

  1. To lower CPU usage it does not parse SQL.
  2. Next, it batch-processes requests where possible, which further reduces CPU usage and lowers disk usage.
  3. Lastly, the client/server protocol is very compact compared to mysql/libmysql, which reduces network usage.
Title Description
HandlerSocket Installation Installing the HandlerSocket plugin
HandlerSocket Configuration Options HandlerSocket Configuration Options
HandlerSocket Client Libraries Available HandlerSocket Client Libraries
Testing HandlerSocket in a Source Distribution Testing HandlerSocket in a source distribution
HandlerSocket External Resources HandlerSocket external resources and documentation
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.

© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.