mysql-proxy-cache

用于 mysql 的协议级缓存层。「A protocol-level caching layer for mysql」

  • Owner: clofresh/mysql-proxy-cache
  • Platform: Linux,Mac,Windows
  • License:: BSD 3-Clause "New" or "Revised" License
  • Category::
  • Topic:
  • Like:
    0
      Compare:

Github stars Tracking Chart

Dependencies:

Usage:

Assuming you have mysql and memcache instances running locally listening at their respective default ports, you can just run the following commands:

mysql-proxy --proxy-lua-script=mysql-proxy-cache.lua

Then, point your application to mysql proxy on port 4040 instead of 3306. Make sure you specify 127.0.0.1 as the host instead of localhost, otherwise you won't connect to mysql proxy.

Default Timeout for data is 30 seconds. To change this, as it is rather low, and set this way for testing, edit the variable cache_timeout it mysql-proxy-cache.lua

Main metrics

Overview
Name With Ownerclofresh/mysql-proxy-cache
Primary LanguageJava
Program language (Language Count: 0)
Platform
License:BSD 3-Clause "New" or "Revised" License
所有者活动
Created At2008-11-24 00:53:59
Pushed At2015-12-17 01:38:42
Last Commit At2009-10-23 13:49:21
Release Count0
用户参与
Stargazers Count54
Watchers Count5
Fork Count7
Commits Count5
Has Issues Enabled
Issues Count1
Issue Open Count0
Pull Requests Count0
Pull Requests Open Count1
Pull Requests Close Count1
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private