Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-4674

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

    XMLWordPrintable

    Details

      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)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              serg Sergei Golubchik
              Reporter:
              rspadim roberto spadim
              Votes:
              9 Vote for this issue
              Watchers:
              17 Start watching this issue

                Dates

                Created:
                Updated: