Summary: Supported and non-supported operations, limitations, and considerations when working with a clustered space.
Cluster-Aware OperationsIn general, the partitioned space provides the ability to perform space operations against different spaces transparently. The primary goal of the partitioned space is to provide unlimited In-Memory space storage size and group objects into the same space to speed up the performance of batch operations. The initial intention is to write data into the partitioned space, and direct the read or take operation, based on the template data. With in such configuration, the different spaces defined as partitions are not aware of each other (Share Nothing). The client proxy is one that is aware of the partitioned spaces configuration. The client proxy routes each operation to the relevant partition when it is executed on the client side. When performing space operations (write, read, or take) and using the default hash-based load-balancing policy, GigaSpaces directs the operation based on Routing field value hash code. When using the writeMultiple and updateMultiple space operations, the proxy running at the client side groups space objects that are targeted into the same space, and then write/update these in batches into the relevant space. When using a template that has a null value as part of the Routing Field with takeMultiple, or readMultiple) with a partitioned space, a parallel query is executed against all partitions, and the result set accumulated from all partitions by the proxy. The result set might be large, since the matching population target can span all space objects across all partitions. In such a case you might consider using the GSIterator. The table below shows whether the operation is routed to all partitions (cluster-aware), or can work only with a specific partition and isn't routed to the other members.
Considerations
Limitations
|
![]() |
GigaSpaces.com - Legal Notice - 3rd Party Licenses - Site Map - API Docs - Forum - Downloads - Blog - White Papers - Contact Tech Writing - Gen. by Atlassian Confluence |