memcached
来源:互联网 发布:顶级hifi音频总店淘宝 编辑:程序博客网 时间:2024/05/16 07:13
memcached是一套分布式的快取系统,当初是Danga Interactive为了LiveJournal所发展的,但目前被许多软件(如MediaWiki)所使用。这是一套开放源代码软件,以BSD license授权释出。
memcached缺乏认证以及安全管制,这代表应该将memcached服务器放置在防火墙后。
memcached的API使用三十二位元的循环冗余校验(CRC-32)计算键值后,将资料分散在不同的机器上。当表格满了以后,接下来新增的资料会以LRU机制替换掉。由于memcached通常只是当作快取系统使用,所以使用memcached的应用程式在写回较慢的系统时(像是后端的数据库)需要额外的程式码更新memcached内的资料。
memcached具有多种语言的客户端开发包,包括:Perl/PHP/JAVA/C/Python/Ruby/C#/MySQL/
客户端包的下载地址是:http://www.danga.com/memcached/apis.bml
memcached for Windows
This is a port of memcached to the win32 architecture byKenneth Dalgleish, based on Kronuz's 1.2.1 port. This port is not supported by the official memcached team.
Install
The win32 version of memcached can be run both as a NT Service or from the command line. To install memcached as a service, follow the next steps:
- Unzip the binaries in your desired directory (eg. c:\memcached)
- Install the service using the command: 'c:\memcached\memcached.exe -d install' from the command line
- Start the server from the Microsoft Management Console or by running the following command: 'c:\memcached\memcached.exe -d start'
- Use the server, by default listening to port 11211
Building from source
To build from source, you will need Visual Studio 2005 (any edition with C++ should work), Windows SDK (eg.Windows SDK for Windows Server 2008 and .NET Framework 3.5) and libevent (win32 binary provided on this page).
- Install Visual Studio 2005
- Install Windows SDK
- Put libevent.lib in Win32-Prj/ folder
- Open solution file and it should build
Downloads
memcached 1.2.4 Win32 Beta
- memcached 1.2.4 Win32 Beta Binaries (09.03.2008)
- memcached 1.2.4 Win32 Beta Source (09.03.2008)
- memcached 1.2.4 Win32 Beta Patch for SVN revision 662 (tag 1.2.4) (09.03.2008)
Libevent 1.3e Win32
(Needed if building from source)
- Libevent 1.3e Win32 Binary (06.03.2008)
- Memcached
- memcached
- Memcached
- memcached
- Memcached
- memcached
- memcached
- memcached
- memcached
- memcached
- Memcached
- memcached
- memcached
- memcached
- Memcached
- memcached
- memcached
- memcached
- Linux-2.6.32.2内核在mini2440上的移植(六)---LCD驱动移植
- Android调试的必杀技——反汇编
- smarty自定义函数
- 进程间通信
- 查看apk包信息及apk反编译
- memcached
- 大整数相乘
- MySQL存储过程部分解释
- WaitForSingleObject WaitForMultipleObjects 用法
- JSTL函数的应用
- smarty自定义函数的应用
- 添加音乐
- huoqushuju
- sqoop 配置及导入导出操作