問題タブ [oracle-coherence]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
caching - Java 分散キャッシング
Java のキャッシング ソリューションの配布を研究しています。5 ~ 10 個のノードでクラスター化されるアプリケーションを開発する必要があります。各ノードにはキャッシュの独自の部分があります。
コヒーレンス、ehcache、infinispan、hazelcast など、フォールト トレランスを備えた分散キャッシュ プロバイダーを調査しています。
データを含むノードでタスクを処理する必要があります。したがって、オブジェクトがローカル ノードにあることを API で検出できるはずです。
今hazelcastはこれを行います。ehcache は terracota サーバー アレイにバインドされており、必要なことを行う方法が見つかりません (L2->L1 コピーはカウントされません)? まだ infinispan を研究しています。まだ整合性が取れていません。あらゆる代替案に対して心を開いてください。
誰かが私のニーズに適した製品を指摘できますか? これらの詳細を調査するには、製品ごとにほぼ完全なドキュメントを読む必要があるため、非常に時間がかかります
c# - CoherenceとMoqを使用する場合のSystem.BadImageFormatException
moqユニットテストで次の行を使用すると、System.BadImageFormatExceptionが発生します。
例外:
フルユニットテスト:
It.IsAnyを使用せずに他の場所で非常によく似たコードを使用しているため、問題はIFilterのリストにあると確信しています。何か案は?
performance - Oracle Coherenceキャッシングとアプリケーション・サーバーのCPU使用率
パフォーマンスを向上させ、DB サーバーの負荷を軽減し、Web サービスの呼び出しを減らすために、アプリケーションに Coherence の実装を開始しました。
通常、高負荷時に CPU 使用率 ( weblogic App サーバーの JVM) が高くなりますが、DB サーバーは通常問題になりません。
応答時間の改善以外に、Oracle Coherence は高負荷時のアプリケーション サーバーの CPU とヒープの使用をどのように改善しますか。
1) XML をアンマーシャリングするのではなく、すぐに使用できる Java オブジェクトをキャッシュから取得するため、XML 処理を削減します。
2) キャッシュされたデータのテーブル行をオブジェクトにマッピングしないため、ORM マッピングのオーバーヘッドを削減します.... 3) 他には?
どうもありがとう
java - OracleCoherenceリードスルー構成
Coherencetangosol-coherence-override.xml構成の一部が機能しません。サーバーを起動し、データを配置して取得することはできますが、CacheLoaderを介してデータを取得することはできません。
ありがとう。
CacheLoaderのスタブ
tangosol-coherence-override.xml
サーバーを起動しています
データの読み取り
c# - 複数のクラスタ間で同じ名前のCoherenceキャッシュにアクセスする方法は?
複数のOracle Coherenceクラスタがあり、各クラスタには同じキャッシュ名を持つ同じキャッシュ・セットがあります。アプリケーション内の各クラスターから単一のキャッシュ (「Cache1」など) にアクセスするにはどうすればよいですか? たとえば、すべての環境で「Cache1」の数を確認して、ユーザーに表示したい場合があります。
クラスタはCoherence Extendを使用してセットアップされ、クラスタごとに個別のキャッシュ マッピングとリモート キャッシュ スキームを使用してクライアント側のキャッシュ構成をセットアップしました。ただし、各クラスターの cache-name 要素を「Cache1」に設定すると、xml にリストされている最初のクラスターからのみデータが取得されます。それを別のもの (例: "Cache1-Dev1") に設定すると、「キャッシュのスキームがありません: "Cache1-Dev1"」というメッセージとともに Tangosol.IO.Pof.PortableException が発生します。
integration - Spring.net と Oracle Coherence の統合
私はおそらくグーグルが苦手ですが、Spring.netをOracleのコヒーランス製品と統合できるかどうかについて言及しているリンクを見つけることができませんでした。
Spring.net に同じラッパー ライブラリがあるかどうかを知っている人はいますか?
前もって感謝します。
caching - Error configuring Coherence Cache on Oracle Weblogic server 10.3.4
I'm trying to configure Coherence 3.7 on Oracle Web Logic Server 10.3.4, but when I try to run application on server using eclipse, I get following error.
<9 May, 2012 4:28:23 PM IST> with ID '1336561103127' for task '14'. Error is: 'weblogic.application.ModuleException: No storage-enabled nodes exist >for service DistributedSessions' weblogic.application.ModuleException: No storage-enabled nodes exist for service DistributedSessions at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1497) at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:438) at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375) at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52) at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95) Truncated. see log file for complete stacktrace Caused By: com.tangosol.net.RequestPolicyException: No storage-enabled nodes exist for service DistributedSessions at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.o>nMissingStorage(PartitionedCache.CDB:32) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.s>endStorageRequest(PartitionedCache.CDB:11) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.a>ddIndex(PartitionedCache.CDB:11) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.add>Index(PartitionedCache.CDB:1) at com.tangosol.coherence.component.util.SafeNamedCache.addIndex(SafeNamedCache.CDB:1) Truncated. see log file for complete stacktrace
<9 May, 2012 4:28:23 PM IST> <9 May, 2012 4:28:23 PM IST> application '_auto_generated_ear_'.> <9 May, 2012 4:28:23 PM IST> nMissingStorage(PartitionedCache.CDB:32) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.s>endStorageRequest(PartitionedCache.CDB:11) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.a>ddIndex(PartitionedCache.CDB:11) at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.add>Index(PartitionedCache.CDB:1) at com.tangosol.coherence.component.util.SafeNamedCache.addIndex(SafeNamedCache.CDB:1) Truncated. see log file for complete stacktrace
I've checked with the cache start script and enabled local-storage true in it, but it still doesn't works. Can someone please provide me right steps to configure coherence cache on the Weblogic Server (in web console and in applcation), or suggest me possible reasons why am I getting this error.
java - コヒーレンスロック-ロック解除の使用法
このようなコヒーレンスロック-ロック解除メカニズムに関するテストサンプルがあります。
したがって、結果は次のようになります。
私が期待している結果は次のとおりです。
ただし、「テスト」という項目は1つしかなく、すべて使用していて、キャッシュインスタンスは1つしかありません。したがって、キャッシュの所有者はそのキャッシュインスタンスです。
なぜそれを閉じて最終的に戻ることができないfalse
のですか?
ありがとう
アリ
c# - .NET でのポータブル オブジェクト フォーマット (POF) のシリアル化
MyClass というクラスと、このタイプ (my-pof-config.xml) の pof 構成があります。MyType のインスタンスをシリアル化し、JMS 経由で送信する必要があります。
Coherence Java API には、ExternalizableHelper.toByteArray/fromByteArray があります。C#でPOF( Portable Object Format )シリアライズとデシリアライズを行うにはどうすればよいですか?
ありがとうございました。