# DeNA/HandlerSocket-Plugin-for-MySQL

HandlerSocket is a NoSQL plugin for MySQL, working as a daemon inside the mysqld process, to accept tcp connections, and execute requests from clients. HandlerSocket does not support SQL queries; instead it supports simple CRUD operations on tables.

Repository: https://github.com/DeNA/HandlerSocket-Plugin-for-MySQL
Canonical: https://ross.abutalabs.com/products/handlersocket-plugin-for-mysql
Language: C++
License: NOASSERTION
License Family: other
Last push: 2019-11-14T20:20:53+00:00

## Health v2 (maintenance only)
Score: 32/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 35, longevity 100
- inputs: {"age_days": 5863, "days_push": 2484, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1135, forks 148 (observed 2026-08-28T04:03:43.361862+00:00)

## What it is
HandlerSocket is a NoSQL plugin for MySQL that runs as a daemon inside the mysqld process, accepting TCP connections and executing simple CRUD operations on tables without SQL parsing. It bypasses the SQL layer for much lower CPU, disk, and network overhead in some workloads.

## Use cases
- get key-value style reads from MySQL without SQL overhead
- run fast CRUD operations on MySQL tables from a NoSQL client
- reduce CPU usage for high-volume MySQL point queries
- batch many client requests against MySQL efficiently
- use MySQL as a NoSQL data store with a compact protocol
- connect to MySQL from C++, Perl, PHP, Java, Python, or Ruby clients

## When to choose
- you need very high-throughput simple lookups or writes on existing MySQL tables
- you want NoSQL-style access while keeping data in MySQL with ACID storage
- SQL parsing overhead is your bottleneck for point queries

## When to avoid
- you need complex queries, joins, or SQL features
- you are not on GNU/Linux
- you want an actively developed project - development has largely stalled
- you prefer modern alternatives like MySQL's built-in memcached plugin or dedicated NoSQL stores

## Facets
- artifact type: plugin
- maturity: maintenance
- function: database, database-driver, http-server
- domain: databases, backend, developer-tools
- platform: cpp, self-hosted
- tags: nosql, mysql-plugin, crud, tcp-server, high-performance, key-value-access, linux, mysql

## Member repositories
- DeNA/HandlerSocket-Plugin-for-MySQL (main) score 32

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:43.361862+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:36:34.479419+00:00, confidence not recorded.
  - readme: https://github.com/DeNA/HandlerSocket-Plugin-for-MySQL (fetched 2026-08-28T04:03:43.361862+00:00, sha 8ec67206a4ff)
- Data as of 2026-08-30T08:39:29.467469+00:00.
