-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Added files with SIFS for DIST and REPL; * Use a small value in `memory` configuration.
- Loading branch information
Showing
3 changed files
with
48 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<distributed-cache owners="2" | ||
segments="256" | ||
mode="SYNC" | ||
statistics="true"> | ||
<encoding media-type="application/x-protostream"/> | ||
<expiration lifespan="500000"/> | ||
|
||
<!-- Max-count of 2000 to force entries to disk. --> | ||
<!-- The benchmark accepts a custom number of entries, by default is 4000. --> | ||
<memory max-count="1" when-full="REMOVE"/> | ||
<persistence passivation="false"> | ||
<file-store shared="false"> | ||
<data path="data"/> | ||
<index path="index"/> | ||
</file-store> | ||
</persistence> | ||
</distributed-cache> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<replicated-cache segments="256" | ||
mode="SYNC" | ||
statistics="true"> | ||
<encoding media-type="application/x-protostream"/> | ||
<expiration lifespan="500000"/> | ||
|
||
<!-- Max-count of 1 to force entries to disk. --> | ||
<memory max-count="1" when-full="REMOVE"/> | ||
<persistence passivation="true"> | ||
<file-store shared="false"> | ||
<data path="data"/> | ||
<index path="index"/> | ||
</file-store> | ||
</persistence> | ||
</replicated-cache> |