Difference between revisions of "Memcached"

From air
Jump to navigation Jump to search
(Created page with "''Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviatin...")
 
 
(One intermediate revision by the same user not shown)
Line 2: Line 2:
   
 
http://memcached.org/
 
http://memcached.org/
  +
  +
  +
=Installation=
  +
<pre>
  +
  +
  +
wget http://memcached.org/latest
  +
tar -zxvf memcached-1.x.x.tar.gz
  +
cd memcached-1.x.x
  +
./configure && make && make test && sudo make install
  +
  +
  +
</pre>
  +
  +
=Play with telnet=
  +
<pre>
  +
$ telnet localhost 11211
  +
Trying 127.0.0.1...
  +
Connected to localhost.
  +
Escape character is '^]'.
  +
get foo
  +
VALUE foo 0 2
  +
hi
  +
END
  +
stats
  +
STAT pid 8861
  +
(etc)
  +
</pre>
  +
  +
=Books=
  +
*
  +
Getting Started with Memcached, 2013, http://www.amazon.com/Getting-Started-Memcached-Ahmed-Soliman/dp/1782163220

Latest revision as of 11:55, 28 April 2015

Free & open source, high-performance, distributed memory object caching system, generic in nature, but intended for use in speeding up dynamic web applications by alleviating database load.

http://memcached.org/


Installation



wget http://memcached.org/latest
tar -zxvf memcached-1.x.x.tar.gz
cd memcached-1.x.x
./configure && make && make test && sudo make install


Play with telnet

$ telnet localhost 11211
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
get foo
VALUE foo 0 2
hi
END
stats
STAT pid 8861
(etc)

Books

Getting Started with Memcached, 2013, http://www.amazon.com/Getting-Started-Memcached-Ahmed-Soliman/dp/1782163220