Use mysql command line interface with memcached -
i'm trying test performance of using memcached on mysql server improve performance.
i want able use normal mysql command line, can't seem connect memcached, when specify right port.
i'm running mysql command on same machine both memcached process , mysql server.
i've looked around online, can't seem find using memcached other program apis. ideas?
memcached has own protocol. mysql client cannot connect directly memcached server.
you may thinking of mysql 5.6 feature allows mysql server respond connections using memcached-compatible protocol, , read , write directly innodb tables. see http://dev.mysql.com/doc/refman/5.6/en/innodb-memcached.html
but not allow mysql clients connect memcached -- it's opposite, allowing memcached clients connect mysqld.
re comment:
the innodb memcached interface not caching solution per se, it's solution using familiar key/value api persistent data in innodb tables. innodb transparent caching of data pages in buffer pool, no different conventional data reads sql. innodb commits changes transaction log synchronously on commit.
here's blog colleague @ percona. tested whether mysql 5.6 memcached api used caching layer, , found using memcached still superior.
http://www.mysqlperformanceblog.com/2013/03/29/mysql-5-6-innodb-memcached-plugin-as-a-caching-layer/
here's 1 conclusion blog:
as expected, there slowdown write operations when using innodb version. there slight increase in average fetch time.
Comments
Post a Comment