問題タブ [geode]
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.
configuration - Gemfire/Geode バックアップ
地域のバックアップに関する Gemfire のドキュメントで何かを突き止めようとしています。
http://gemfire.docs.pivotal.io/geode/reference/topics/cache_xml.html#region
SCOPE 属性まで下にスクロールします...
REGION-ATTRIBUTES で SCOPE 属性を使用する SCOPE="DISTRIBUTED-ACK" は REGION での SYNC バックアップ操作を意味し、SCOPE="DISTRIBUTED-NO-ACK" は ASYNC バックアップ操作を意味すると想定しています。
問題の REGION は PARTITIONED です。REPLICATED リージョンのデフォルトが DISTRIBUTED-ACK であることを理解しています。
この仮定は正しいでしょうか?たとえば、設定を介して、Gemfire では REGION エントリの更新用に SYNC または ASYNC バックアップ操作を設定できます。
java - GemFire キャッシュ クライアントはサーバー上にリージョンを作成できますか?
クライアント/サーバー トポロジのシナリオがあります。
1 つの Locator と 2 つのサーバーの単純なクラスターをローカルで実行し、異なる JVM プロセスを実行すると、次の構成で起動時にサーバーにリージョンが作成されません。
次に、次の構成でクライアントを実行しています。
Spring Boot アプリは問題なく起動しますが、次のログがおかしいことがわかります。
Pulse ですべてのクラスター メンバーを確認できますが、サーバーには "MYREGION" リージョンがありません。それで、キャッシュクライアントは実際にサーバー上にリージョンを作成できますか、それとも既存のリージョンのみを「使用」できますか?
Pivotal のドキュメントには「動的にリージョンを作成する」というセクションがありますが、パーティショニングが失われるため、まだその方法には行きません。
ありがとう
apache - how to use total-max-memory property
While creating a region in geode you can specify --total-max-memory which should limit the amount of memory used the the region entries. ref: https://geode.apache.org/docs/guide/tools_modules/gfsh/command-pages/create.html#topic_54B0985FEC5241CA9D26B0CE0A5EA863
I created a region of type PARTITION_OVERFLOW with total-max-memory set, I can see that this attribute is there in the the partition attributes for the region on server, but when the amount of data crossed the total-max-memory limit it did not start overflowing old entries to disk, after some time(memory usage is almost 10x greater than total-max-memory) the heap lru(which is based on total jvm head) kicks in and starts evicting entries.
Is there any additional setting which has to be done to trigger eviction when total-max-memory limit is reached for a region.