/lsmcd

LiteSpeed Memcache Compatible Persistent HA replication Cache Server

Primary LanguageC++GNU General Public License v3.0GPL-3.0

LSMCD

Description

LiteSpeed Memcached is LiteSpeed's persistent memcache compatible cache server supporting high availability replication. It's performance and interface are similar to the popular Memcached. Unlike Memcached, cache data is persistent on single or multiple box setups -- preserving all cache data through updates and in the event of server failure.

Compile

./fixtimestamp.sh
./configure CFLAGS=" -O3" CXXFLAGS=" -O3"  
make

Install

  • install prerequisites, for centos, do
yum install autoconf automake zlib-devel openssl-devel expat-devel cyrus-sasl-devel

for Debian/Ubuntu, do

sudo apt-get install build-essential zlib1g-dev libexpat1-dev openssl libsasl2-dev
  • cd dist, run "install.sh" so that lsmcd service is added.
  • update the default configure "/usr/local/lsmcd/conf/node.conf".
    There is example.conf under dist/conf, just replace with your testing IP.
  • now start or stop it.
  service lsmcd start/stop

Configuration Documentation

Lsmcd configuration settings are different from memcached. For detail description, please read.