HandlerSocket
Handlersocket gives you direct access to InnoDB/XtraDB. It's included in MariaDB 5.3 as ready-to use plugin.
The following is from HandlerSocket's README file, Copyright © 2010 DeNA Co.,Ltd
HandlerSocket is a NoSQL plugin for MySQL. It works as a daemon inside the mysqld process, accept tcp connections, and execute requests from clients. HandlerSocket does not support SQL queries. Instead, it supports simple CRUD operations on tables.
Because of the following reasons, HandlerSocket is much faster than the mysqld/libmysql pair in some circumstances:
- HandlerSocket manipulates data without parsing SQL, which causes less CPU usage.
- HandlerSocket reads many requests from clients and executes their requests in bulk, which causes less CPU and disk usage.
- HandlerSocket client/server protocol is more compact than the mysql/libmysql pair, which causes less network usage.
The current version of HandlerSocket only works with GNU/Linux. The source archive of HandlerSocket includes a C++ and a Perl client libraries. Here is a list of client libraries for other languages:
- PHP
- Java
- Python
- Ruby
- JavaScript
- Scala
The home of HandlerSocket is here.