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

Ask Your Question

Pu for each partition


I am looking for windows based .Net solution

I have a 3 partition async to backup topology cluster and would like to deploy 3 instances of one PU which basically processes the space objects by polling/notified. I want know how I can deploy/configure PU to work with 1 partition each some thing like embedded working java ...

Thanks Venkat

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

asked 2009-07-15 15:39:01 -0500

venkatg gravatar image

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

jaissefsfex gravatar image
edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

Have you looked at the processing unit example that comes with XAP.NET?

The data example shows how to create a .NET pu which will be collocated (embedded) with the space. Choosing the topology and number of instances is done at deploy time according to the supplied parameters either by the UI or Gs-cli in the same way you deploy a PU which is Java. You can have that example run with partition async to backup schema as is.

You want the processing unit to be collocated with the space or remote to the space? Collocated which means much faster performance.

I also recommend reading the following page:

In order to optimize your processing cycle by configuring properly your event listener containers (Polling/Notify), for example batch processing, concurrent processing and so on.


answered 2009-07-15 23:51:59 -0500

eitany gravatar image
edit flag offensive delete link more


Thanks for all the inputs.


venkatg gravatar image venkatg  ( 2009-07-16 09:36:12 -0500 )edit

I guess your polling containers accessing remote spaces. In this case what u need to do is to control the routing field. Have clients routing written objects using round robin values (0-partitionsCount) for the routing field value and the same thing to be done with the polling container template. You should have in fact multiple polling containers - one per partition , each with a specific template (0-partitionsCount) for the routing field value.

If the PU running colocated spaces , these simply need to be injected with the colocated proxy (default).

There should be an example for such as part of the .Net examples.


answered 2009-07-15 18:59:12 -0500

shay hassidim 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


Asked: 2009-07-15 15:39:01 -0500

Seen: 83 times

Last updated: Jul 15 '09