You are viewing an old version of this category. View the current version here.
HandlerSocket gives you direct access to InnoDB/XtraDB. It is 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:
- To lower CPU usage it does not parse SQL.
- Next, it batch-processes requests where possible, which further reduces CPU usage and lowers disk usage.
- Lastly, the client/server protocol is very compact compared to mysql/libmysql, which reduces network usage.
HandlerSocket InstallationInstalling the HandlerSocket plugin.
HandlerSocket Configuration OptionsHandlerSocket configuration options.
HandlerSocket Client LibrariesAvailable HandlerSocket Client Libraries
Testing HandlerSocket in a Source DistributionTesting HandlerSocket in a source distribution.
HandlerSocket External ResourcesHandlerSocket 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.