Memcacheq is a memcachedb-based Message Queuing server. Website address: http://memcachedb.org/memcacheq/
Characteristics:
1. Simple and easy to use.
2. Fast processing.
3. You can create more than one queue.
4. High concurrency performance.
5. Compatible with Memcache protocol.
Memcacheq relies on Berkeley DB and libevent (1.4 or higher).
Berkeley db is used to persist storage queue data to avoid data loss when the Memcacheq crashes or the server freezes.
1. Install Berkeley DB
Download address: http://www.oracle.com/technetwork/database/database-technologies/berkeleydb/downloads/index.html? Sssourcesiteid=ocomcn
$tar xvzf db-6.0.20.tar.gz
$cd db-6.0.20/
$cd build_unix/
$. /dist/configure
$make
$sudo make install
2. Install Libevent
Download Address: http://libevent.org/
$tar xvzf libevent-2.0.21-stable.tar.gz
$cd libevent-2.0.21-stable
$./configure
$make
$sudo make Install
Add two lines to/etc/ld.so.conf
/usr/local/lib
/usr/local/berkeleydb.6.0/lib
Finish new Run command refresh
sudo ldconfig
3. Install Memcacheq
This column more highlights: http://www.bianceng.cnhttp://www.bianceng.cn/Servers/zs/
Download Address: Https://code.google.com/p/memcacheq/downloads/list
Create Libdb.so Softlink
Ln-s/usr/local/berkeleydb.6.0/lib/libdb-6.0.so/usr/lib/libdb.so
$tar xvzf memcacheq-0.2.x.tar.gz
$cd memcacheq-0.2.x
$./configure--with-bdb=/usr/local/berkeleydb.6.0-- With--libevent=/usr/lib--enable-threads
$make
$sudo make install
--with-bdb=/usr/local/berkeleydb.6.0 Specify Berkeley DB path
--with--libevent=/usr/lib Specify Libevent Path
--enable-threads Open Multithreading