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

Ask Your Question
0

FIFO grouping space document

I have a situation where i need to group space documents on a certain property value i.e. Window Ids. We recieve space documents in our space from some other applications, we need to group all the space documents according to the window Ids. I can find the examples for FIFO, how can i do it for space docs. Moreover the code for creating space doc class is not in my reach. So is there a way for that.

Now i have 20000 window Ids, which may grow upto 50000 window Ids in the next 1 year. So is it a good approach to implement FIFO grouping in this case. as application would be creating 20000 queues .

asked 2014-09-08 08:58:32 -0500

Harvey gravatar image
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

Are you asking about how to co-locate space documents in the same partition based on an ID or how to process them in FIFO order from a polling container?

answered 2014-09-08 12:13:53 -0500

Patrick gravatar image
edit flag offensive delete link more

Comments

i ama asking how to group space documents based on some property, also is it a group practice to implement FIFO grouping when i have 50000 window ids and i need to group documents for each window id ?

Harvey gravatar imageHarvey ( 2014-09-09 01:51:09 -0500 )edit

To route SpaceDocuments that have the same windowID to the same space partition, you specify the os-core:routing property as described here: http://docs.gigaspaces.com/xap97/docu...

You only need to configure FIFO processing if your application requires it. Do you need to process your SpaceDocuments in FIFO order?

Patrick gravatar imagePatrick ( 2014-09-09 09:34:42 -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: 2014-09-08 08:58:32 -0500

Seen: 32 times

Last updated: Sep 08 '14