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

Ask Your Question
0

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>

Thanks

{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
0

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:
cluster-config.mirror-service.bulk-size
cluster-config.mirror-service.interval-millis
cluster-config.mirror-service.interval-opers

Shay

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

shay hassidim gravatar image
edit flag offensive delete link more

Comments

Thanks

nullcipher2 gravatar imagenullcipher2 ( 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

Stats

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

Seen: 18 times

Last updated: Sep 26 '08