Welcome to the new Gigaspaces XAP forum. To recover your account, please follow these instructions.

Ask Your Question

PaaS Question

Hi All.

Can I improve the performance by using ALL_IN_CACHE instead of LRU in the mirror-space definition?

Actually I have something like this:

<os-core:space id="spaceCache" url="/./mirror-service" schema="mirror" external-data-source="hibernateDataSourceCache"/>

Is possible to do something like this (for improving performance): <os-core:space id="spaceCache" url="/./mirror-service" schema="mirror" external-data-source="hibernateDataSourceCache"> <os-core:properties> <props> <prop key="space-config.engine.cache_policy">1</prop> </props> </os-core:properties> </os-core:space>


{quote}This thread was imported from the previous forum. For your reference, the original is [available here|http://forum.openspaces.org/thread.jspa?threadID=2623]{quote}

asked 2008-09-26 10:07:18 -0500

nullcipher2 gravatar image

updated 2013-08-08 09:52:00 -0500

jaissefsfex gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

Since the Mirror is not a space it does not store data. It simply delegate the primary activities to the database.
This means the cache policy is irrelevant for the Mirror.

If you want to change the replication behavior of the primary spaces into the mirror you need to modify the following with the spaces pu.xml:


answered 2008-09-26 10:17:26 -0500

shay hassidim gravatar image
edit flag offensive delete link more



nullcipher2 gravatar image nullcipher2  ( 2008-09-26 11:14:49 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2008-09-26 10:07:18 -0500

Seen: 39 times

Last updated: Sep 26 '08