1 / 2
文档名称:

Microsoft Distributed Cache Velocity 分布式缓存.docx

格式:docx   页数:2页
下载后只包含 1 个 DOCX 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

分享

预览

Microsoft Distributed Cache Velocity 分布式缓存.docx

上传人:yzhluyin9 2016/4/15 文件大小:0 KB

下载得到文件列表

Microsoft Distributed Cache Velocity 分布式缓存.docx

相关文档

文档介绍

文档介绍:微软分布式缓存,工程代码为“ Velocity ”。这是一个分布式内存对象缓存系统。最新版本为 CTP3 。下载跟 memcached 一样, “ Velocity ”维护一张大的哈希表, 这张表可以跨越多个服务器, 你可以通过添加或者减少服务器来平衡系统压力。安装“ Velocity ”时需要建立一个保存配置的地方,可以是共享文件,也可以是 SQLServe r 数据库。安装完成后需要用 Run as administrator 来运行它。接下来我们要启动它。命令为: start-cachecluster. 然后加入一个新的 Cache ,名称为“ testcache ”. 命令为: new-cache -cachename testcache 下面我们要在系统中使用“ Velocity ”。首先要引用 和 。然后在配置文件中加入[xhtml] view plain copy 1. <configSections> 2. 3. <section name = "dataCacheClient" type = " Section, CacheBaseLibrary" allowLocation = "true" allowDefinition = "Everywhere" /> 4. 5. </configSections> 和[xhtml] view plain copy 1. <sessionState mode = "Custom" customProvider = "Velocity" > 2. 3. <providers> 4. 5. <add name = "Velocity" type = "