AppFabric缓存:指定可以使用的最大内存(RAM) [英] AppFabric Caching: Specify maximum memory (RAM) that can be used

查看:52
本文介绍了AppFabric缓存:指定可以使用的最大内存(RAM)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在AppFabric缓存中,有没有办法分配或指定可以使用的最大内存(RAM)?我希望我的Web应用程序和AppFabric缓存实例在同一台服务器上运行。

In AppFabric caching, is there a way to allocate or specify maximum memory (RAM) that can be used? I would like to have my web application and an AppFabric cache instance running on the same server.

推荐答案

您可以使用host标签中的size参数指定最大内存xml配置。 http://msdn.microsoft.com/en-us/library/ff428169%28v=ws.10%29.aspx上面的cmdlet可以让你分配你想要为
缓存分配的MB内存在主机上请注意,我们通常建议使用专用的缓存服务器。
you can specify maximum memory using the size parameter in host tag in the xml configuration. http://msdn.microsoft.com/en-us/library/ff428169%28v=ws.10%29.aspx The above cmdlet would let you allocate the memory in MB which you want to allocate for the cache on a host. Please note we usually recommend a dedicated machine for the cache server.


这篇关于AppFabric缓存:指定可以使用的最大内存(RAM)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆