memcache 资料大全

This item was filled under [ 服务器 ]

If you are on windows, here are the steps which will help you running memcached on windows machine:

1. Download the memcached win32 binary from my code.google vault.

2. Unzip the downloaded file under C:memcached

3. As we need to install memcached as a service, run this from a command line: C:memcachedmemcached.exe -d install from the command line

4. Memcache by default loads with 64Mb of memory which is just not sufficient enough. Navigate to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesmemcached Server in

your registry and find the ImagePath entry. Change that to “C:memcachedmemcached.exe” -d runservice -m 512

5. Start the server by running this command: C:memcachedmemcached.exe -d start

6. Open folder C:PHPext and check for php_memcache.dll. If you are unlucky not to have that download from here for PHP-4.x and from here for PHP-5.x

7. Add extension=php_memcache.dll in your php.ini file

8. Restart Apache

9. Download the full package consisting of exe’s, classes and dll’s from here.

A few other options which you can use for starting memcached are:

memcached -d -m 2048 -l 10.0.0.40 -p 11211 , This will start memcached as a daemon, using 2GB of memory, and listening on IP 10.0.0.40, port 11211. Port 11211 is the default

port for memcached.

journey 使用  memcache的小故事  http://code.google.com/p/memcached/wiki/TutorialCachingStory

memcached的秘密: http://blog.leetsoft.com/2007/5/22/the-secret-to-memcached

最后面介绍他自己的memcached使用经验: http://dormando.livejournal.com/tag/memcached

很详细的逐条列出实际memcached遇到的问题: http://abhinavsingh.com/blog/2009/01/memcached-and-n-things-you-can-do-with-it/

测试memcached:   http://blogs.sun.com/shanti/entry/memcached_on_nehalem1

memcached wiki:  http://en.wikipedia.org/wiki/Memcached

架构冒险?http://poocs.net/2006/3/13/the-adventures-of-scaling-stage-1

http://poocs.net/2006/3/20/the-adventures-of-scaling-stage-2

http://poocs.net/2006/3/27/the-adventures-of-scaling-stage-3

http://poocs.net/2006/4/3/the-adventures-of-scaling-stage-4

有名的大负载.com: http://highscalability.com/

memcache二进制协议: http://code.google.com/p/memcached/wiki/MemcacheBinaryProtocol

引擎开发接口: http://code.google.com/p/memcached/wiki/EngineInterface

缓存session: http://dormando.livejournal.com/495593.html

如何监控memcached: http://code.google.com/p/memcached/wiki/HowToMonitor

nginx和memcached 400%性能提升: http://www.igvita.com/2008/02/11/nginx-and-memcached-a-400-boost/

使用nginx,ssi和memcached提升你的web应用速度: http://kovyrin.net/2007/08/05/using-nginx-ssi-and-memcache-to-make-your-web-applications-faster/

fedora memcache + drupal: http://drupal.org/files/issues/memcache.txt

drupal的memcache api和集成: http://drupal.org/project/memcache

memcached for small project: http://mituzas.lt/2008/12/25/memcached-for-small-objects/

如何显著的提升你的web应用速度:memcached介绍 http://www.majordojo.com/2007/03/memcached-howto.php

liveJournal使用memcache的那些事: http://www.linuxjournal.com/article/7451

介绍一个rail的memcached应用: http://www.linuxjournal.com/article/10261

mysql中使用memcached(不只是这页,这页顶部的相关链接和一些页面尾部的链接更精彩): http://dev.mysql.com/doc/refman/6.0/en/ha-memcached.html#nolinkhere

怎么知道什么时候该加memcache服务器: http://mysqldba.blogspot.com/2008/09/how-do-you-know-when-you-need-more.html

加速你的nginx服务器(提到与apache服务器配合):http://lserinol.blogspot.com/2009/03/speeding-up-your-nginx-server-with.html

Memcached深度分析: http://www.phpx.com/happy/thread-131124-1-1.html

Memcache的使用和协议分析详解: http://blog.csdn.net/heiyeshuwu/archive/2006/11/13/1380838.aspx

Bookmark and Share