0

I am able to put/add 70MB of data to AppFabric successfully. But I am getting following error when I try to retrieve the same thru _cache.Get(key) method.

  1. Please let me know what's wrong.
  2. Let me know if its good this huge data

Error

"ErrorCode:SubStatus:The connection was terminated, possibly due to server or network problems or serialized Object size is greater than MaxBufferSize on server. Result of the request is unknown."

Stack Trace

at Microsoft.ApplicationServer.Caching.DataCache.ThrowException(ResponseBody respBody)
at Microsoft.ApplicationServer.Caching.DataCache.InternalGet(String key, DataCacheItemVersion& version, String region)   
at Microsoft.ApplicationServer.Caching.DataCache.Get(String key)

Web Config at client

<dataCacheClient requestTimeout="150000" channelOpenTimeout="20000" maxConnectionsToServer="1">
    <localCache isEnabled="false" sync="TimeoutBased" ttlValue="300" objectCount="10000"/>
    <clientNotification pollInterval="300" maxQueueLength="10000"/>
    <hosts><host name="MachineName" cachePort="22233"/></hosts>
    <securityProperties mode="None" protectionLevel="None" />
    <transportProperties connectionBufferSize="131072" maxBufferPoolSize="2147483647" maxBufferSize="2147483647" maxOutputDelay="2" channelInitializationTimeout="60000" receiveTimeout="2147483647"/> 
</dataCacheClient>

Configuration at Server

<transportProperties maxBufferPoolSize="2147483647" maxBufferSize="2147483647" />
4

1 回答 1

0

您应该考虑另一种解决方案来放置一个 70MB 的对象。AppFabric 适用于非常频繁访问的易失性数据,理想情况下低于 256kB(查看他们的基准测试结果,可在此处获得)。

注意:基准测试结果链接目前似乎已断开。

于 2012-06-23T02:02:40.517 回答