Planning and Configuring the Distributed Cache
推荐:HJCache: iPhone cache library for asynchronous image loading and caching(上)
原文:http://www.markj.net/hjcache-iphone-image-cache/ HjCache 是iOS上的一个开源的库,用于异步加载网络图片并在滚动中的tables中显示,同时还支持将图片缓
2018阿里云全部产品优惠券(新购或升级都可以使用,强烈推荐)
领取地址:https://promotion.aliyun.com/ntms/act/ambassador/sharetouser.html?userCode=gh9qh5ki&utm_source=gh9qh5ki
SharePoint2013 includes a new caching mechanismknown as the Distributed Cache service.Various SharePoint features depend on
thisservice, including micro-blogging and newsfeeds. The Distributed Cache service also improves the performance of various other
features,including authentication, page load, search, OneNote client access, and security trimming.
TheDistributed Cache service is built on Windows Server AppFabric, which is installed as part of the prerequisites for SharePoint 2013.
Changing the allocated memory
Thereare two circumstances when you may need to change the memory allocated to theDistributed Cache service:
•If you add physical memory to the server, the Distributed Cache service willnot automatically recalculatethe 10 percent memory allocation.You should manually change the amount of memory allocated to the service.
•If you run the Distributed Cache service in dedicated mode, you should reserve2 GB memory for systemprocesses and services, and assign the remaining memory to the DistributedCache service. Remember that noother SharePoint services should run on a dedicated Distributed Cache server
You canuse the following procedure to change the allocated memory for the DistributedCache service:
1.Stop the Distributed Cache service on every cache host. You can do this fromthe Services on server page inthe Central Administration website.
2.Open the SharePoint 2013 Management Shell on one of the cache hosts, and runthe following command, where<CacheSize> is the desired memory allocation in MB.
Update-SPDistributedCacheSize –CacheSizeInMB<CacheSize>
3.Restart the Distributed Cache service on all cache hosts. You can do this fromthe Services on server page inthe Central Administration website.
Adding and removing cache hosts
Insome circumstances, you may need to add or remove servers from the cachecluster. For example, if youwant to repair or upgrade a server in the server farm, you should remove itfrom the cache cluster, performyour maintenance, and then add it back into the cache cluster.
Toadd a server to the cache cluster, run the following Windows PowerShell cmdleton the server you want to add.
Add-SPDistributedCacheServiceInstance
Removinga Cache Host from a Cache Cluster
Stop-SPDistributedCacheServiceInstance –Graceful
Remove-SPDistributedCacheServiceInstance
相关阅读排行
- 1windows如何刷新DNS缓存
- 2一致性 hash 算法( consistent hashing )
- 3Linux内核2.6.14源码分析-双向循环链表代码分析
- 4Cocos2d中从场景切换到UIViewController视图方法总结
- 5cpu 的 cache 是很宝贵的——从互相平行的数组看
用户评论

游客
相关内容推荐
最新文章
- 1利用SharePoint 2013 创建Service Desk 网站之发布表单模板到文档库
- 2利用SharePoint 2013 创建Service Desk 网站之利用SharePoint Designer设定邮件发送动作!
- 3利用SharePoint 2013 创建Service Desk 网站之构建隐藏参数实现业务流转!
- 4SharePoint 2013 Using PeopleEditor in Custom list or Custom Web Parts
- 5利用SharePoint 2013 创建Service Desk 网站之归档问题!
- 6SharePoint 2016 图文安装教程