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

Ask Your Question
0

Common space

Does it possible to use common space for 2 another processing unit instance? Let's say I have Pu_one processing unit instance and Pu_two and I want to use one common space.

asked 2013-12-23 12:23:43 -0500

Kamil K gravatar image

updated 2013-12-23 12:38:04 -0500

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
1

That's very common.

Have another PU deployed (third one) to be used as a remote space by these 2 existing PUs.

Another option is to embed the space with one of the existing PU and have the other PU communicating with the space using remote space URL.

Shay

answered 2013-12-24 07:53:52 -0500

shay hassidim gravatar image
edit flag offensive delete link more
0

I found it. In fact it was very simple question.

I added space declaration for PU_one :

<os-core:space id="space" url="/./space" />

and /./space means we refer to local PU space and I add in PU_two (name of PU):

<os-core:space id="space" url="jini://*/*/space"/>

and jini://*/*/space refer to space of PU_one

answered 2013-12-24 09:41:28 -0500

Kamil K gravatar image
edit flag offensive delete link more

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: 2013-12-23 12:23:43 -0500

Seen: 83 times

Last updated: Dec 24 '13