What I really like about having Lua and MySQL Proxy together is
that it turns out to be very flexible, you can have the proxy do
all kinds of things. And the last thing I made the MySQL Proxy do
is to act like memcached.
Well, maybe not, but it handles key => value pairs now
:P
What does it do?
It handles 5 basic query types:
mysql> INSERT "key" = "value";
Very simple, insert a key => value pair on a
proxy.global.db
table, if there is already a value
for that query, it will overwrite it.
mysql> SELECT "key";
It retrieves the value for the specified key.
mysql> DELETE "key";
Deletes the key …