Stack Overflow への投稿は初めてですので、不備がありましたら申し訳ありません。
質問
Windows Azure ベースのサイト (eBay に類似) を開発し、Azure プラットフォームでホストしました。Azure キャッシュを有効にして、Web ロールの複数のインスタンスをデプロイしました。先週までは順調に進んでいたのですが、データベースからデータを読み込んでいるときに突然商品検索ページがフリーズし始めました。大量のデータを返す特定のカテゴリでのみハングします。
大きなメッセージが予想される場合は、localCache と transportProperties を有効にする必要があることをどこかで読みました。したがって、web.config の datacache 項目を以下のように変更しましたが、うまくいきませんでした。これらのカテゴリのページはまだハングしています。
誰かがフォローのどこが間違っているのか教えてください。
<dataCacheClient name="default" channelOpenTimeout="20000" maxConnectionsToServer="4" requestTimeout="30000"> <localCache isEnabled="true" sync="TimeoutBased" ttlValue="300" objectCount="10000"/> <clientNotification pollInterval="300" maxQueueLength="10000"/> <transportProperties connectionBufferSize="64000" maxBufferPoolSize="5242880" maxBufferSize="1242880" maxOutputDelay="2" channelInitializationTimeout="60000" receiveTimeout="600000"/> <hosts> <host name="<<AZURE CACHE URL>>" cachePort="22233" /> </hosts> <securityProperties mode="Message"> <messageSecurity authorizationInfo="<<KEY>>"> </messageSecurity> </securityProperties> </dataCacheClient> <dataCacheClient name="SslEndpoint" channelOpenTimeout="20000" maxConnectionsToServer="4" requestTimeout="30000"> <localCache isEnabled="true" sync="TimeoutBased" ttlValue="300" objectCount="10000"/> <clientNotification pollInterval="300" maxQueueLength="10000"/> <transportProperties connectionBufferSize="64000" maxBufferPoolSize="15242880" maxBufferSize="5242880" maxOutputDelay="2" channelInitializationTimeout="60000" receiveTimeout="600000"/> <hosts> <host name="<<AZURE CACHE URL>>" cachePort="22243" /> </hosts> <securityProperties mode="Message" sslEnabled="true"> <messageSecurity authorizationInfo="<<KEY>>"> </messageSecurity> </securityProperties> </dataCacheClient>
私の開発環境、 Azure SDK 1.8 (10 月 12 日)、SQL Server 2008 R2、ASP.Net MVC 3
アップデート
今日、CustomerErrors をオフにしてビルドを展開し、例外がスローされるかどうかを確認しました。これが得られたものです。
前もって感謝します
ND