This project is read-only.

Setting Up Cached Provider

Jan 27, 2008 at 7:01 PM
<enyim.com>
<memcached>
<servers>
<!-- put your own server(s) here-->
<add address="127.0.0.1" port="11211" />
</servers>
<socketPool minPoolSize="10" maxPoolSize="100"
connectionTimeout="00:00:10" deadTimeout="00:02:00" />
</memcached>
</enyim.com>

<cacheProvider defaultProvider="MemcachedCacheProvider">
<providers>
<add name="MemcachedCacheProvider" type="MemcachedProviders.Cache.MemcachedCacheProvider,MemcachedProviders"
keySuffix="MySuffix" defaultExpireTime="2000"/>
</providers>
</cacheProvider>
Feb 6, 2008 at 9:19 PM
I assume if you had three machines in web farm you would just add more nodes to webconfig?

eg. :

<servers>
<!-- put your own server(s) here-->
<add address="10.1.14.151" port="11211" />
<add address="10.1.14.152" port="11211" />
<add address="10.1.14.153" port="11211" />
</servers>

???

Thanks,


J-Dub
Feb 6, 2008 at 10:51 PM
Yes, given those machines are also running memcached.