[PATCH] NoSQL - Implement Memcached protocol and map it to one table / port

Description

Like mysql 5.6 - innodb memcached
we could map a TCP/UDP PORT to a mariadb db.table (no matter if it's aria,innodb or other engine)

I'm thinking something in configuration file like:
memcache-protocol=tcp;11211;database.table
memcache-protocol=udp;11211;database.table
memcache-protocol=tcp;11212;database.table2
memcache-protocol=udp;11212;database.table2

it will create 2 tcp and 2udp 'servers'
when a user send a GET/SET/other memcached command over a determined port, the server will lock the table (or the row when possible) of that port, and execute the get/set and return the value via memcached protocol

no query cache here (maybe we could implement?)
maybe we have many work done in mysql 5.6 code
i'm happy with handler protocol, but i have some old/new codes that still using a dedicated memcache server, and i want to remove them and use only one mariadb server (it's easier to solve problem with only one server)

Environment

None

Status

Assignee

Colin Charles

Reporter

Roberto Spadim

External issue ID

None

External issue ID

None

Time tracking

40h

Fix versions

Priority

Minor